mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 02:42:26 -05:00
Added email and text message not received pages in registration flow
This commit is contained in:
@@ -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')
|
||||
|
||||
28
app/templates/email-not-received.html
Normal file
28
app/templates/email-not-received.html
Normal 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 %}
|
||||
29
app/templates/text-not-received-2.html
Normal file
29
app/templates/text-not-received-2.html
Normal 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 %}
|
||||
27
app/templates/text-not-received.html
Normal file
27
app/templates/text-not-received.html
Normal 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 %}
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user