mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 09:19:48 -04:00
Hard code some data in the Python
This commit adds some stubbed data for the pages. The structure of the data is just a proposal, but it gives the templates something to work with for now.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{% extends "admin_template.html" %}
|
||||
{% from "components/sms-message.html" import sms_message %}
|
||||
|
||||
{% block page_title %}
|
||||
GOV.UK Notify | Send text messages
|
||||
@@ -10,10 +11,10 @@ GOV.UK Notify | Send text messages
|
||||
<div class="column-two-thirds">
|
||||
<h1 class="heading-xlarge">Send text messages</h1>
|
||||
|
||||
<p>This page will be where we check the text messages we're about to send</p>
|
||||
{{ sms_message(message_template) }}
|
||||
|
||||
<p>
|
||||
<a class="button" href="dashboard" role="button">Send text messages</a>
|
||||
<a class="button" href="/check-sms" role="button">Send {{recipient_count}} text messages</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -12,13 +12,31 @@
|
||||
|
||||
<h1 class="heading-xlarge">Send text messages</h1>
|
||||
|
||||
{{ sms_message("
|
||||
Vehicle tax: Your vehicle tax for ((registration number)) expires on
|
||||
((date)). Tax your vehicle at www.gov.uk/vehicle-tax
|
||||
") }}
|
||||
<h2 class="heading-medium">1. Choose text message template</h2>
|
||||
{% for template in message_templates %}
|
||||
{{ template.name }}
|
||||
{{ sms_message(template.body) }}
|
||||
{% endfor %}
|
||||
|
||||
<h2 class="heading-medium">2. Add recipients</h2>
|
||||
|
||||
<p>
|
||||
Add recipients by uploading a CSV
|
||||
</p>
|
||||
<p>
|
||||
Format the cells as ‘text’ in your spreadsheet app – this stores the mobile
|
||||
numbers correctly
|
||||
</p>
|
||||
<p>
|
||||
You can also <a href="#">download an example</a>
|
||||
</p>
|
||||
<p>
|
||||
<input type="file" />
|
||||
</p>
|
||||
|
||||
|
||||
<p>
|
||||
<a class="button" href="check-sms" role="button">Continue</a>
|
||||
<a class="button" href="/check-sms" role="button">Continue</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user