Merge pull request 'Application de l'autoformat sur les templates html' (#213) from fix/autoformat into main

Reviewed-on: #213
This commit is contained in:
Victor Lacasse-Beaudoin 2024-09-16 16:14:04 -04:00
commit 8f96feb5e1
12 changed files with 399 additions and 381 deletions

View file

@ -1,12 +1,14 @@
{{ define "admin-upload-html" }}
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>AGECEM</title>
{{ template "general-html" }}
<link rel="stylesheet" href="/public/css/admin-upload.css">
</head>
<body>
{{ template "header-html" }}
<div class="wrapper adminUploadWrapper">
@ -15,12 +17,8 @@
<div class="formContent">
<div class="formDocUploadDiv">
<p class="formLabel">Document à téléverser</p>
<input class="formDocUpload"
type="file"
name="documents"
accept="application/pdf,.md,text/markdown;charset=UTF-8,text/plain"
multiple
/>
<input class="formDocUpload" type="file" name="documents"
accept="application/pdf,.md,text/markdown;charset=UTF-8,text/plain" multiple />
</div>
<div class="formSelectDiv">
<label class="formLabel" for="bucket">Type de document</label>
@ -37,5 +35,6 @@
</div>
{{ template "footer-html" }}
</body>
</html>
{{ end }}

View file

@ -1,12 +1,14 @@
{{ define "admin-html" }}
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>AGECEM</title>
{{ template "general-html" }}
<link rel="stylesheet" href="/public/css/admin.css">
</head>
<body>
{{ template "header-html" }}
<div class="wrapper adminWrapper">
@ -17,5 +19,6 @@
</div>
{{ template "footer-html" }}
</body>
</html>
{{ end }}

View file

@ -1,12 +1,14 @@
{{ define "documentation-html" }}
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>AGECEM | Documentation</title>
<link rel="stylesheet" href="/public/css/documentation.css">
{{ template "general-html" }}
</head>
<body>
{{ template "header-html" }}
<div class="wrapper documentationWrapper">
@ -22,7 +24,9 @@ Documentation non-accessible pour l'instant, merci de votre patience
<summary class="documentationDescription">{{ $bucket_display_name }}</summary>
<ul class="documentationListe">
{{ range .Documents }}
<a class ="documentationLien" href="/public/documentation/{{ $bucket_name }}/{{ . }}"><li class="documentationDocument">{{ . }}</li></a>
<a class="documentationLien" href="/public/documentation/{{ $bucket_name }}/{{ . }}">
<li class="documentationDocument">{{ . }}</li>
</a>
{{ end}}
</ul>
</details>
@ -36,5 +40,6 @@ Documentation non-accessible pour l'instant, merci de votre patience
<!-- {{ template "snackbar-html" }} -->
{{ template "footer-html" }}
</body>
</html>
{{ end }}

View file

@ -1,15 +1,18 @@
{{ define "formulaires-html" }}
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>AGECEM | Formulaires</title>
{{ template "general-html" }}
</head>
<body>
{{ template "header-html" }}
<h1 class="heading1">Formulaires</h1>
{{ template "footer-html" }}
</body>
</html>
{{ end }}

View file

@ -5,7 +5,8 @@
<ul class="headerMenu">
<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="/proces-verbaux">Procès-Verbaux</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>

View file

@ -1,19 +1,23 @@
{{ define "procesverbaux-html" }}
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>AGECEM | Procès-Verbaux</title>
{{ template "general-html" }}
<link rel="stylesheet" href="/public/css/proces-verbaux.css">
</head>
<body>
{{ template "header-html" }}
<div class="wrapper">
<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>
{{ template "footer-html" }}
</body>
</html>
{{ end }}

View file

@ -1,12 +1,14 @@
{{ define "vie-etudiante-html" }}
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>AGECEM | Vie étudiante</title>
{{ template "general-html" }}
<link rel="stylesheet" href="/public/css/vie-etudiante.css">
</head>
<body>
{{ template "header-html" }}
<div class="wrapper vieEtudianteWrapper">
@ -206,5 +208,6 @@
<!-- {{ template "snackbar-html" }} -->
{{ template "footer-html" }}
</body>
</html>
{{ end }}