2020-11-03 11:40:54 +01:00
|
|
|
extends ../template/navbar
|
|
|
|
|
|
|
|
block content
|
2021-01-17 11:48:14 +01:00
|
|
|
if student
|
|
|
|
div.row
|
|
|
|
div#marksdetails.invisible.col.s12.m8.l6.offset-m2.offset-l3
|
2020-11-03 11:40:54 +01:00
|
|
|
table
|
2021-01-17 11:48:14 +01:00
|
|
|
tr
|
|
|
|
th(colspan="2") Details
|
|
|
|
tr
|
|
|
|
td(colspan="2")#dsName
|
|
|
|
tr
|
|
|
|
td Node :
|
|
|
|
td#dsMarks
|
|
|
|
tr
|
|
|
|
td Commentaire :
|
|
|
|
td#dsComment
|
2020-11-03 11:40:54 +01:00
|
|
|
|
|
|
|
|
2021-01-17 11:48:14 +01:00
|
|
|
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
|
2020-11-03 11:40:54 +01:00
|
|
|
|
|
|
|
|
2021-01-17 11:48:14 +01:00
|
|
|
div#marksdetailsbackground.invisible
|
2021-01-20 17:14:33 +01:00
|
|
|
script(src="/javascripts/marks-student.js")
|
|
|
|
|
|
|
|
else
|
2021-01-20 22:04:59 +01:00
|
|
|
form.row#formteachermarks
|
|
|
|
h1 Select a group and an evaluation
|
|
|
|
div.input-field.col.s12.m6
|
|
|
|
label(for="group") Group:
|
|
|
|
select#group(name="group")
|
|
|
|
option(selected disabled)
|
|
|
|
for group in session.user.Groups
|
|
|
|
option(value=group.id)=group.displayName
|
|
|
|
|
|
|
|
div.input-field.col.s12.m6
|
|
|
|
label(for="evaluation") Evaluation :
|
|
|
|
select#evaluation(name="evaluation")
|
|
|
|
option(selected disabled)
|
2020-11-03 11:40:54 +01:00
|
|
|
|
2021-01-17 11:48:14 +01:00
|
|
|
form#marksform
|
|
|
|
table#markstable
|
2020-11-03 11:40:54 +01:00
|
|
|
thead
|
|
|
|
tr
|
2021-01-20 17:14:33 +01:00
|
|
|
th Student
|
|
|
|
th.evaluationName
|
2020-11-03 11:40:54 +01:00
|
|
|
tbody
|
2021-01-20 17:14:33 +01:00
|
|
|
tr#studentTemplate(style="display: none")
|
|
|
|
td.studentName
|
2020-11-03 11:40:54 +01:00
|
|
|
td
|
2021-01-20 17:14:33 +01:00
|
|
|
input.gradeScore(type="number")
|
|
|
|
input#marksubmit(type="submit" value="Save")
|
|
|
|
script(src="/javascripts/marks-teacher.js")
|