From ce1fe100a2dc0aa0baada3c8f214d787333148ea Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 18 Mar 2019 16:16:58 +0000 Subject: use bootstrap --- app/templates/base.html | 59 ++++++++++++++++++++++++++++++++----------------- 1 file changed, 39 insertions(+), 20 deletions(-) (limited to 'app/templates/base.html') diff --git a/app/templates/base.html b/app/templates/base.html index 3070587..ee03e3d 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -1,21 +1,39 @@ - - - {% if title %} - {{ title }} - Annotate Change - {% else %} - Welcome to Annotate Change - {% endif %} - - -
Annotate Change: - Home - {% if current_user.is_anonymous %} - Login - {% else %} - Logout - {% endif %} +{% extends 'bootstrap/base.html' %} + +{% block title %} + {% if title %}{{ title }} -- AnnotateChange{% else %}Welcome to AnnotateChange{% endif %} +{% endblock %} + +{% block navbar %} + +{% endblock %} + +{% block content %} +
{% with messages = get_flashed_messages() %} {% if messages %}
    @@ -25,7 +43,8 @@
{% endif %} {% endwith %} - {% block content %} + + {% block app_content %} {% endblock %} - - +
+{% endblock %} -- cgit v1.2.3