diff --git a/cmd.go b/cmd.go index f00a722..646ad7a 100644 --- a/cmd.go +++ b/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") diff --git a/handler.go b/handler.go index f04aad3..55edb4d 100644 --- a/handler.go +++ b/handler.go @@ -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 diff --git a/public/css/proces-verbaux.css b/public/css/proces-verbaux.css new file mode 100644 index 0000000..fa06472 --- /dev/null +++ b/public/css/proces-verbaux.css @@ -0,0 +1,10 @@ +.procesVerbauxP { + font-family: "Poppins"; + font-weight: 400; + /*regular*/ + font-size: 1rem; + /*16px*/ + color: #000; + /*Bleu AGECEM*/ + line-height: 150%; +} diff --git a/routes.go b/routes.go index af5d808..886dc37 100644 --- a/routes.go +++ b/routes.go @@ -167,6 +167,8 @@ func RunServer() { e.GET("/documentation", webHandler.HandleDocumentation) + e.GET("/proces-verbaux", HandlePageProcesVerbaux()) + e.GET("/formulaires", HandleFormulaires) // Public Routes diff --git a/templates/html/header.html b/templates/html/header.html index 7a86562..d3102cf 100644 --- a/templates/html/header.html +++ b/templates/html/header.html @@ -5,6 +5,7 @@ @@ -12,6 +13,7 @@ diff --git a/templates/html/proces-verbaux.html b/templates/html/proces-verbaux.html new file mode 100644 index 0000000..ca603a6 --- /dev/null +++ b/templates/html/proces-verbaux.html @@ -0,0 +1,18 @@ +{{ define "procesverbaux-html" }} + + + + + AGECEM | Procès-Verbaux + {{ template "general-html" }} + + + + {{ template "header-html" }} +
+

Procès-Verbaux

+

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

+
+ + +{{ end }}