2020-06-08 10:56:38 +02:00
|
|
|
extends layout
|
|
|
|
|
2020-11-03 08:24:17 +01:00
|
|
|
block navbar
|
2020-12-12 18:38:03 +01:00
|
|
|
ul#slide-out.sidenav
|
2021-01-21 11:06:24 +01:00
|
|
|
if student
|
2020-12-12 18:38:03 +01:00
|
|
|
li
|
|
|
|
.user-view.student
|
|
|
|
p
|
2020-12-14 23:19:07 +01:00
|
|
|
span.white-text.name=session.user.firstName + " " + session.user.lastName
|
2020-12-12 18:38:03 +01:00
|
|
|
p
|
2020-12-14 23:39:44 +01:00
|
|
|
if session.user.Groups[session.user.Groups.length-1]
|
2021-01-20 17:14:33 +01:00
|
|
|
span.white-text.name=session.user.Groups[session.user.Groups.length-1].displayName
|
2020-12-12 18:38:03 +01:00
|
|
|
p
|
2020-12-14 23:19:07 +01:00
|
|
|
span.white-text.email=session.user.email
|
2021-01-21 11:06:24 +01:00
|
|
|
a#logout
|
|
|
|
span.white-text Logout
|
2020-11-03 08:24:17 +01:00
|
|
|
|
2020-12-12 18:38:03 +01:00
|
|
|
li
|
|
|
|
a(href="/" class="waves-effect") Home
|
|
|
|
li
|
|
|
|
a(href="/edt" class="waves-effect") Planning
|
|
|
|
li(class="active")
|
|
|
|
a(href="/marks" class="waves-effect") Marks
|
|
|
|
li
|
|
|
|
a(href="https://mail.univ-lyon1.fr/owa/" class="waves-effect") Mail
|
|
|
|
li
|
|
|
|
a(href="https://clarolineconnect.univ-lyon1.fr/" class="waves-effect") Claroline
|
|
|
|
li
|
|
|
|
a(href="/viescol" class="waves-effect") School and student life
|
|
|
|
|
2021-01-21 11:06:24 +01:00
|
|
|
else if teacher
|
2020-12-12 18:38:03 +01:00
|
|
|
li
|
|
|
|
.user-view.teacher
|
|
|
|
p(href='#name')
|
2020-12-14 23:19:07 +01:00
|
|
|
span.white-text.name=session.user.firstName + " " + session.user.lastName
|
2020-12-12 18:38:03 +01:00
|
|
|
p(href='#email')
|
2020-12-14 23:19:07 +01:00
|
|
|
span.white-text.email=session.user.email
|
2021-01-21 11:06:24 +01:00
|
|
|
a#logout
|
|
|
|
span.white-text Logout
|
2020-12-12 18:38:03 +01:00
|
|
|
li
|
|
|
|
a(href="/" class="waves-effect") Home
|
|
|
|
li
|
|
|
|
a(href="/edt" class="waves-effect") Planning
|
|
|
|
li(class="active")
|
|
|
|
a(href="/marks" class="waves-effect") Marks
|
|
|
|
li
|
|
|
|
a(href="https://mail.univ-lyon1.fr/owa/" class="waves-effect") Mail
|
|
|
|
li
|
|
|
|
a(href="https://clarolineconnect.univ-lyon1.fr/" class="waves-effect") Claroline
|
|
|
|
li
|
|
|
|
a(href="/viescol" class="waves-effect") School and student life
|
|
|
|
|
2021-01-21 11:06:24 +01:00
|
|
|
else if admin
|
2020-12-12 18:38:03 +01:00
|
|
|
li
|
|
|
|
.user-view.admin
|
|
|
|
p(href='#name')
|
2020-12-14 23:19:07 +01:00
|
|
|
span.white-text.name=session.user.firstName + " " + session.user.lastName
|
2020-12-12 18:38:03 +01:00
|
|
|
p(href='#email')
|
2020-12-14 23:19:07 +01:00
|
|
|
span.white-text.email=session.user.email
|
2021-01-21 11:06:24 +01:00
|
|
|
a#logout
|
|
|
|
span.white-text Logout
|
2020-12-12 18:38:03 +01:00
|
|
|
li
|
|
|
|
a(href="/" class="waves-effect") Home
|
|
|
|
li(class="active")
|
|
|
|
a(href="/marks" class="waves-effect") Marks
|
|
|
|
li
|
|
|
|
a(href="/viescol" class="waves-effect") School and student life
|
|
|
|
li
|
|
|
|
a(href="/viescol" class="waves-effect") Profil Edition
|
|
|
|
|
|
|
|
a.sidenav-trigger(href='#' data-target='slide-out')#hamburger
|
|
|
|
i.material-icons.medium menu
|