From 09e0690d502e4a6b19b119380c4f0a4a91dc45a6 Mon Sep 17 00:00:00 2001 From: Alexel Date: Fri, 18 Aug 2023 16:22:56 -0400 Subject: [PATCH 1/2] =?UTF-8?q?Ajout=20d'une=20snackbar=20aux=20pages=20pu?= =?UTF-8?q?bliques=20Cr=C3=A9ation=20et=20impl=C3=A9mentation=20de=20fichi?= =?UTF-8?q?ers=20gohtml=20et=20css=20pour=20une=20snackbar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/documentation.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/css/documentation.css b/public/css/documentation.css index e459899..4a06a2b 100644 --- a/public/css/documentation.css +++ b/public/css/documentation.css @@ -19,7 +19,7 @@ .documentationListe { font-weight: 400; - /*semi-bold*/ + /*regular*/ font-size: 1rem; /*16px*/ background-color: #fff; @@ -29,7 +29,7 @@ .documentationDocument { font-weight: 400; - /*semi-bold*/ + /*regular*/ font-size: 1rem; /*16px*/ padding: 15px 30px; From 339feb2e52b0a4b6b2d209d2756b6a9688899c93 Mon Sep 17 00:00:00 2001 From: Alexel Date: Fri, 18 Aug 2023 17:44:15 -0400 Subject: [PATCH 2/2] formattage des options sur admin.gohtml --- public/css/admin.css | 17 +++++++++++++++++ templates/html/admin.gohtml | 11 +++++++---- 2 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 public/css/admin.css diff --git a/public/css/admin.css b/public/css/admin.css new file mode 100644 index 0000000..b29ec16 --- /dev/null +++ b/public/css/admin.css @@ -0,0 +1,17 @@ +.adminOptions { + display: flex; + flex-flow: row wrap; + justify-content: space-around; + +} + +.adminOption { + font-family: 'Poppins'; + font-size: 1rem; + font-weight: 500; + background-color: #FF563C; + padding: 10px; + color: #fff; + border: none; + cursor: pointer; +} \ No newline at end of file diff --git a/templates/html/admin.gohtml b/templates/html/admin.gohtml index edcf8c4..c596118 100644 --- a/templates/html/admin.gohtml +++ b/templates/html/admin.gohtml @@ -5,13 +5,16 @@ AGECEM {{ template "general-html" }} + {{ template "header-html" }} -

Admin

- +
+

Admin

+
+
+
{{ end }}