X-Git-Url: https://git.auder.net/?p=qomet.git;a=blobdiff_plain;f=views%2Fcourse.pug;h=cfe56a4b204da2fd788593bbae429c9a3c1e9d49;hp=9d84018924db601a0812b6f7e12ca757fcb32b13;hb=cb39647ade2e424bcdf015228a7c1a09a92b5212;hpb=d4dba3350be408419e2a7823f1b0211121dae75d diff --git a/views/course.pug b/views/course.pug index 9d84018..cfe56a4 100644 --- a/views/course.pug +++ b/views/course.pug @@ -7,9 +7,9 @@ block append stylesheets block content .container#course if teacher - #newevaluation.modal + #newEvaluation.modal .modal-content - form(@submit.prevent="addevaluation") + form(@submit.prevent="addEvaluation") .input-field input#evaluationName(type="text" v-model="newEvaluation.name" required) label(for="evaluationName") Name @@ -38,11 +38,11 @@ block content td {{ student.group }} .row .col.s12.m10.offset-m1 - h4.title(@click="toggleDisplay('evaluations')") evaluations + h4.title(@click="toggleDisplay('evaluations')") Evaluations .card(v-show="display=='evaluations'") if teacher .center-align - a.on-left.waves-effect.waves-light.btn.modal-trigger(href="#newevaluation") New evaluation + a.on-left.waves-effect.waves-light.btn.modal-trigger(href="#newEvaluation") New evaluation input#password(type="password" v-model="monitorPwd" @keyup.enter="setPassword" placeholder="Password" title="Monitoring password") table @@ -53,7 +53,7 @@ block content th #Questions tbody tr.evaluation(v-for="(evaluation,i) in evaluationArray" :class="{idle:!evaluation.active}" - @click.left="actionevaluation(i)" @contextmenu.prevent="deleteevaluation(evaluation)") + @click.left="actionEvaluation(i)" @contextmenu.prevent="deleteEvaluation(evaluation)") td {{ evaluation.name }} td {{ evaluation.mode }} td {{ evaluation.questions.length }}