aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html19
-rw-r--r--templates/login.html8
2 files changed, 16 insertions, 11 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">
diff --git a/templates/login.html b/templates/login.html
index a2673a2..48a7410 100644
--- a/templates/login.html
+++ b/templates/login.html
@@ -6,8 +6,12 @@
{% block main %}
- <section class="g-Section">
- <form class="g-Login g-Form" action="/login" method="POST">
+ <section class="g-Login">
+ <header>
+ <h1 class="g-Login__Title g-Header__Title">Budget</h1>
+ </header>
+
+ <form class="g-Form" action="/login" method="POST">
{% if error %}
<div class="g-Form__Error">{{ error }}</div>