summaryrefslogtreecommitdiff
path: root/website/app/templates/base.html
diff options
context:
space:
mode:
authorblendoit <blendoit@gmail.com>2020-01-22 18:15:52 -0800
committerblendoit <blendoit@gmail.com>2020-01-22 18:15:52 -0800
commit2f1d0719faa0d955a82e87c0ea022f458e1c699f (patch)
treea6f5d5403d4884c9ef3e6c7c3b6060151fcc373b /website/app/templates/base.html
First commit.
Diffstat (limited to 'website/app/templates/base.html')
-rw-r--r--website/app/templates/base.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/website/app/templates/base.html b/website/app/templates/base.html
new file mode 100644
index 0000000..5520493
--- /dev/null
+++ b/website/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