aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html148
1 files changed, 71 insertions, 77 deletions
diff --git a/templates/base.html b/templates/base.html
index f403d41..a4ebf71 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -1,91 +1,85 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="fr">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>Budget — {% block title %}{% endblock title %}</title>
- <link rel="stylesheet" href="{{ assets | get(key="main.css") }}" />
- <link rel="icon" href="{{ assets | get(key="icon.png") }}">
- </head>
- <body>
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width">
+<title>Budget — {% block title %}{% endblock title %}</title>
+<link rel="stylesheet" href="{{ assets | get(key="main.css") }}">
+<link rel="icon" href="{{ assets | get(key="icon.png") }}">
- <header class="g-Header">
+<header class="g-Header">
- <div class="g-Header__Primary">
- <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 %}
- </div>
+ <div class="g-Header__Primary">
+ <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 %}
+ </div>
- {% if connected_user %}
- <div class="g-Header__Secondary">
+ {% if connected_user %}
+ <div class="g-Header__Secondary">
- <a
- href="/"
- class="
- g-Header__Link
- {% if header == "Payments" %} g-Header__Link--Current {% endif %}
- "
- >
- Paiements
- </a>
+ <a
+ href="/"
+ class="
+ g-Header__Link
+ {% if header == "Payments" %} g-Header__Link--Current {% endif %}
+ "
+ >
+ Paiements
+ </a>
- <a
- href="/incomes"
- class="
- g-Header__Link
- {% if header == "Incomes" %} g-Header__Link--Current {% endif %}
- "
- >
- Revenus
- </a>
+ <a
+ href="/incomes"
+ class="
+ g-Header__Link
+ {% if header == "Incomes" %} g-Header__Link--Current {% endif %}
+ "
+ >
+ Revenus
+ </a>
- <a
- href="/categories"
- class="
- g-Header__Link
- {% if header == "Categories" %} g-Header__Link--Current {% endif %}
- "
- >
- Catégories
- </a>
+ <a
+ href="/categories"
+ class="
+ g-Header__Link
+ {% if header == "Categories" %} g-Header__Link--Current {% endif %}
+ "
+ >
+ Catégories
+ </a>
- <a
- href="/balance"
- class="
- g-Header__Link
- {% if header == "Balance" %} g-Header__Link--Current {% endif %}
- "
- >
- Équilibre
- </a>
+ <a
+ href="/balance"
+ class="
+ g-Header__Link
+ {% if header == "Balance" %} g-Header__Link--Current {% endif %}
+ "
+ >
+ Équilibre
+ </a>
- <a
- href="/statistics"
- class="
- g-Header__Link
- {% if header == "Statistics" %} g-Header__Link--Current {% endif %}
- "
- >
- Statistiques
- </a>
+ <a
+ href="/statistics"
+ class="
+ g-Header__Link
+ {% if header == "Statistics" %} g-Header__Link--Current {% endif %}
+ "
+ >
+ Statistiques
+ </a>
- </div>
- {% endif %}
+ </div>
+ {% endif %}
- </header>
+</header>
- <main class="g-Main">
- {% block main %}{% endblock main %}
- </main>
+<main class="g-Main">
+ {% block main %}{% endblock main %}
+</main>
- <script src="{{ assets | get(key="main.js") }}">
- </script>
-
- </body>
-</html>
+<script src="{{ assets | get(key="main.js") }}">
+</script>