mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 16:54:03 -04:00
The default browser file upload control is difficult to style, but looks totally out of place. This commit replaces it with one that has a GOV.UK style button, as a first step. Based heavily on this example: http://tympanus.net/codrops/2015/09/15/styling-customizing-file-inputs-smart-way/
48 lines
1.1 KiB
HTML
48 lines
1.1 KiB
HTML
{% extends "withnav_template.html" %}
|
|
{% from "components/sms-message.html" import sms_message %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
{% from "components/textbox.html" import textbox %}
|
|
|
|
{% block page_title %}
|
|
GOV.UK Notify | Send text messages
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
<form method="POST" enctype="multipart/form-data">
|
|
|
|
<h1 class="heading-large">Send text messages</h1>
|
|
|
|
{{ banner(
|
|
'You can only send notifications to yourself',
|
|
subhead='Trial mode',
|
|
type='info'
|
|
) }}
|
|
|
|
{{ sms_message(
|
|
template.content, name='Preview'
|
|
) }}
|
|
|
|
{{ banner(
|
|
'You can only send messages to yourself until you <a href="{}">request to go live</a>'.format(
|
|
url_for('.service_request_to_go_live', service_id=service_id)
|
|
)|safe,
|
|
type='info'
|
|
) }}
|
|
|
|
<p>
|
|
{{textbox(form.file)}}
|
|
</p>
|
|
|
|
<p>
|
|
<a href="#">Download an example CSV</a> to test with.
|
|
</p>
|
|
|
|
{{ page_footer(
|
|
"Continue",
|
|
back_link=url_for(".choose_sms_template", service_id=service_id),
|
|
back_link_text="Back to templates"
|
|
) }}
|
|
|
|
</form>
|
|
{% endblock %}
|