change(web): split procès-verbaux de page documentation #204
6 changed files with 41 additions and 4 deletions
7
cmd.go
7
cmd.go
|
@ -173,10 +173,9 @@ func init() {
|
|||
|
||||
serpents.StringToString(serverCmd.Flags(),
|
||||
"server.documents.buckets", "server-documents-buckets", map[string]string{
|
||||
"proces-verbaux": "Procès-verbaux",
|
||||
"politiques": "Politiques",
|
||||
"reglements": "Règlements",
|
||||
"formulaires": "Formulaires",
|
||||
"politiques": "Politiques",
|
||||
"reglements": "Règlements",
|
||||
"formulaires": "Formulaires",
|
||||
},
|
||||
"Buckets that are allowed to be accessed by the API")
|
||||
|
||||
|
|
|
@ -681,6 +681,12 @@ func HandleAdmin(c echo.Context) error {
|
|||
return c.Render(http.StatusOK, "admin-html", nil)
|
||||
}
|
||||
|
||||
func HandlePageProcesVerbaux() echo.HandlerFunc {
|
||||
return func(c echo.Context) error {
|
||||
return c.Render(http.StatusOK, "procesverbaux-html", nil)
|
||||
}
|
||||
}
|
||||
|
||||
func (h *WebHandler) HandleAdminDocumentsUpload(c echo.Context) error {
|
||||
var response HandleAdminDocumentsUploadResponse
|
||||
|
||||
|
|
10
public/css/proces-verbaux.css
Normal file
10
public/css/proces-verbaux.css
Normal file
|
@ -0,0 +1,10 @@
|
|||
.procesVerbauxP {
|
||||
font-family: "Poppins";
|
||||
font-weight: 400;
|
||||
/*regular*/
|
||||
font-size: 1rem;
|
||||
/*16px*/
|
||||
color: #000;
|
||||
/*Bleu AGECEM*/
|
||||
line-height: 150%;
|
||||
}
|
|
@ -167,6 +167,8 @@ func RunServer() {
|
|||
|
||||
e.GET("/documentation", webHandler.HandleDocumentation)
|
||||
|
||||
e.GET("/proces-verbaux", HandlePageProcesVerbaux())
|
||||
|
||||
e.GET("/formulaires", HandleFormulaires)
|
||||
|
||||
// Public Routes
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<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="/admin">admin</a></li>
|
||||
</ul>
|
||||
<img class="headerMenuHamburger" src="/public/icones/hamburger-menu.svg" onclick="onToggleNav()"></img>
|
||||
|
@ -12,6 +13,7 @@
|
|||
<ul class="headerMenuMobile">
|
||||
<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>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
18
templates/html/proces-verbaux.html
Normal file
18
templates/html/proces-verbaux.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
{{ 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>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
Loading…
Reference in a new issue