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/app_dev.php/%7B%7B%20path%28%27fos_user_security_logout%27%29%20%7D%7D?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!