aboutsummaryrefslogtreecommitdiff
path: root/templates/_base.html.jinja
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_base.html.jinja')
-rw-r--r--templates/_base.html.jinja71
1 files changed, 71 insertions, 0 deletions
diff --git a/templates/_base.html.jinja b/templates/_base.html.jinja
new file mode 100644
index 0000000..5649718
--- /dev/null
+++ b/templates/_base.html.jinja
@@ -0,0 +1,71 @@
1{#
2 UGE / L2 / Intro to relational databases / Python project prototype
3 Author: Pacien TRAN-GIRARD
4 Licence: EUPL-1.2
5#}
6
7{% import '_fragments.html.jinja' as fragments %}
8
9<!doctype html>
10<html>
11 <head>
12 <meta charset="utf-8">
13 <meta name="viewport" content="width=device-width, initial-scale=1.0">
14
15 <link
16 rel="shortcut icon"
17 type="image/svg+xml"
18 href="/images/favicon.svg">
19
20 {% block headers %}
21 <link
22 rel="stylesheet"
23 href="/stylesheets/pure-min.css">
24 <link
25 rel="stylesheet"
26 href="/stylesheets/grids-responsive-min.css">
27 <link
28 rel="stylesheet"
29 href="/stylesheets/main.css">
30 <link
31 rel="stylesheet"
32 href="/stylesheets/pepal.css">
33
34 <title>{% block title %}{% endblock %} - PèPal</title>
35 {% endblock %}
36 </head>
37
38 <body>
39 <div class="page">
40 <header>
41 <div class="pure-g">
42 <div class="branding pure-u-1 pure-u-md-1-2">
43 <h1><a href="/">{{ fragments.logo() }}</a></h1>
44 </div>
45
46 <div class="account-info pure-u-1 pure-u-md-1-2">
47 {{ fragments.user_header(user) if user is not none }}
48 </div>
49 </div>
50 </header>
51
52 <div class="flash-message">
53 {% block flash_messages %}
54 {{ fragments.flash_messages(messages) }}
55 {% endblock %}
56 </div>
57
58 <div class="content">
59 {% block content %}{% endblock %}
60 </div>
61
62 <footer>
63 <span class="copyright">
64 &copy; 2021 {{ fragments.logo() }} Inc.
65 Too many rights reserved.
66 </span>
67 </footer>
68 </div>
69 </body>
70</html>
71