Added email and text message not received pages in registration flow

This commit is contained in:
Chris Heathcote
2015-11-30 16:08:44 +00:00
parent d8151c5ac7
commit 96648ed58b
6 changed files with 97 additions and 3 deletions

View File

@@ -66,3 +66,13 @@ def sendsms():
@main.route("/check-sms")
def checksms():
return render_template('check_sms.html')
@main.route("/email-not-received")
def emailnotreceived():
return render_template('email-not-received.html')
@main.route("/text-not-received")
def textnotreceived():
return render_template('text-not-received.html')

View File

@@ -0,0 +1,28 @@
{% extends "admin_template.html" %}
{% block page_title %}
GOV.UK Notify
{% endblock %}
{% block content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Check your email address</h1>
<p>Check your email address is correct and resend a confirmation code.</p>
<p>
<label class="form-label" for="email">Email address</label>
<input class="form-control-2-3" id="email" type="text" value="wrongemail@wrong.com"><br>
<span class="font-xsmall">Your email address must end in .gov.uk</span>
</p>
<p>
<a class="button" href="verify" role="button">Resend confirmation code</a>
</p>
</div>
</div>
{% endblock %}

View File

@@ -0,0 +1,29 @@
{% extends "admin_template.html" %}
{% block page_title %}
GOV.UK Notify
{% endblock %}
{% block content %}
<!-- this page is just a hack for building out pages - same functionality as text-not-received, but for the register from an invite flow -->
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Check your mobile number</h1>
<p>Check your mobile phone number is correct and resend a confirmation code.</p>
<p>
<label class="form-label" for="mobile">Mobile phone number</label>
<input class="form-control-1-4" id="mobile" type="text" value="08983336666">
</p>
<p>
<a class="button" href="verify-mobile" role="button">Resend confirmation code</a>
</p>
</div>
</div>
{% endblock %}

View File

@@ -0,0 +1,27 @@
{% extends "admin_template.html" %}
{% block page_title %}
GOV.UK Notify
{% endblock %}
{% block content %}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Check your mobile number</h1>
<p>Check your mobile phone number is correct and resend a confirmation code.</p>
<p>
<label class="form-label" for="mobile">Mobile phone number</label>
<input class="form-control-1-4" id="mobile" type="text" value="08983336666">
</p>
<p>
<a class="button" href="verify" role="button">Resend confirmation code</a>
</p>
</div>
</div>
{% endblock %}

View File

@@ -17,7 +17,7 @@ Hello world!
<label class="form-label" for="email">Text message confirmation code<br>
<span class="font-xsmall">Enter the code we sent you by text</span></label>
<input class="form-control-1-4" id="email" type="text"><br>
<span class="font-xsmall"><a href="">I haven't received a text</a></span>
<span class="font-xsmall"><a href="text-not-received-2">I haven't received a text</a></span>
</p>
<p>

View File

@@ -17,13 +17,13 @@ Hello world!
<label class="form-label" for="emailverify">Email confirmation code<br>
<span class="font-xsmall">Enter the code we sent you by email</span></label>
<input class="form-control-1-4" id="emailverify" type="text"><br>
<span class="font-xsmall"><a href="">I haven't received an email</a></span>
<span class="font-xsmall"><a href="email-not-received">I haven't received an email</a></span>
</p>
<p>
<label class="form-label" for="email">Text message confirmation code<br>
<span class="font-xsmall">Enter the code we sent you by text</span></label>
<input class="form-control-1-4" id="email" type="text"><br>
<span class="font-xsmall"><a href="">I haven't received a text</a></span>
<span class="font-xsmall"><a href="text-not-received">I haven't received a text</a></span>
</p>
<p>