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

192 lines
7.8 KiB
Text
Raw Permalink Normal View History

2020-11-03 11:40:54 +01:00
extends ../template/navbar
block content
if student === true
2020-11-23 21:24:43 +01:00
div(class="marksdetails" id="notvisible" onclick="setNotVisible(this.getAttribute('id'))")
2020-11-03 11:40:54 +01:00
table
tr
th(colspan="2") Details
tr
2020-12-14 22:02:36 +01:00
td(id="dsName") DS 1
2020-11-03 11:40:54 +01:00
tr
2020-12-14 22:02:36 +01:00
td(id="dsMarks") Note : 16
2020-11-03 11:40:54 +01:00
tr
2020-12-14 22:02:36 +01:00
td(id="dsRang") Rang : 10/29
2020-11-03 11:40:54 +01:00
tr
2020-12-14 22:02:36 +01:00
td(id="dsCoeff") Coeff : 1.5
tr
td(id="dsMoy") Moyenne de classe : 12
2020-11-03 11:40:54 +01:00
div(class="row" id="marks")
div(class="col s12 m6 l4")
table
thead
tr
th(colspan="2") Maths
tbody
tr
2020-12-14 22:02:36 +01:00
td(class="marksCursorPointer" onclick="setVisible(this.getAttribute('id'))")
2020-11-03 11:40:54 +01:00
p DS 1
p 18/20
2020-12-14 22:02:36 +01:00
td(class="marksCursorPointer" onclick="setVisible(this.getAttribute('id'))")
2020-11-03 11:40:54 +01:00
p DS 2
p 16/20
tr
2020-12-14 22:02:36 +01:00
td(class="marksCursorPointer" onclick="setVisible(this.getAttribute('id'))")
2020-11-03 11:40:54 +01:00
p DS 1
p 18/20
2020-12-14 22:02:36 +01:00
td(class="marksCursorPointer" onclick="setVisible(this.getAttribute('id'))")
2020-11-03 11:40:54 +01:00
p DS 2
p 16/20
tr
2020-12-14 22:02:36 +01:00
td(class="marksCursorPointer" onclick="setVisible(this.getAttribute('id'))")
2020-11-03 11:40:54 +01:00
p DS 1
p 18/20
2020-12-14 22:02:36 +01:00
td(class="marksCursorPointer" onclick="setVisible(this.getAttribute('id'))")
2020-11-03 11:40:54 +01:00
p DS 2
p 16/20
div(class="col s12 m6 l4")
table
thead
tr
th(colspan="2") TP SE
tbody
tr
2020-12-14 22:02:36 +01:00
td(class="marksCursorPointer" onclick="setVisible(this.getAttribute('id'))")
2020-11-03 11:40:54 +01:00
p DS 1
p 18/20
2020-12-14 22:02:36 +01:00
td(class="marksCursorPointer" onclick="setVisible(this.getAttribute('id'))")
2020-11-03 11:40:54 +01:00
p DS 2
p 16/20
tr
2020-12-14 22:02:36 +01:00
td(class="marksCursorPointer" onclick="setVisible(this.getAttribute('id'))")
2020-11-03 11:40:54 +01:00
p DS 1
p 18/20
2020-12-14 22:02:36 +01:00
td(class="marksCursorPointer" onclick="setVisible(this.getAttribute('id'))")
2020-11-03 11:40:54 +01:00
p DS 2
p 16/20
div(class="col s12 m6 l4")
table
thead
tr
th(colspan="2") PHP
tbody
tr
2020-12-14 22:02:36 +01:00
td(class="marksCursorPointer" onclick="setVisible(this.getAttribute('id'))")
2020-11-03 11:40:54 +01:00
p DS 1
p 18/20
2020-12-14 22:02:36 +01:00
td(class="marksCursorPointer" onclick="setVisible(this.getAttribute('id'))")
2020-11-03 11:40:54 +01:00
p DS 2
p 16/20
tr
2020-12-14 22:02:36 +01:00
td(class="marksCursorPointer" onclick="setVisible(this.getAttribute('id'))")
2020-11-03 11:40:54 +01:00
p DS 1
p 18/20
2020-12-14 22:02:36 +01:00
td(class="marksCursorPointer" onclick="setVisible(this.getAttribute('id'))")
2020-11-03 11:40:54 +01:00
p DS 2
p 16/20
div(class="col s12 m6 l4")
table
thead
tr
th(colspan="2") Anglais
tbody
tr
2020-12-14 22:02:36 +01:00
td(class="marksCursorPointer" onclick="setVisible(this.getAttribute('id'))")
2020-11-03 11:40:54 +01:00
p DS 1
p 18/20
2020-12-14 22:02:36 +01:00
td(class="marksCursorPointer" onclick="setVisible(this.getAttribute('id'))")
2020-11-03 11:40:54 +01:00
p DS 2
p 16/20
tr
2020-12-14 22:02:36 +01:00
td(class="marksCursorPointer" onclick="setVisible(this.getAttribute('id'))")
2020-11-03 11:40:54 +01:00
p DS 1
p 18/20
2020-12-14 22:02:36 +01:00
td(class="marksCursorPointer" onclick="setVisible(this.getAttribute('id'))")
2020-11-03 11:40:54 +01:00
p DS 2
p 16/20
if teacher === true
div(class="row")
div(class="col s12 m10 offset-m1 marksgroup")
2020-11-21 14:02:01 +01:00
h3 Select a group
2020-11-03 11:40:54 +01:00
div(id="flexgroup")
2020-11-23 21:24:43 +01:00
p(onclick="marksformChange(this.getAttribute('id'))") G1S1
p(onclick="marksformChange(this.getAttribute('id'))") G2S2
p(onclick="marksformChange(this.getAttribute('id'))") G3S3
2020-11-03 11:40:54 +01:00
2020-11-23 21:24:43 +01:00
form(id="marksform")
2020-11-03 11:40:54 +01:00
table(id="markstable")
thead
tr
2020-11-21 14:02:01 +01:00
th Name
2020-11-03 11:40:54 +01:00
th
input(type="text" value="DS1")
th
2020-11-21 14:02:01 +01:00
input(type="text" placeholder="Add a test")
2020-11-03 11:40:54 +01:00
tbody
tr
td Test
td
input(type="number" value="16")
td
input(type="number")
tr
td Keze
td
input(type="number" value="16")
td
input(type="number")
tr
td Kezel
td
input(type="number" value="16")
td
input(type="number")
tr
td Kezel
td
input(type="number" value="16")
td
input(type="number")
tr
td Kezel
td
input(type="number" value="16")
td
input(type="number")
tr
td Kezel
td
input(type="number" value="16")
td
input(type="number")
tr
td Kezel
td
input(type="number" value="16")
td
input(type="number")
tr
td Kezel
td
input(type="number" value="16")
td
input(type="number")
tr
td Kezel
td
input(type="number" value="16")
td
input(type="number")
tr
td Kezel
td
input(type="number" value="16")
td
input(type="number")
input(id="marksubmit" type="submit" value="Enregistrer")
script(src="/javascripts/marks.js")