From 8fe5bf8b7c828cbcc2e3a47a5b8b110f216a5b6c Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sat, 9 Apr 2016 08:19:58 +0200 Subject: Updated Navbar. --- src/web/templates/home.html | 27 ++++++---------------- src/web/templates/layout.html | 53 ++++++++++++++++++++++++------------------- 2 files changed, 37 insertions(+), 43 deletions(-) (limited to 'src/web/templates') diff --git a/src/web/templates/home.html b/src/web/templates/home.html index 155742c5..64e8140d 100644 --- a/src/web/templates/home.html +++ b/src/web/templates/home.html @@ -1,22 +1,9 @@ - - - - {% block head %} - - - - - JARR{% if head_titles %} - {{ ' - '.join(head_titles) }}{% endif %} - - - +{% extends "layout.html" %} +{% block head %} + {{ super() }} - - - {% endblock %} - - +{% endblock %} +{% block content %}
- - - + +{% endblock %} diff --git a/src/web/templates/layout.html b/src/web/templates/layout.html index 50f96e8f..d863513f 100644 --- a/src/web/templates/layout.html +++ b/src/web/templates/layout.html @@ -9,12 +9,16 @@ JARR{% if head_titles %} - {{ ' - '.join(head_titles) }}{% endif %} - + + + + {% endblock %} + {% block menu %} + {% endblock %}
-
+
{% block messages %} {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} @@ -112,20 +134,5 @@ - -- cgit