2020-06-08 10:56:38 +02:00
|
|
|
extends layout
|
|
|
|
|
2020-11-03 08:24:17 +01:00
|
|
|
block navbar
|
2020-12-14 23:00:47 +01:00
|
|
|
if session.user.permissions === 1
|
2020-11-23 21:28:17 +01:00
|
|
|
div(id="navprofile" class="student" onclick="profilRedirect()")
|
2020-12-14 23:00:47 +01:00
|
|
|
p=session.user.firstName + " " + session.user.lastName
|
|
|
|
if session.user.Groups[session.user.Groups.length-1].number.startsWith("G")
|
|
|
|
p=session.user.Groups[session.user.Groups.length-1].number + session.user.Groups[session.user.Groups.length-1].Semester.name
|
|
|
|
else
|
|
|
|
p=session.user.Groups[session.user.Groups.length-1].Semester.name + " " + session.user.Groups[session.user.Groups.length-1].number
|
2020-11-03 12:54:40 +01:00
|
|
|
a(id="logout") Logout
|
2020-12-14 23:00:47 +01:00
|
|
|
if session.user.permissions === 2
|
2020-11-23 21:28:17 +01:00
|
|
|
div(id="navprofile" class="teacher" onclick="profilRedirect()")
|
2020-12-14 23:00:47 +01:00
|
|
|
p=session.user.firstName + " " + session.user.lastName
|
2020-11-03 12:54:40 +01:00
|
|
|
a(id="logout") Logout
|
2020-12-14 23:00:47 +01:00
|
|
|
if session.user.permissions === 3
|
2020-11-23 21:28:17 +01:00
|
|
|
div(id="navprofile" class="admin" onclick="profilRedirect()")
|
2020-12-14 23:00:47 +01:00
|
|
|
p=session.user.firstName + " " + session.user.lastName
|
2020-11-03 12:54:40 +01:00
|
|
|
a(id="logout") Logout
|
2020-11-03 08:24:17 +01:00
|
|
|
|
|
|
|
div(id="navtop")
|
|
|
|
ul
|
2020-11-02 13:28:49 +01:00
|
|
|
if student === true
|
2020-11-03 08:24:17 +01:00
|
|
|
li(class="active")
|
2020-11-03 11:40:54 +01:00
|
|
|
a(href="/") Home
|
|
|
|
li
|
|
|
|
a(href="/edt") Planning
|
2020-11-03 08:24:17 +01:00
|
|
|
li
|
2020-11-03 11:40:54 +01:00
|
|
|
a(href="/marks") Marks
|
2020-11-03 08:24:17 +01:00
|
|
|
li
|
|
|
|
a(href="https://mail.univ-lyon1.fr/owa/") Mail
|
|
|
|
li
|
|
|
|
a(href="https://clarolineconnect.univ-lyon1.fr/") Claroline
|
|
|
|
li
|
2020-11-21 14:02:01 +01:00
|
|
|
a(href="/viescol") School and student life
|
2020-11-02 13:28:49 +01:00
|
|
|
if teacher === true
|
2020-11-03 08:24:17 +01:00
|
|
|
li(class="active")
|
2020-11-03 11:40:54 +01:00
|
|
|
a(href="/") Home
|
|
|
|
li
|
|
|
|
a(href="/edt") Planning
|
2020-11-03 08:24:17 +01:00
|
|
|
li
|
2020-11-03 11:40:54 +01:00
|
|
|
a(href="/marks") Marks
|
2020-11-03 08:24:17 +01:00
|
|
|
li
|
|
|
|
a(href="https://mail.univ-lyon1.fr/owa/") Mail
|
|
|
|
li
|
2020-11-21 14:02:01 +01:00
|
|
|
a(href="https://clarolineconnect.univ-lyon1.fr/") Claroline Connect
|
|
|
|
li
|
|
|
|
a(href="/viescol") School and student life
|
2020-11-02 13:28:49 +01:00
|
|
|
if admin === true
|
2020-11-03 08:24:17 +01:00
|
|
|
li(class="active")
|
|
|
|
a Accueil
|
|
|
|
li
|
|
|
|
a Notes
|
|
|
|
li
|
|
|
|
a Vie scolaire et étudiante
|
|
|
|
li
|
|
|
|
a Gestion des profils
|