Compare commits

...

2 commits

Author SHA1 Message Date
339feb2e52 formattage des options sur admin.gohtml 2023-08-18 17:44:15 -04:00
09e0690d50 Ajout d'une snackbar aux pages publiques
Création et implémentation de fichiers gohtml et css pour une snackbar
2023-08-18 16:22:56 -04:00
3 changed files with 26 additions and 6 deletions

17
public/css/admin.css Normal file
View file

@ -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;
}

View file

@ -19,7 +19,7 @@
.documentationListe { .documentationListe {
font-weight: 400; font-weight: 400;
/*semi-bold*/ /*regular*/
font-size: 1rem; font-size: 1rem;
/*16px*/ /*16px*/
background-color: #fff; background-color: #fff;
@ -29,7 +29,7 @@
.documentationDocument { .documentationDocument {
font-weight: 400; font-weight: 400;
/*semi-bold*/ /*regular*/
font-size: 1rem; font-size: 1rem;
/*16px*/ /*16px*/
padding: 15px 30px; padding: 15px 30px;

View file

@ -5,13 +5,16 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>AGECEM</title> <title>AGECEM</title>
{{ template "general-html" }} {{ template "general-html" }}
<link rel="stylesheet" href="/public/css/admin.css">
</head> </head>
<body> <body>
{{ template "header-html" }} {{ template "header-html" }}
<h1 class="heading1">Admin</h1> <div class="wrapper adminWrapper">
<ul> <h1 class="heading1">Admin</h1>
<li><a href="/admin/documents/upload">Ajout de document</a></li> <div class="adminOptions">
</ul> <button class="adminOption" onclick="location.href = '/admin/documents/upload'">Ajout de document</a>
</div>
</div>
</body> </body>
</html> </html>
{{ end }} {{ end }}