aboutsummaryrefslogtreecommitdiff
path: root/web/app/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/templates/base.html')
-rw-r--r--web/app/templates/base.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/web/app/templates/base.html b/web/app/templates/base.html
new file mode 100644
index 0000000..190ed56
--- /dev/null
+++ b/web/app/templates/base.html
@@ -0,0 +1,26 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>{% block title %}App{% endblock %}</title>
+ <link
+ rel="stylesheet"
+ href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css"
+ >
+</head>
+<body>
+<main class="container">
+ {% with messages = get_flashed_messages(with_categories=true) %}
+ {% if messages %}
+ <ul class="flashes">
+ {% for category, message in messages %}
+ <li class="{{ category }}">{{ message }}</li>
+ {% endfor %}
+ </ul>
+ {% endif %}
+ {% endwith %}
+
+ {% block content %}{% endblock %}
+</main>
+</body>
+</html>