guichet/templates/layout.html

97 lines
3.8 KiB
HTML
Raw Normal View History

2020-02-09 14:44:18 +00:00
<!doctype html>
<html>
2023-07-21 14:03:43 +00:00
2020-02-09 14:44:18 +00:00
<head>
<meta charset="utf-8">
2020-02-09 15:46:26 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
2023-07-21 13:40:14 +00:00
2023-07-21 14:03:43 +00:00
<link rel="stylesheet" type="text/css" href="/static/fonts/lack/stylesheet.css" />
2023-07-21 13:59:45 +00:00
<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" />
2023-07-21 13:55:52 +00:00
<link rel="stylesheet" type="text/css" href="/static/css/bootstrap.min.css">
2023-07-21 13:59:45 +00:00
<link rel="stylesheet" type="text/css" href="/static/css/lesgv/burger.css" />
<link rel="stylesheet" type="text/css" href="/static/css/lesgv-colors.css" />
<link rel="stylesheet" type="text/css" href="/static/css/lesgv.css" />
2023-07-23 16:55:48 +00:00
2020-02-09 15:46:26 +00:00
2023-07-25 15:41:16 +00:00
<title>GVoisins.org > {{template "title" .}}</title>
2020-02-09 14:44:18 +00:00
</head>
2023-07-21 14:03:43 +00:00
2020-02-09 14:44:18 +00:00
<body>
<div class="container mb-4">
2023-07-27 13:40:37 +00:00
<h1><a href="/">App.LesGrandsVoisins.Com > {{ template "title" .}}</a></h1>
2023-07-21 13:50:53 +00:00
<nav role="navigation">
<div id="menuToggle">
<!--
A fake / hidden checkbox is used as click reciever,
so you can use the :checked selector on it.
-->
2023-07-21 14:03:43 +00:00
<input type="checkbox" id="menu-checkbox" />
2023-07-21 13:50:53 +00:00
<!--
Some spans to act as a hamburger.
They are acting like a real hamburger,
not that McDonalds stuff.
-->
2023-07-21 14:03:43 +00:00
<div class="burger">
<span></span>
<span></span>
<span></span>
</div>
2023-07-21 13:50:53 +00:00
<!--
Too bad the menu has to be inside of the button
but hey, it's pure CSS magic.
-->
<ul id="menu">
2023-07-25 15:41:16 +00:00
<li><a href="https://www.lesgrandsvoisins.com">Les Grands Voisins (.com)</a>&nbsp;&gt;&nbsp;</li>
2023-07-24 08:36:34 +00:00
{{template "admenu" .}}
2023-07-25 15:41:16 +00:00
<li><a href="#">Les Outils</a><ul class="submenu">
2023-07-24 08:36:34 +00:00
<li><a href="https://www.lesgrandsvoisins.com/les-outils/">Les Outils</a></li>
<li><a href="https://www.avmeet.com">AVMeet.com</a></li>
2023-07-25 14:12:06 +00:00
<li><a href="https://www.gvoisin.com/SOGo">Mail, Cal., Contacts</a></li>
2023-07-24 08:36:34 +00:00
<li><a href="https://wiki.lesgrandsvoisins.com">Wiki</a></li>
2023-07-25 14:12:06 +00:00
<li><a href="https://www.lesgrandsvoisins.com/admin">Editer le site web</a></li>
<li><a href="https://www.lesgrandsvoisins.com/admin">Editer le blog</a></li>
2023-07-24 08:36:34 +00:00
</ul></li>
2023-07-25 19:35:22 +00:00
{{if .Common.CanAdmin}}
2023-07-25 13:53:57 +00:00
<li>&lt;&nbsp;<a href="#">Administration</a>
2023-07-24 09:01:09 +00:00
<ul class="submenu">
2023-07-26 06:31:25 +00:00
<!-- <li><a href="/admin/activate">Administrer LDAP</a> -->
<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> -->
2023-07-24 09:01:09 +00:00
</ul>
</li>
{{end}}
2023-07-24 08:47:30 +00:00
<li>&lt;&nbsp;<a href="#">Compte</a>
2023-07-21 14:03:43 +00:00
<ul class="submenu">
2023-07-25 19:35:22 +00:00
{{if .Common.LoggedIn}}
2023-07-26 06:31:25 +00:00
<li><a href="/session/logout">Se déconnecter</a></li>
2023-07-24 08:52:50 +00:00
<li><a href="/">Tableau de bord</a></li>
2023-07-26 06:31:25 +00:00
<li><a href="/user">Modifier mon profil</a></li>
2023-07-24 08:52:50 +00:00
<li><a href="/passwd">Modifier mon mot de passe</a></li>
{{else}}
2023-07-24 14:28:22 +00:00
<li><a href="/">Se connecter</a></li>
2023-07-26 06:31:25 +00:00
<li><a href="/passwd/lost">Mal de passe oublié</a></li>
<li><a href="/user/new">S'enregistrer</a></li>
2023-07-24 08:52:50 +00:00
{{end}}
</ul></li>
2023-07-23 16:43:19 +00:00
<li> &nbsp;&lt;&nbsp;<a href="#" class="jour-nuit" id="jour-nuit">Jour et nuit</a></li>
2023-07-21 13:50:53 +00:00
</ul>
2023-07-23 14:56:16 +00:00
2023-07-21 13:50:53 +00:00
</div>
</nav>
2023-07-21 14:03:43 +00:00
2020-02-09 15:46:26 +00:00
<hr />
2020-02-09 14:44:18 +00:00
{{template "body" .}}
</div>
2023-04-18 17:37:51 +00:00
<script src="/static/javascript/jquery.slim.min.js"></script>
<script src="/static/javascript/bootstrap.bundle.min.js"></script>
2023-07-17 10:15:13 +00:00
<script src="/static/javascript/lesgv.js"></script>
2023-07-21 14:55:47 +00:00
<script src="/static/javascript/burger.js"></script>
2023-07-21 13:54:17 +00:00
<script src="/static/javascript/journuit.js"></script>
2020-02-09 14:44:18 +00:00
</body>
2023-07-21 14:03:43 +00:00
</html>