Finished the remaining screens
I think it's good to ship
This commit is contained in:
parent
aaf91f33e2
commit
0b20017408
10 changed files with 146 additions and 39 deletions
|
|
@ -5,6 +5,11 @@
|
|||
|
||||
<div class="question" data-controller="picker"
|
||||
data-picker-qid-value="{{.q.ID}}" data-picker-answer-value="{{.q.RightChoice}}">
|
||||
|
||||
<div class="center-align">
|
||||
<h4>Question {{.qIdx}}</h4>
|
||||
</div>
|
||||
|
||||
<p>{{.q.Question}}</p>
|
||||
|
||||
{{range .q.Choices}}
|
||||
|
|
@ -19,12 +24,18 @@
|
|||
</label>
|
||||
{{end}}
|
||||
|
||||
<button disabled data-picker-target="submit" data-action="picker#submitAnswer">Submit</button>
|
||||
|
||||
<div data-picker-target="answerDetails" class="hidden">
|
||||
{{.q.Fact | markdown}}
|
||||
<div>
|
||||
<a href="{{.nextURL}}">Next</a>
|
||||
<div class="submit-and-answer">
|
||||
<div data-picker-target="submitButton" class="center-align">
|
||||
<button disabled data-picker-target="submit" data-action="picker#submitAnswer">Submit</button>
|
||||
</div>
|
||||
<div data-picker-target="answerDetails" class="hidden">
|
||||
<div class="center-align">
|
||||
<h5 data-picker-target="result"></h5>
|
||||
</div>
|
||||
{{.q.Fact | markdown}}
|
||||
<div class="center-align">
|
||||
<a href="{{.nextURL}}" class="button">Continue</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue