mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-16 03:10:16 -04:00
Banners should always be the first thing on the page. Because headers already have padding we don’t want to put padding on the container. So banners should also have top padding to distance then from the red bar. They should also sit in the 3/4 column if the page has side navigation. This commit adds a new template (`withoutnav_template.html`) which extends `admin_template.html`. All views then extend one or the other, never the `admin_template.html` directly. This means that `admin_template.html` doesn’t have to make decisions about where the flash messages are displayed.
28 lines
926 B
HTML
28 lines
926 B
HTML
{% extends "withoutnav_template.html" %}
|
|
{% from "components/textbox.html" import textbox %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
|
|
{% block page_title %}
|
|
GOV.UK Notify | Confirm email address and mobile number
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
<div class="grid-row">
|
|
<div class="column-two-thirds">
|
|
<h1 class="heading-xlarge">Activate your account</h1>
|
|
|
|
<p>We've sent you confirmation codes by email and text message. You need to enter both codes here.</p>
|
|
|
|
<form autocomplete="off" method="post">
|
|
{{ textbox(form.email_code) }}
|
|
<span class="font-xsmall"><a href="{{ url_for('.check_and_resend_email_code')}}">I haven't received an email</a></span>
|
|
{{ textbox(form.sms_code) }}
|
|
<span class="font-xsmall"><a href="{{ url_for('.check_and_resend_text_code') }}">I haven't received a text</a></span>
|
|
{{ page_footer("Continue") }}
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|