]> git.p6c8.net - pcdenotes.git/blob - notes/templates/note_base.html
Do pagination only if there is more than one page
[pcdenotes.git] / notes / templates / note_base.html
1 <!DOCTYPE html>
2
3 <html lang="en">
4 <head>
5 <title>{% block title %}{% endblock %}</title>
6 <meta charset="UTF-8" />
7 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
8 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
9 <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
10 </head>
11 <body class="d-flex flex-column min-vh-100">
12
13 <header class="container-fluid p-5 bg-primary text-white text-center">
14 <h1><a href="/" class="link-light">Notes</a></h1>
15 </header>
16
17 <div id="content" class="container flex-fill">
18 {% block content %}{% endblock %}
19 </div>
20
21 <footer class="container-fluid p-5 bg-dark text-white text-center mt-5">
22 <div class="row">
23 <div class="col-sm">
24 <ul>
25 <li>Row 1</li>
26 </ul>
27 </div>
28 <div class="col-sm">
29 <ul>
30 <li>Row 2</li>
31 </ul>
32 </div>
33 <div class="col-sm">
34 <ul>
35 <li>Row 3</li>
36 </ul>
37 </div>
38 </div>
39 </footer>
40 </body>
41 </html>

patrick-canterino.de