From: Benjamin Auder Date: Thu, 8 Feb 2018 18:11:03 +0000 (+0100) Subject: cosmetics: hide send button during exam review X-Git-Url: https://git.auder.net/doc/html/pieces/current/R.css?a=commitdiff_plain;h=1131a8e77245bf3e088d945db785c1e22dc5f998;p=qomet.git cosmetics: hide send button during exam review --- diff --git a/views/assessment.pug b/views/assessment.pug index 5c573d7..e45e282 100644 --- a/views/assessment.pug +++ b/views/assessment.pug @@ -47,10 +47,10 @@ block content .card(v-show="stage==2") .timer.center {{ countdown }} .card - button.sendAnswer.waves-effect.waves-light.btn(@click="sendAnswer") Send + button.sendAnswer.waves-effect.waves-light.btn(v-show="stage==2" @click="sendAnswer") Send statements(:questions="assessment.questions" :answers="answers") if assessment.display == "all" - button.sendAnswer.waves-effect.waves-light.btn(@click="sendAnswer") Send + button.sendAnswer.waves-effect.waves-light.btn(v-show="stage==2" @click="sendAnswer") Send #stage3(v-show="stage==3") .card .finish Exam completed ☺ ...don't close the window!