aboutsummaryrefslogtreecommitdiff
path: root/templates/_base.html.jinja
blob: 56497183db1cdcee4d17a507e96a4b57b1fe4061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{#
  UGE / L2 / Intro to relational databases / Python project prototype
  Author: Pacien TRAN-GIRARD
  Licence: EUPL-1.2
#}

{% import '_fragments.html.jinja' as fragments %}

<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link
      rel="shortcut icon"
      type="image/svg+xml"
      href="/images/favicon.svg">

    {% block headers %}
    <link
      rel="stylesheet"
      href="/stylesheets/pure-min.css">
    <link
      rel="stylesheet"
      href="/stylesheets/grids-responsive-min.css">
    <link
      rel="stylesheet"
      href="/stylesheets/main.css">
    <link
      rel="stylesheet"
      href="/stylesheets/pepal.css">

    <title>{% block title %}{% endblock %} - PèPal</title>
    {% endblock %}
  </head>

  <body>
    <div class="page">
      <header>
        <div class="pure-g">
          <div class="branding pure-u-1 pure-u-md-1-2">
            <h1><a href="/">{{ fragments.logo() }}</a></h1>
          </div>

          <div class="account-info pure-u-1 pure-u-md-1-2">
            {{ fragments.user_header(user) if user is not none }}
          </div>
        </div>
      </header>

      <div class="flash-message">
        {% block flash_messages %}
        {{ fragments.flash_messages(messages) }}
        {% endblock %}
      </div>

      <div class="content">
        {% block content %}{% endblock %}
      </div>

      <footer>
        <span class="copyright">
          &copy; 2021 {{ fragments.logo() }} Inc.
          Too many rights reserved.
        </span>
      </footer>
    </div>
  </body>
</html>