.container#assessment
.row
#warning.modal
- .modal-content
- p Your answer to the current question was sent to the server.
- p To avoid future unpleasant surprises, please don't
- ul
- li resize the window, or
- li lose window focus.
+ .modal-content {{ warnMsg }}
.modal-footer
.center-align
- a.modal-action.modal-close.waves-effect.waves-light.btn-flat(href="#!") Got it!
+ a.modal-action.modal-close.waves-effect.waves-light.btn-flat(href="#!") Ok
.row
.col.s12.m10.offset-m1.l8.offset-l2.xl6.offset-xl3
h4= assessment.name
.card
.timer.center(v-if="stage==2") {{ countdown }}
.card
- statements(:assessment="assessment" :student="student" :stage="stage" :inputs="inputs" @gameover="endAssessment")
+ button.waves-effect.waves-light.btn(style="display:block;margin:0 auto" @click="sendAnswer") Send
+ statements(:questions="assessment.questions" :showAnswers="showAnswers" :index="index" :inputs="inputs" @gameover="endAssessment")
#stage3(v-show="stage==3")
.card
.finish Exam completed ☺ ...don't close the window!
block append javascripts
script.
let assessment = !{JSON.stringify(assessment)};
+ const monitoring = false;
+ script(src="/javascripts/components/statements.js")
script(src="/javascripts/assessment.js")