1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
letu/views/pages/marks.pug

57 lines
1.8 KiB
Text
Raw Normal View History

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
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")
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")