]> git.p6c8.net - pcdenotes.git/blobdiff - notes/templates/note_base.html
Do pagination only if there is more than one page
[pcdenotes.git] / notes / templates / note_base.html
index d85e8752c5d55709a9334b525a41fe63d06c3c44..a596c0247103f2b076aedf726755b8b2db529bde 100644 (file)
@@ -1,4 +1,3 @@
-{% load markdownify %}
 <!DOCTYPE html>
 
 <html lang="en">
@@ -9,12 +8,34 @@
   <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
   <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
 </head>
-<body>
+<body class="d-flex flex-column min-vh-100">
 
-  <div class="container-fluid p-5 bg-primary text-white text-center">
+  <header class="container-fluid p-5 bg-primary text-white text-center">
     <h1><a href="/" class="link-light">Notes</a></h1>
+  </header>
+
+  <div id="content" class="container flex-fill">
+    {% block content %}{% endblock %}
   </div>
 
-{% block content %}{% endblock %}
+  <footer class="container-fluid p-5 bg-dark text-white text-center mt-5">
+    <div class="row">
+      <div class="col-sm">
+        <ul>
+          <li>Row 1</li>
+        </ul>
+      </div>
+      <div class="col-sm">
+        <ul>
+          <li>Row 2</li>
+        </ul>
+      </div>
+      <div class="col-sm">
+        <ul>
+          <li>Row 3</li>
+        </ul>
+      </div>
+    </div>
+  </footer>
 </body>
 </html>
\ No newline at end of file

patrick-canterino.de