feature(web): ajouter footer et public/images/* #205

Merged
vlbeaudoin merged 1 commit from vlbeaudoin/feature/footer into main 2024-08-27 13:17:39 -04:00 AGit
11 changed files with 20 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -10,7 +10,7 @@ package public
import "embed"
//go:embed css/*.css js/*.js fonts/* icones/*
//go:embed css/*.css js/*.js fonts/* icones/* images/*
var publicFS embed.FS
func GetPublicFS() embed.FS {

View file

@ -35,6 +35,7 @@
</form>
<p class="confirmationMessage">{{ .Message }}</p>
</div>
{{ template "footer-html" }}
</body>
</html>
{{ end }}

View file

@ -15,6 +15,7 @@
<button class="adminOption" onclick="location.href = '/admin/documents/upload'">Ajout de documents</a>
</div>
</div>
{{ template "footer-html" }}
</body>
</html>
{{ end }}

View file

@ -34,6 +34,7 @@ Documentation non-accessible pour l'instant, merci de votre patience
</p>
</div>
<!-- {{ template "snackbar-html" }} -->
{{ template "footer-html" }}
</body>
</html>
{{ end }}

View 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 }}

View file

@ -9,6 +9,7 @@
<body>
{{ template "header-html" }}
<h1 class="heading1">Formulaires</h1>
{{ template "footer-html" }}
</body>
</html>
{{ end }}

View file

@ -6,7 +6,7 @@
<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="/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>
<img class="headerMenuHamburger" src="/public/icones/hamburger-menu.svg" onclick="onToggleNav()"></img>
</div>

View file

@ -40,7 +40,8 @@
</div>
</div>
<!-- {{ template "snackbar-html" }} -->
{{ template "footer-html" }}
</body>
</html>
{{ end }}
{{ end }}

View file

@ -13,6 +13,7 @@
<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>
</div>
{{ template "footer-html" }}
</body>
</html>
{{ end }}

View file

@ -204,6 +204,7 @@
</table>
</div>
<!-- {{ template "snackbar-html" }} -->
{{ template "footer-html" }}
</body>
</html>
{{ end }}