1
0
Fork 0

Adding viescol.pug

This commit is contained in:
KEZEL BENOIT p1907091 2020-11-21 10:24:38 +01:00
parent 9d4b85f72b
commit d09d4146d9
6 changed files with 40 additions and 6 deletions

View file

@ -284,6 +284,7 @@ h3 {
text-align: center; text-align: center;
background-color: #2a2a2a; background-color: #2a2a2a;
border: none; border: none;
border-right: 1px solid white;
font-size: 18px; } font-size: 18px; }
.marksdetails tr:last-child td { .marksdetails tr:last-child td {
border-bottom: 1px solid white; } border-bottom: 1px solid white; }

File diff suppressed because one or more lines are too long

View file

@ -303,6 +303,7 @@ h3
text-align: center; text-align: center;
background-color: $dark2; background-color: $dark2;
border: none; border: none;
border-right: 1px solid white;
font-size: 18px; font-size: 18px;
tr:last-child tr:last-child
td td
@ -387,4 +388,4 @@ div#visible + div
font-size: 22px; font-size: 22px;
padding: 15px; padding: 15px;
cursor: pointer; cursor: pointer;
margin-bottom: 50px; margin-bottom: 50px;

33
views/pages/viescol.pug Normal file
View file

@ -0,0 +1,33 @@
extends ../template/navbar
block content
div.row
if student === true
div.col.s12.m6#absences
div.abshead
p Absences
div.abscont
p Absent le 14/03 de 16h à 18h
div.abscont
p Absent le 15/03 de 16h à 18h
div.abscont
p Absent le 16/03 de 16h à 18h
div.col.s12.m6
button Gérer vos abonnements
if student === false
div.col.s12
button Ajouter une absence
div.row
div.col.s12.m6#events
div.eventhead
p Evenements
div.eventcont
p Repas raclette organisé par le BDE le 24/02 à 12H30 en S26
div.col.s12.m6#objtrouv
div.objtrouvhead
p Objets Trouvés
div.objtrouvcont
p Ordinateur HP trouvé retourné au secrétariat

View file

@ -7,12 +7,12 @@ html
link(rel="stylesheet", href="/stylesheets/style.css") link(rel="stylesheet", href="/stylesheets/style.css")
script(src="/socket.io/socket.io.js") script(src="/socket.io/socket.io.js")
body body
- var student = true - var student = false
- var teacher = false - var teacher = true
- var admin = false - var admin = false
div(class="row" id="page") div(class="row" id="page")
div(class="col s2" id="panel") div(class="col s2" id="panel")
block navbar block navbar
div(class="col s10" id="main") div(class="col s10" id="main")
block content block content
script(src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js") script(src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js")

View file

@ -50,4 +50,3 @@ block navbar
a Vie scolaire et étudiante a Vie scolaire et étudiante
li li
a Gestion des profils a Gestion des profils