refactor: déplacer fichiers go source vers pkg/ et cmd/
Déplacer public/ et templates/ vers ui/ et ui/public/ Bump projet à v3, API toujours v1
This commit is contained in:
parent
e46033d4a9
commit
7d4a747774
107 changed files with 68 additions and 107 deletions
45
ui/documentation.html
Normal file
45
ui/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