diff --git a/app/templates/base_page.html b/app/templates/base_page.html new file mode 100644 index 0000000..ea95c13 --- /dev/null +++ b/app/templates/base_page.html @@ -0,0 +1,34 @@ + + + + + + +
+
+
+ + {% with messages = get_flashed_messages(with_categories=true) %} + {% if messages %} +
+ {% for level, message in messages %} + + {% endfor %} +
+ {% endif %} + {% endwith %} + +
+ + {% block content %}{% endblock %} + +
+
+ + + + + diff --git a/app/templates/index.html b/app/templates/index.html index 3b18e51..9f5fd79 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -1 +1,4 @@ -hello world +{% extends "base_page.html" %} +{% block content %} +

Plan de Charge

+{% endblock %} -- libgit2 0.21.2