feature(web): ajouter footer
et public/images/*
#205
11 changed files with 20 additions and 3 deletions
BIN
public/images/header_agecem.png
Normal file
BIN
public/images/header_agecem.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
|
@ -10,7 +10,7 @@ package public
|
||||||
|
|
||||||
import "embed"
|
import "embed"
|
||||||
|
|
||||||
//go:embed css/*.css js/*.js fonts/* icones/*
|
//go:embed css/*.css js/*.js fonts/* icones/* images/*
|
||||||
var publicFS embed.FS
|
var publicFS embed.FS
|
||||||
|
|
||||||
func GetPublicFS() embed.FS {
|
func GetPublicFS() embed.FS {
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
</form>
|
</form>
|
||||||
<p class="confirmationMessage">{{ .Message }}</p>
|
<p class="confirmationMessage">{{ .Message }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
{{ template "footer-html" }}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
<button class="adminOption" onclick="location.href = '/admin/documents/upload'">Ajout de documents</a>
|
<button class="adminOption" onclick="location.href = '/admin/documents/upload'">Ajout de documents</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{{ template "footer-html" }}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -34,6 +34,7 @@ Documentation non-accessible pour l'instant, merci de votre patience
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- {{ template "snackbar-html" }} -->
|
<!-- {{ template "snackbar-html" }} -->
|
||||||
|
{{ template "footer-html" }}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
10
templates/html/footer.html
Normal file
10
templates/html/footer.html
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{{ define "footer-html" }}
|
||||||
|
<footer class="pageFooter">
|
||||||
|
<small>
|
||||||
|
<ul>
|
||||||
|
<li><a href="/public/images/header_agecem.png">en-tête de documents</a></li>
|
||||||
|
<li><a href="/admin">panneau d'administration</a></li>
|
||||||
|
</ul>
|
||||||
|
</small>
|
||||||
|
</footer>
|
||||||
|
{{ end }}
|
|
@ -9,6 +9,7 @@
|
||||||
<body>
|
<body>
|
||||||
{{ template "header-html" }}
|
{{ template "header-html" }}
|
||||||
<h1 class="heading1">Formulaires</h1>
|
<h1 class="heading1">Formulaires</h1>
|
||||||
|
{{ template "footer-html" }}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<li class="headerMenuElement"><a class="headerMenuElementLink" href="/vie-etudiante">Vie étudiante</a></li>
|
<li class="headerMenuElement"><a class="headerMenuElementLink" href="/vie-etudiante">Vie étudiante</a></li>
|
||||||
<li class="headerMenuElement"><a class="headerMenuElementLink" href="/documentation">Documentation</a></li>
|
<li class="headerMenuElement"><a class="headerMenuElementLink" href="/documentation">Documentation</a></li>
|
||||||
<li class="headerMenuElement"><a class="headerMenuElementLink" href="/proces-verbaux">Procès-Verbaux</a></li>
|
<li class="headerMenuElement"><a class="headerMenuElementLink" href="/proces-verbaux">Procès-Verbaux</a></li>
|
||||||
<li class="headerMenuElement"><a class="headerMenuElementLink" href="/admin">admin</a></li>
|
<!--<li class="headerMenuElement"><a class="headerMenuElementLink" href="/admin">admin</a></li>--!>
|
||||||
</ul>
|
</ul>
|
||||||
<img class="headerMenuHamburger" src="/public/icones/hamburger-menu.svg" onclick="onToggleNav()"></img>
|
<img class="headerMenuHamburger" src="/public/icones/hamburger-menu.svg" onclick="onToggleNav()"></img>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- {{ template "snackbar-html" }} -->
|
<!-- {{ template "snackbar-html" }} -->
|
||||||
|
{{ template "footer-html" }}
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
<h1 class="heading1">Procès-Verbaux</h1>
|
<h1 class="heading1">Procès-Verbaux</h1>
|
||||||
<p class="procesVerbauxP">Les procès-verbaux des différentes instances de l'AGECEM sont disponibles sur demande à la permanence au local B-31 ou par courriel à permanence@agecem.org</p>
|
<p class="procesVerbauxP">Les procès-verbaux des différentes instances de l'AGECEM sont disponibles sur demande à la permanence au local B-31 ou par courriel à permanence@agecem.org</p>
|
||||||
</div>
|
</div>
|
||||||
|
{{ template "footer-html" }}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -204,6 +204,7 @@
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- {{ template "snackbar-html" }} -->
|
<!-- {{ template "snackbar-html" }} -->
|
||||||
|
{{ template "footer-html" }}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue