mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Merge pull request #3 from alphagov/ph-send-email
Added email sending shell pages, added routes from dashboard
This commit is contained in:
@@ -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')
|
||||||
|
|||||||
21
app/templates/check_email.html
Normal file
21
app/templates/check_email.html
Normal 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 %}
|
||||||
@@ -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 %}
|
||||||
|
|||||||
21
app/templates/send_email.html
Normal file
21
app/templates/send_email.html
Normal 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 %}
|
||||||
Reference in New Issue
Block a user