2020-06-26 16:59:54 +02:00
|
|
|
doctype html
|
|
|
|
html
|
|
|
|
head
|
|
|
|
title= title
|
|
|
|
link(rel="stylesheet", href="/stylesheets/style.css")
|
|
|
|
body
|
|
|
|
block content
|
2020-08-17 16:54:43 +02:00
|
|
|
|
|
|
|
div#user
|
2020-08-18 16:34:10 +02:00
|
|
|
a(href="/")=__("layout.home")
|
2020-08-17 19:08:35 +02:00
|
|
|
if user
|
|
|
|
if user.permissions >= 1
|
|
|
|
p -
|
2020-08-18 17:10:45 +02:00
|
|
|
a(href="/sandwiches")=__("sandwiches")
|
2020-08-17 19:08:35 +02:00
|
|
|
if user.permissions >= 2
|
|
|
|
p -
|
2020-08-18 17:08:29 +02:00
|
|
|
a(href="/commands")=__("commands")
|
2020-08-17 19:08:35 +02:00
|
|
|
if user.permissions >= 3
|
|
|
|
p -
|
2020-08-18 16:34:10 +02:00
|
|
|
a(href="/admin")=__("layout.administration")
|
2020-08-17 18:03:25 +02:00
|
|
|
p |
|
2020-08-17 16:54:43 +02:00
|
|
|
if user
|
2020-08-17 17:58:55 +02:00
|
|
|
a(href="/profile")=user.username
|
2020-08-18 16:34:10 +02:00
|
|
|
a(href="/logout")=__("layout.logout")
|
2020-08-17 16:54:43 +02:00
|
|
|
else
|
2020-08-18 16:34:10 +02:00
|
|
|
a(href="/login")=__("layout.login")
|
|
|
|
a(href="/register")=__("layout.register")
|
2020-08-17 16:54:43 +02:00
|
|
|
|
|
|
|
div#more
|
2020-08-18 16:34:10 +02:00
|
|
|
a=__("layout.about")
|
|
|
|
a=__("layout.contact")
|
2020-08-17 16:54:43 +02:00
|
|
|
|
|
|
|
div#dark.hide
|
|
|
|
div#about.popup.card.hide
|
2020-08-18 16:34:10 +02:00
|
|
|
h1=__("layout.about")
|
|
|
|
p=__("layout.aboutDescription")
|
2020-08-17 16:54:43 +02:00
|
|
|
div.images
|
|
|
|
div
|
2020-08-17 19:19:13 +02:00
|
|
|
img(src="/images/logoBio.png")
|
2020-08-18 16:34:10 +02:00
|
|
|
p=__("layout.bio")
|
2020-08-17 16:54:43 +02:00
|
|
|
div
|
2020-08-17 19:19:13 +02:00
|
|
|
img(src="/images/logoChimie.png")
|
2020-08-18 16:34:10 +02:00
|
|
|
p=__("layout.chemistry")
|
2020-08-17 16:54:43 +02:00
|
|
|
div
|
2020-08-17 19:19:13 +02:00
|
|
|
img(src="/images/logoGC.png")
|
2020-08-18 16:34:10 +02:00
|
|
|
p=__("layout.GC")
|
2020-08-17 16:54:43 +02:00
|
|
|
div
|
2020-08-17 19:19:13 +02:00
|
|
|
img(src="/images/logoGCGP.png")
|
2020-08-18 16:34:10 +02:00
|
|
|
p=__("layout.GCPD")
|
2020-08-17 16:54:43 +02:00
|
|
|
div
|
2020-08-17 19:19:13 +02:00
|
|
|
img(src="/images/logoGEA.png")
|
2020-08-18 16:34:10 +02:00
|
|
|
p=__("layout.GEA")
|
2020-08-17 16:54:43 +02:00
|
|
|
div
|
2020-08-17 19:19:13 +02:00
|
|
|
img(src="/images/logoInfo.png")
|
2020-08-18 16:34:10 +02:00
|
|
|
p=__("layout.IT")
|
|
|
|
p.before-link=__("layout.made")
|
2020-08-17 16:54:43 +02:00
|
|
|
a(href="https://www.linkedin.com/in/florian-charlaix" target="_blank") Florian Charlaix
|
|
|
|
div#contact.popup.card.hide
|
2020-08-18 16:34:10 +02:00
|
|
|
h1=__("layout.contact")
|
|
|
|
p.before-link=__("layout.orderIssue")+":"
|
2020-08-17 16:54:43 +02:00
|
|
|
a(href="mailto: ") test@test.fr
|
2020-08-18 16:34:10 +02:00
|
|
|
p.before-link=__("layout.bio")+":"
|
2020-08-17 16:54:43 +02:00
|
|
|
a(href="mailto: ")
|
2020-08-18 16:34:10 +02:00
|
|
|
p.before-link=__("layout.chemistry")+":"
|
2020-08-17 16:54:43 +02:00
|
|
|
a(href="mailto: ")
|
2020-08-18 16:34:10 +02:00
|
|
|
p.before-link=__("layout.GC")+":"
|
2020-08-17 16:54:43 +02:00
|
|
|
a(href="mailto: ")
|
2020-08-18 16:34:10 +02:00
|
|
|
p.before-link=__("layout.GCPD")+":"
|
2020-08-17 16:54:43 +02:00
|
|
|
a(href="mailto: bde.gcgp.lyon1@gmail.com") bde.gcgp.lyon1@gmail.com
|
2020-08-18 16:34:10 +02:00
|
|
|
p.before-link=__("layout.GEA")+":"
|
2020-08-17 16:54:43 +02:00
|
|
|
a(href="mailto: ")
|
2020-08-18 16:34:10 +02:00
|
|
|
p.before-link=__("layout.IT")+":"
|
2020-08-17 16:54:43 +02:00
|
|
|
a(href="mailto: contact@bde-info.org") contact@bde-info.org
|
|
|
|
|
2020-08-17 19:19:13 +02:00
|
|
|
script(src="/javascripts/layout.js")
|