This commit is contained in:
Chris Mann 2023-07-21 16:03:43 +02:00
parent b0e6e26615
commit a05c236bbb

View file

@ -1,10 +1,11 @@
<!doctype html> <!doctype html>
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" type="text/css" href="/static/fonts/lack/stylesheet.css" /> <link rel="stylesheet" type="text/css" href="/static/fonts/lack/stylesheet.css" />
<link rel="stylesheet" type="text/css" href="/static/fonts/fengardoneue/font.css" /> <link rel="stylesheet" type="text/css" href="/static/fonts/fengardoneue/font.css" />
<link rel="stylesheet" type="text/css" href="/static/css/lesgv/faire-ma-page.css" /> <link rel="stylesheet" type="text/css" href="/static/css/lesgv/faire-ma-page.css" />
<link rel="stylesheet" type="text/css" href="/static/css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="/static/css/bootstrap.min.css">
@ -15,6 +16,7 @@
<title>{{template "title" .}} Guichet</title> <title>{{template "title" .}} Guichet</title>
</head> </head>
<body> <body>
<div class="container mb-4"> <div class="container mb-4">
<h1>Guichet Les Grands Voisins</h1> <h1>Guichet Les Grands Voisins</h1>
@ -24,52 +26,53 @@
A fake / hidden checkbox is used as click reciever, A fake / hidden checkbox is used as click reciever,
so you can use the :checked selector on it. so you can use the :checked selector on it.
--> -->
<input type="checkbox" id="menu-checkbox"/> <input type="checkbox" id="menu-checkbox" />
<!-- <!--
Some spans to act as a hamburger. Some spans to act as a hamburger.
They are acting like a real hamburger, They are acting like a real hamburger,
not that McDonalds stuff. not that McDonalds stuff.
--> -->
<div class="burger"> <div class="burger">
<span></span> <span></span>
<span></span> <span></span>
<span></span> <span></span>
</div> </div>
<!-- <!--
Too bad the menu has to be inside of the button Too bad the menu has to be inside of the button
but hey, it's pure CSS magic. but hey, it's pure CSS magic.
--> -->
<ul id="menu"> <ul id="menu">
<li><a href="/">Home</a> <li><a href="/">Home</a>
<ul class="submenu"> <ul class="submenu">
<li><a href="/profile">Modifier mon profil</a></li> <li><a href="/profile">Modifier mon profil</a></li>
<li><a href="/passwd">Modifier mon mot de passe</a></li> <li><a href="/passwd">Modifier mon mot de passe</a></li>
<li><a href="/SOGo">Accéder à mes courriels, mon agenda et à mes contacts</a></li> <li><a href="/SOGo">Accéder à mes courriels, mon agenda et à mes contacts</a></li>
<li><a href="https://www.lesgrandsvoisins.com/resdigita">Accéder au numérique des Grands Voisins .com</a></li> <li><a href="https://www.lesgrandsvoisins.com/resdigita">Accéder au numérique des Grands Voisins .com</a>
</li>
</ul>
</li>
{{if .Login and .Login.CanInvite}}
<li><a href="/invite/new_account">Créer un nouveau compte</a></li>
{{end}}
{{if .Login and .Login.CanAdmin}}
<li><a href="#">Administration</a></li>
<ul class="submenu">
<li><a href="/admin/activate">Activer des Utilisateur·ices</a></li>
<li><a href="/admin/users">Utilisateur·ices</a></li>
<li><a href="/admin/groups">Groupes</a></li>
<li><a href="/admin/mailing">Mailing lists</a></li>
<li><a href="/admin/ldap/{{.BaseDN}}">Explorateur LDAP</a></li>
</ul>
</li>
{{end}}
<li> &nbsp;&lt;&nbsp;<a href="#" class="jour-nuit" id="jour-nuit">Jour et nuit</a></li>
</ul> </ul>
</li>
{{if .Login.CanInvite}}
<li><a href="/invite/new_account">Créer un nouveau compte</a></li>
{{end}}
{{if .Login.CanAdmin}}
<li><a href="#">Administration</a></li>
<ul class="submenu">
<li><a href="/admin/activate">Activer des Utilisateur·ices</a></li>
<li><a href="/admin/users">Utilisateur·ices</a></li>
<li><a href="/admin/groups">Groupes</a></li>
<li><a href="/admin/mailing">Mailing lists</a></li>
<li><a href="/admin/ldap/{{.BaseDN}}">Explorateur LDAP</a></li>
</ul>
</li>
{{end}}
<li> &nbsp;&lt;&nbsp;<a href="#" class="jour-nuit" id="jour-nuit">Jour et nuit</a></li>
</ul>
</div> </div>
</nav> </nav>
<hr /> <hr />
{{template "body" .}} {{template "body" .}}
</div> </div>
@ -78,4 +81,5 @@
<script src="/static/javascript/lesgv.js"></script> <script src="/static/javascript/lesgv.js"></script>
<script src="/static/javascript/journuit.js"></script> <script src="/static/javascript/journuit.js"></script>
</body> </body>
</html>
</html>