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:
Chris Hill-Scott
2017-04-26 11:28:22 +01:00
parent d731de6edf
commit e9754e92df
2 changed files with 8 additions and 0 deletions

View File

@@ -30,6 +30,7 @@
<label for="{{id}}">{{label}}</label>
</div>
{{/choices}}
<input type='button' class='js-reset-button js-reset-button-block' value='Back' />
</div>
`),
'chosen': Hogan.compile(`

View File

@@ -33,6 +33,13 @@
}
.js-reset-button-block {
display: block;
width: 100%;
text-align: left;
padding: 20px 20px $gutter 57px;
}
.js-enabled & {
overflow: visible;