feature/affichage-documentation #105
2 changed files with 48 additions and 2 deletions
45
public/css/documentation.css
Normal file
45
public/css/documentation.css
Normal file
|
@ -0,0 +1,45 @@
|
|||
.documentationCategorie {
|
||||
font-family: "Poppins";
|
||||
font-weight: 600;
|
||||
/*semi-bold*/
|
||||
font-size: 1.5rem;
|
||||
/*24px*/
|
||||
color: #fff;
|
||||
/*Blanc pur*/
|
||||
background-color: #394596;
|
||||
/*Blanc pur*/
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.documentationDescription {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.documentationListe {
|
||||
font-weight: 400;
|
||||
/*semi-bold*/
|
||||
font-size: 1rem;
|
||||
/*16px*/
|
||||
background-color: #fff;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.documentationDocument {
|
||||
font-weight: 400;
|
||||
/*semi-bold*/
|
||||
font-size: 1rem;
|
||||
/*16px*/
|
||||
padding: 10px 20px;
|
||||
}
|
||||
|
||||
.documentationDocument:hover {
|
||||
background-color: rgba();
|
||||
}
|
||||
|
||||
.documentationLien {
|
||||
height: inherit;
|
||||
width: inherit;
|
||||
}
|
|
@ -4,6 +4,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>AGECEM | Documentation</title>
|
||||
<link rel="stylesheet" href="/public/css/documentation.css">
|
||||
{{ template "general-html" }}
|
||||
</head>
|
||||
<body>
|
||||
|
@ -17,9 +18,9 @@
|
|||
<details class="documentationCategorie">
|
||||
<summary class="documentationDescription">{{ $bucket_display_name }}</summary>
|
||||
|
||||
<ul>
|
||||
<ul class="documentationListe">
|
||||
{{ range .Documents }}
|
||||
<li class="documentationDocument"> <a href="/public/documentation/{{ $bucket_name }}/{{ . }}">{{ . }}</a></li>
|
||||
<a class ="documentationLien" href="/public/documentation/{{ $bucket_name }}/{{ . }}"><li class="documentationDocument">{{ . }}</li></a>
|
||||
{{ end}}
|
||||
</ul>
|
||||
</details>
|
||||
|
|
Loading…
Reference in a new issue