feature/affichage-documentation #105

Merged
vlbeaudoin merged 7 commits from feature/affichage-documentation into main 2023-08-16 17:53:30 -04:00
2 changed files with 48 additions and 2 deletions
Showing only changes of commit 26751f508f - Show all commits

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

View file

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