mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-06 00:48:46 -04:00
Improvements to send SMS page
- make messages align horizontally - change wording of step 2 (from Lorena)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
display: inline;
|
||||
background: $light-blue;
|
||||
color: $white;
|
||||
white-space: nowrap;
|
||||
padding: 0 5px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
@@ -10,17 +10,22 @@
|
||||
white-space: nowrap;
|
||||
clear: both;
|
||||
|
||||
.block-label {
|
||||
float: none;
|
||||
clear: none;
|
||||
display: inline-block;
|
||||
margin-right: 10px;
|
||||
&-radio {
|
||||
padding-right: 10px;
|
||||
box-sizing: border-box;
|
||||
vertical-align: top;
|
||||
width: 33%;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.block-label {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sms-message {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
max-width: 66%;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -33,5 +33,6 @@
|
||||
@import "components/sms-message";
|
||||
@import "components/button";
|
||||
@import "components/table";
|
||||
|
||||
// TODO: break this up
|
||||
@import "app";
|
||||
|
||||
@@ -15,10 +15,12 @@
|
||||
<h2 class="heading-medium">1. Choose text message template</h2>
|
||||
{% for template in message_templates %}
|
||||
<div class="template-picker-option">
|
||||
<label class="block-label" for="template-{{loop.index}}">
|
||||
{{ template.name }}
|
||||
<input type="radio" name="template" id="template-{{loop.index}}" value="{{ template.name }}" />
|
||||
</label>
|
||||
<div class="template-picker-option-radio">
|
||||
<label class="block-label" for="template-{{loop.index}}">
|
||||
{{ template.name }}
|
||||
<input type="radio" name="template" id="template-{{loop.index}}" value="{{ template.name }}" />
|
||||
</label>
|
||||
</div>
|
||||
{{ sms_message(template.body) }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
@@ -30,14 +32,10 @@
|
||||
<h2 class="heading-medium">2. Add recipients</h2>
|
||||
|
||||
<p>
|
||||
Add recipients by uploading a CSV
|
||||
Upload a CSV file to add your recipients’ details.
|
||||
</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>
|
||||
You can also <a href="#">download an example CSV</a>.
|
||||
</p>
|
||||
<p>
|
||||
<input type="file" />
|
||||
|
||||
Reference in New Issue
Block a user