formattage des options sur admin.gohtml
This commit is contained in:
parent
09e0690d50
commit
339feb2e52
2 changed files with 24 additions and 4 deletions
17
public/css/admin.css
Normal file
17
public/css/admin.css
Normal 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;
|
||||||
|
}
|
|
@ -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" }}
|
||||||
|
<div class="wrapper adminWrapper">
|
||||||
<h1 class="heading1">Admin</h1>
|
<h1 class="heading1">Admin</h1>
|
||||||
<ul>
|
<div class="adminOptions">
|
||||||
<li><a href="/admin/documents/upload">Ajout de document</a></li>
|
<button class="adminOption" onclick="location.href = '/admin/documents/upload'">Ajout de document</a>
|
||||||
</ul>
|
</div>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue