mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05: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.
43 lines
851 B
HTML
43 lines
851 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 | Set up service
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
<div class="grid-row">
|
||
<div class="column-two-thirds">
|
||
|
||
<h1 class="heading-xlarge">
|
||
{{ heading }}
|
||
</h1>
|
||
|
||
<p>
|
||
Users will see your service name:
|
||
</p>
|
||
|
||
<ul class="list-bullet bottom-gutter">
|
||
<li>
|
||
at the start of every text message, eg ‘Vehicle tax: we received your
|
||
payment, thank you’
|
||
</li>
|
||
<li>
|
||
as your email sender name
|
||
</li>
|
||
</ul>
|
||
|
||
<form autocomplete="off" method="post">
|
||
{{ textbox(form.name) }}
|
||
{{ page_footer(
|
||
'Continue'
|
||
) }}
|
||
</form>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
{% endblock %}
|