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"
|
||||
|
||||
//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 {
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
</form>
|
||||
<p class="confirmationMessage">{{ .Message }}</p>
|
||||
</div>
|
||||
{{ template "footer-html" }}
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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 }}
|
||||
|
|
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>
|
||||
{{ template "header-html" }}
|
||||
<h1 class="heading1">Formulaires</h1>
|
||||
{{ template "footer-html" }}
|
||||
</body>
|
||||
</html>
|
||||
{{ 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="/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>
|
||||
|
|
|
@ -40,7 +40,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<!-- {{ template "snackbar-html" }} -->
|
||||
{{ template "footer-html" }}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -204,6 +204,7 @@
|
|||
</table>
|
||||
</div>
|
||||
<!-- {{ template "snackbar-html" }} -->
|
||||
{{ template "footer-html" }}
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue