Merge pull request #3 from alphagov/ph-send-email

Added email sending shell pages, added routes from dashboard
This commit is contained in:
Chris Heathcote
2015-11-30 15:00:39 +00:00
4 changed files with 58 additions and 3 deletions

View File

@@ -66,3 +66,13 @@ def sendsms():
@main.route("/check-sms") @main.route("/check-sms")
def checksms(): def checksms():
return render_template('check_sms.html') return render_template('check_sms.html')
@main.route("/send-email")
def sendemail():
return render_template('send_email.html')
@main.route("/check-email")
def checkemail():
return render_template('check_email.html')

View File

@@ -0,0 +1,21 @@
{% extends "admin_template.html" %}
{% block page_title %}
GOV.UK Notify | Send email
{% endblock %}
{% block content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Send email</h1>
<p>This page will be where we check the email messages we're about to send</p>
<p>
<a class="button" href="dashboard" role="button">Send email messages</a>
</p>
</div>
</div>
{% endblock %}

View File

@@ -1,7 +1,7 @@
{% extends "admin_template.html" %} {% extends "admin_template.html" %}
{% block page_title %} {% block page_title %}
Hello world! GOV.UK Notify | Dashboard
{% endblock %} {% endblock %}
{% block content %} {% block content %}
@@ -10,8 +10,11 @@ Hello world!
<div class="column-two-thirds"> <div class="column-two-thirds">
<h1 class="heading-xlarge">Dashboard</h1> <h1 class="heading-xlarge">Dashboard</h1>
<p>Insert dashboard here.</p> <ul>
<li><a href="send-sms">Send text messages</a></li>
<li><a href="send-email">Send email messages</a></li>
</ul>
</div> </div>
</div> </div>
{% endblock %} {% endblock %}

View File

@@ -0,0 +1,21 @@
{% extends "admin_template.html" %}
{% block page_title %}
GOV.UK Notify | Send email
{% endblock %}
{% block content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Send email</h1>
<p>This page will be where we construct email messages</p>
<p>
<a class="button" href="check-email" role="button">Continue</a>
</p>
</div>
</div>
{% endblock %}