aboutsummaryrefslogtreecommitdiff
path: root/templates/home.html
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-09 16:46:26 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-09 16:46:26 +0100
commitebb7553cc87b5a2504edc8e06ee12375fd925029 (patch)
tree83b17cb90ed9e631a8056a26e6a09334a747e68f /templates/home.html
parent3fe43f85aefedc6223aee45171df483e2f57c381 (diff)
downloadguichet-ebb7553cc87b5a2504edc8e06ee12375fd925029.tar.gz
guichet-ebb7553cc87b5a2504edc8e06ee12375fd925029.zip
Implement logout
Diffstat (limited to 'templates/home.html')
-rw-r--r--templates/home.html15
1 files changed, 13 insertions, 2 deletions
diff --git a/templates/home.html b/templates/home.html
index 0b39e11..6a11af3 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -1,7 +1,18 @@
{{define "title"}}Guichet{{end}}
{{define "body"}}
-<h1>Guichet</h1>
+<div class="alert alert-success">
+ Bienvenue, <strong>{{ .Username }}</strong> !
+</div>
+
+<div class="card">
+ <div class="card-header">
+ Gérer mon compte
+ </div>
+ <div class="list-group list-group-flush">
+ <a class="list-group-item list-group-item-action" href="/">Test</a>
+ <a class="list-group-item list-group-item-action" href="/logout">Se déconnecter</a>
+ </div>
+</div>
-Welcome, {{ .Username }}!
{{end}}