Files
notifications-admin/app/templates/views/send-test.html
T

51 lines
1.6 KiB
HTML
Raw Normal View History

{% extends "withnav_template.html" %}
2019-04-29 11:44:05 +01:00
{% from "components/page-header.html" import page_header %}
{% from "components/page-footer.html" import page_footer %}
2018-07-18 09:48:19 +01:00
{% from "components/message-count-label.html" import recipient_count_label %}
{% from "components/textbox.html" import textbox %}
2018-09-19 12:39:36 +01:00
{% from "components/form.html" import form_wrapper %}
2017-02-13 10:45:15 +00:00
{% block service_page_title %}
{{ page_title }}
{% endblock %}
{% block maincolumn_content %}
2019-04-29 11:44:05 +01:00
{{ page_header(
page_title,
back_link=back_link
) }}
{% call form_wrapper(
class='js-stick-at-top-when-scrolling send-one-off-form' if template.template_type != 'sms' else 'send-one-off-form',
2019-03-28 16:45:36 +00:00
module="autofocus",
2019-04-03 14:23:07 +01:00
data_kwargs={'force-focus': True}
) %}
2017-05-25 13:31:51 +01:00
<div class="grid-row">
<div class="column-two-thirds {% if form.placeholder_value.label.text == 'phone number' %}extra-tracking{% endif %}">
2017-05-25 13:31:51 +01:00
{{ textbox(
form.placeholder_value,
hint='Optional' if optional_placeholder else None,
width='1-1',
) }}
</div>
{% if skip_link %}
<div class="column-one-third">
<a href="{{ skip_link[1] }}" class="top-gutter-4-3">{{ skip_link[0] }}</a>
</div>
{% endif %}
</div>
2018-07-18 09:48:19 +01:00
{% if link_to_upload %}
<p>
<a href="{{ url_for('.send_messages', service_id=current_service.id, template_id=template.id) }}">
Upload a list of {{ recipient_count_label(999, template.template_type) }}
</a>
</p>
{% endif %}
2019-04-29 11:44:05 +01:00
{{ page_footer('Continue') }}
2018-09-19 12:39:36 +01:00
{% endcall %}
{{ template|string }}
{% endblock %}