X-Git-Url: https://git.auder.net/?a=blobdiff_plain;ds=sidebyside;f=views%2Fcourse.pug;h=9de3570d6423c5e37f51d85f1b7bb13c0f73fd19;hb=8a2b3260841fc5c2e0d24758bf94628ac52300d3;hp=7aa661947350019167747cd6e228f1760cecb932;hpb=b3540dbb5c169db3c7cf49a04e253ab3a6940916;p=qomet.git diff --git a/views/course.pug b/views/course.pug index 7aa6619..9de3570 100644 --- a/views/course.pug +++ b/views/course.pug @@ -90,12 +90,12 @@ block content tr.grade(v-for="student in studentList(group)") td {{ student.number }} td(v-for="(assessment,i) in assessmentArray" @click="togglePresence(student.number,i)") - {{ grade(i,student.number) }} + | {{ grade(i,student.number) }} .modal-footer .center-align a.modal-action.modal-close.waves-effect.waves-light.btn-flat(href="#!") Close .row(v-show="mode=='view'") - .col.s12.m10.offset-m1.l8.offset-l2.xl6.offset-xl3 + .col.s12.m10.offset-m1 if teacher h4.title(@click="toggleDisplay('students')") Students .card(v-show="display=='students'") @@ -128,7 +128,7 @@ block content th #Questions th Time tbody - tr.assessment(v-for="(assessment,i) in assessmentArray" v-if="assessment.active" + tr.assessment(v-for="(assessment,i) in assessmentArray" :class="{idle:!assessment.active}" @click.left="actionAssessment(i)" @contextmenu.prevent="deleteAssessment(assessment)") td {{ assessment.name }} td {{ assessment.mode }} @@ -162,7 +162,7 @@ block content td(colspan="4") Stats: range= stdev= mean= if teacher .row(v-show="mode=='edit'") - .col.s12.m10.offset-m1.l8.offset-l2.xl6.offset-xl3 + .col.s12.m10.offset-m1 h4 {{ assessment.name }} .card .center-align