aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorJoris2022-08-21 12:19:08 +0200
committerJoris2022-08-21 12:19:08 +0200
commitc276e97deabef70daff74bbccac60ff468b5f772 (patch)
tree4beffd60e0b15284ad1e3041ffd928d0ec49f9f9 /templates/base.html
parentf826ac88129718c587564b1a1d21ea551808350e (diff)
Show app title above form during connection
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html19
1 files changed, 10 insertions, 9 deletions
diff --git a/templates/base.html b/templates/base.html
index 4787ae7..c7dc9f0 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -7,15 +7,16 @@
<link rel="stylesheet" href="{{ assets | get(key="main.css") }}">
<link rel="icon" href="{{ assets | get(key="icon.png") }}">
-<header class="g-Header">
- <div class="g-Header__Title">Budget</div>
- {% if connected_user %}
- <form action="/logout" method="POST">
- {{ connected_user.name }}
- <input class="g-Header__Logout" type="submit" value="(Déconnexion)" />
- </form>
- {% endif %}
-</header>
+{% if connected_user %}
+ <header class="g-Header">
+ <div class="g-Header__Title">Budget</div>
+ <form action="/logout" method="POST">
+ {{ connected_user.name }}
+ <input class="g-Header__Logout" type="submit" value="(Déconnexion)" />
+ </form>
+ </div>
+ </header>
+{% endif %}
{% if connected_user %}
<nav class="g-Nav">