extends ../template/navbar
block content
if student
div.row
div#marksdetails.invisible.col.s12.m8.l6.offset-m2.offset-l3
table
tr
th(colspan="2") Details
td(colspan="2")#dsName
td Node :
td#dsMarks
td Commentaire :
td#dsComment
div#marksrow
div#evaluationTemplate.invisible(class="col s12 m6 l4")
p.evaluationName
div.grades.flex-container-marks
div#gradeTemplate.marksCursorPointer.invisible
p.gradeName
p.gradeMark
p.gradeComment
div#marksdetailsbackground.invisible
script(src="/javascripts/marks-student.js")
else
form
label(for="group") Group:
select#group(name="group")
option(selected disabled)
for group in session.user.Groups
option(value=group.id)=group.displayName
label(for="evaluation")
select#evaluation(name="evaluation")
form#marksform
table#markstable
thead
th Student
th.evaluationName
tbody
tr#studentTemplate(style="display: none")
td.studentName
td
input.gradeScore(type="number")
input#marksubmit(type="submit" value="Save")
script(src="/javascripts/marks-teacher.js")