X-Git-Url: https://git.auder.net/?p=qomet.git;a=blobdiff_plain;f=views%2Fmonitor.pug;h=00bf476f2ba9d95f07748a228ee862efa9ab818f;hp=7b257ec05a68233e7792f9d0f5d669d03734e1c7;hb=25cb8d539e4f68586f2e5fa95e20f6de3c031b6f;hpb=db5571d67f6b6b3b841fa1eeaf2099cecf2bcffc diff --git a/views/monitor.pug b/views/monitor.pug index 7b257ec..00bf476 100644 --- a/views/monitor.pug +++ b/views/monitor.pug @@ -15,7 +15,7 @@ block content input#password(type="password" v-model="password" @keyup.enter="startMonitoring()") button.waves-effect.waves-light.btn(@click="startMonitoring()") Send #stage1(v-show="stage==1") - button.waves-effect.waves-light.btn(@click="endMonitoring()") Send feedback + button.waves-effect.waves-light.btn(@click="endMonitoring()" :disabled="!allFinished()") Send feedback h4.title(@click="toggleDisplay('answers')") Anwers // TODO: aussi afficher stats, permettre tri par colonnes .card(v-show="display=='answers'") @@ -31,7 +31,7 @@ block content th(v-for="(q,i) in assessment.questions") Q.{{ (i+1) }} tbody tr.assessment(v-for="s in studentList(group)") - td(:class="{blur:!!s.blur,resize:!!s.resize,disconnect:!!s.disco}") {{ s.name }} + td(:class="{blur:!!s.blur,resize:!!s.resize,disconnect:!!s.disco}" @click="togglePresence(s)") {{ s.name }} td(v-for="(q,i) in assessment.questions" :style="{backgroundColor: getColor(s.number,i)}" @click="seeDetails(s.number,i)")   h4.title(@click="toggleDisplay('assessment')") Assessment div(v-show="display=='assessment'")