From 9556c4c22477a4f7d4834b29ef6a7d87b69578c9 Mon Sep 17 00:00:00 2001 From: Pete Herlihy Date: Mon, 30 Nov 2015 14:46:40 +0000 Subject: [PATCH 1/4] Added shell page for sending email --- app/templates/send_email.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app/templates/send_email.html diff --git a/app/templates/send_email.html b/app/templates/send_email.html new file mode 100644 index 000000000..9161af232 --- /dev/null +++ b/app/templates/send_email.html @@ -0,0 +1,21 @@ +{% extends "admin_template.html" %} + +{% block page_title %} +GOV.UK Notify | Send email +{% endblock %} + +{% block content %} + +
+
+

Send email

+ +

This page will be where we construct email messages

+ +

+ Continue +

+
+
+ +{% endblock %} From e394f6eac22aa4b8a38558a98d549f96c50082fe Mon Sep 17 00:00:00 2001 From: Pete Herlihy Date: Mon, 30 Nov 2015 14:47:41 +0000 Subject: [PATCH 2/4] Create shell page for checking email messages before sending --- app/templates/check_email.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app/templates/check_email.html diff --git a/app/templates/check_email.html b/app/templates/check_email.html new file mode 100644 index 000000000..6f6bd51af --- /dev/null +++ b/app/templates/check_email.html @@ -0,0 +1,21 @@ +{% extends "admin_template.html" %} + +{% block page_title %} +GOV.UK Notify | Send email +{% endblock %} + +{% block content %} + +
+
+

Send email

+ +

This page will be where we check the email messages we're about to send

+ +

+ Send email messages +

+
+
+ +{% endblock %} From a33398a46a655c09518af124ac2160794c77b444 Mon Sep 17 00:00:00 2001 From: Pete Herlihy Date: Mon, 30 Nov 2015 14:49:11 +0000 Subject: [PATCH 3/4] Added email sending views to the index --- app/main/views/index.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/main/views/index.py b/app/main/views/index.py index a40d3a0cf..fb7d299c9 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -66,3 +66,13 @@ def sendsms(): @main.route("/check-sms") def checksms(): 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') From 996853d8fd9fa6c1a0ef7f41315923c15fe86152 Mon Sep 17 00:00:00 2001 From: Pete Herlihy Date: Mon, 30 Nov 2015 14:53:25 +0000 Subject: [PATCH 4/4] Added links to the send pages for email and sms --- app/templates/dashboard.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/templates/dashboard.html b/app/templates/dashboard.html index fe6c6908e..d566dbb39 100644 --- a/app/templates/dashboard.html +++ b/app/templates/dashboard.html @@ -1,7 +1,7 @@ {% extends "admin_template.html" %} {% block page_title %} -Hello world! +GOV.UK Notify | Dashboard {% endblock %} {% block content %} @@ -10,8 +10,11 @@ Hello world!

Dashboard

-

Insert dashboard here.

+
-{% endblock %} \ No newline at end of file +{% endblock %}