summaryrefslogtreecommitdiff
path: root/app/templates/base.html
diff options
context:
space:
mode:
authorblendoit <blendoit@gmail.com>2020-01-22 18:17:38 -0800
committerblendoit <blendoit@gmail.com>2020-01-22 18:17:38 -0800
commit6256335ef802e2823ac0118c01c7fe31e38e7287 (patch)
treef4d1633da886db94b450b70252ac935594ce73b8 /app/templates/base.html
parent2f1d0719faa0d955a82e87c0ea022f458e1c699f (diff)
Second commit.
Diffstat (limited to 'app/templates/base.html')
-rw-r--r--app/templates/base.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/app/templates/base.html b/app/templates/base.html
new file mode 100644
index 0000000..5520493
--- /dev/null
+++ b/app/templates/base.html
@@ -0,0 +1,25 @@
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to">
+
+ {% if title %}
+ <title>{{ title }}</title>
+ {% else %}
+ <title>Blendoit</title>
+ {% endif %}
+ </head>
+ <body>
+ {% with messages = get_flashed_messages(with_categories=true) %}
+ {% if messages %}
+ {% for message in messages %}
+ <div class="alert">
+ {{ message }}
+ </div>
+ {% endfor %}
+ {% endif %}
+ {% endwith %}
+
+ {% block content %}{% endblock %}
+ </body>
+</html>
Copyright 2019--2024 Marius PETER