mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 08:16:51 -04:00
Remove 3/4 width column on settings pages
The mesaure on these pages was too short, making them awkward to read. Also varies the size of text boxes to make them appropriate to the expected size of content that they will contain.
This commit is contained in:
@@ -10,26 +10,22 @@
|
||||
|
||||
<h1 class="heading-large">Change your service name</h1>
|
||||
|
||||
<div class="grid-row">
|
||||
<div class="column-three-quarters">
|
||||
|
||||
<div class="form-group">
|
||||
<p>Users will see your service name:</p>
|
||||
<ul class="list-bullet">
|
||||
<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>
|
||||
</div>
|
||||
|
||||
<form method="post">
|
||||
{{ textbox(form.name) }}
|
||||
{{ page_footer(
|
||||
'Save',
|
||||
back_link=url_for('.service_settings', service_id=current_service.id),
|
||||
back_link_text='Back to settings'
|
||||
) }}
|
||||
</form>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<p>Users will see your service name:</p>
|
||||
<ul class="list-bullet">
|
||||
<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>
|
||||
</div>
|
||||
|
||||
<form method="post">
|
||||
{{ textbox(form.name) }}
|
||||
{{ page_footer(
|
||||
'Save',
|
||||
back_link=url_for('.service_settings', service_id=current_service.id),
|
||||
back_link_text='Back to settings'
|
||||
) }}
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@@ -8,39 +8,35 @@
|
||||
|
||||
{% block maincolumn_content %}
|
||||
|
||||
<div class="grid-row">
|
||||
<div class="column-three-quarters">
|
||||
<h1 class="heading-large">
|
||||
Email reply to address
|
||||
</h1>
|
||||
<p>
|
||||
Your emails will be sent from
|
||||
{{ current_service.email_from }}@notifications.service.gov.uk.
|
||||
This is so they have the best chance of being delivered.
|
||||
This email address can’t receive replies.
|
||||
</p>
|
||||
<p>
|
||||
Set up a separate email address to receive replies from
|
||||
your users, then enter it here.
|
||||
</p>
|
||||
{% if current_service.restricted %}
|
||||
<p>
|
||||
Your service can’t go live until you’ve done this.
|
||||
</p>
|
||||
{% endif %}
|
||||
<form method="post">
|
||||
{{ textbox(
|
||||
form.email_address,
|
||||
width='1-1',
|
||||
safe_error_message=True
|
||||
) }}
|
||||
{{ page_footer(
|
||||
'Save',
|
||||
back_link=url_for('.service_settings', service_id=current_service.id),
|
||||
back_link_text='Back to settings'
|
||||
) }}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<h1 class="heading-large">
|
||||
Email reply to address
|
||||
</h1>
|
||||
<p>
|
||||
Your emails will be sent from
|
||||
{{ current_service.email_from }}@notifications.service.gov.uk.
|
||||
This is so they have the best chance of being delivered.
|
||||
This email address can’t receive replies.
|
||||
</p>
|
||||
<p>
|
||||
Set up a separate email address to receive replies from
|
||||
your users, then enter it here.
|
||||
</p>
|
||||
{% if current_service.restricted %}
|
||||
<p>
|
||||
Your service can’t go live until you’ve done this.
|
||||
</p>
|
||||
{% endif %}
|
||||
<form method="post">
|
||||
{{ textbox(
|
||||
form.email_address,
|
||||
width='2-3',
|
||||
safe_error_message=True
|
||||
) }}
|
||||
{{ page_footer(
|
||||
'Save',
|
||||
back_link=url_for('.service_settings', service_id=current_service.id),
|
||||
back_link_text='Back to settings'
|
||||
) }}
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@@ -8,37 +8,33 @@
|
||||
|
||||
{% block maincolumn_content %}
|
||||
|
||||
<div class="grid-row">
|
||||
<div class="column-three-quarters">
|
||||
<h1 class="heading-large">Text message sender</h1>
|
||||
<p>
|
||||
This appears instead of a phone number when a user receives a
|
||||
text message from your service.
|
||||
<p>
|
||||
If you leave this blank:
|
||||
</p>
|
||||
<ul class="list list-bullet">
|
||||
<li>
|
||||
your messages will be sent from 40604 (a shortcode that’s
|
||||
reserved for government use)
|
||||
</li>
|
||||
<li>
|
||||
each message will begin with ‘{{ current_service.name }}:’
|
||||
</li>
|
||||
</ul>
|
||||
<form method="post">
|
||||
{{ textbox(
|
||||
form.sms_sender,
|
||||
width='1-1',
|
||||
hint='Up to 11 characters, letters, numbers and spaces only'
|
||||
) }}
|
||||
{{ page_footer(
|
||||
'Save',
|
||||
back_link=url_for('.service_settings', service_id=current_service.id),
|
||||
back_link_text='Back to settings'
|
||||
) }}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<h1 class="heading-large">Text message sender</h1>
|
||||
<p>
|
||||
This appears instead of a phone number when a user receives a
|
||||
text message from your service.
|
||||
<p>
|
||||
If you leave this blank:
|
||||
</p>
|
||||
<ul class="list list-bullet">
|
||||
<li>
|
||||
your messages will be sent from 40604 (a shortcode that’s
|
||||
reserved for government use)
|
||||
</li>
|
||||
<li>
|
||||
each message will begin with ‘{{ current_service.name }}:’
|
||||
</li>
|
||||
</ul>
|
||||
<form method="post">
|
||||
{{ textbox(
|
||||
form.sms_sender,
|
||||
width='1-4',
|
||||
hint='Up to 11 characters, letters, numbers and spaces only'
|
||||
) }}
|
||||
{{ page_footer(
|
||||
'Save',
|
||||
back_link=url_for('.service_settings', service_id=current_service.id),
|
||||
back_link_text='Back to settings'
|
||||
) }}
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user