feat: renommer package ui pour frontend
Si on suit les considérations du domain-driven design, le fait qu'on réfère toustes à cette partie du code comme `le frontend` me pousse à renommer le package pour mieux réflèter notre utilisation. Ça devrait rendre plus évident où les fichiers sources du frontend sont situés.
This commit is contained in:
parent
74fe5ac697
commit
076bb1a90c
98 changed files with 9 additions and 12 deletions
45
frontend/documentation.html
Normal file
45
frontend/documentation.html
Normal file
|
@ -0,0 +1,45 @@
|
|||
{{ define "documentation-html" }}
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>AGECEM | Documentation</title>
|
||||
<link rel="stylesheet" href="/public/css/documentation.css">
|
||||
{{ template "general-html" }}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{{ template "header-html" }}
|
||||
<div class="wrapper documentationWrapper">
|
||||
<h1 class="heading1">Documentation</h1>
|
||||
<p>
|
||||
{{ if not .Data.Buckets }}
|
||||
Documentation non-accessible pour l'instant, merci de votre patience
|
||||
{{ else }}
|
||||
{{ range .Data.Buckets }}
|
||||
{{ $bucket_name := .Name }}
|
||||
{{ $bucket_display_name := .DisplayName }}
|
||||
<details class="documentationCategorie">
|
||||
<summary class="documentationDescription">{{ $bucket_display_name }}</summary>
|
||||
<ul class="documentationListe">
|
||||
{{ range .Documents }}
|
||||
<a class="documentationLien" href="/public/documentation/{{ $bucket_name }}/{{ . }}">
|
||||
<li class="documentationDocument">{{ . }}</li>
|
||||
</a>
|
||||
{{ end}}
|
||||
</ul>
|
||||
</details>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</p>
|
||||
<p>
|
||||
{{ .Message }}
|
||||
</p>
|
||||
</div>
|
||||
<!-- {{ template "snackbar-html" }} -->
|
||||
{{ template "footer-html" }}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue