mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-17 04:59:37 -04:00
Add a back button to the scheduler
We’ve seen in research a user getting stuck playing with the scheduler. They picked a day, but then didn’t want to choose one of the options for that day. There’s no way to do this except pick a day and then un-pick it. What they ended up doing was clicking the grey back button, which took them back to the previous page, making them upload their file again. This commit adds a ‘back’ link for the scheduler. ‘Back’ seems like sensible naming because that’s the thing that the user tried to click, and the UI of a link matches the thing they clicked to get into this situation.
This commit is contained in:
@@ -30,6 +30,7 @@
|
|||||||
<label for="{{id}}">{{label}}</label>
|
<label for="{{id}}">{{label}}</label>
|
||||||
</div>
|
</div>
|
||||||
{{/choices}}
|
{{/choices}}
|
||||||
|
<input type='button' class='js-reset-button js-reset-button-block' value='Back' />
|
||||||
</div>
|
</div>
|
||||||
`),
|
`),
|
||||||
'chosen': Hogan.compile(`
|
'chosen': Hogan.compile(`
|
||||||
|
|||||||
@@ -33,6 +33,13 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.js-reset-button-block {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
text-align: left;
|
||||||
|
padding: 20px 20px $gutter 57px;
|
||||||
|
}
|
||||||
|
|
||||||
.js-enabled & {
|
.js-enabled & {
|
||||||
|
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
|
|||||||
Reference in New Issue
Block a user