]> 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 ca4eaaf7935052e11dba2fe8e7c02a7ee92c2b2c..a596c0247103f2b076aedf726755b8b2db529bde 100644 (file)
@@ -1,4 +1,3 @@
-{% load markdownify %}
 <!DOCTYPE html>
 
 <html lang="en">
 <!DOCTYPE html>
 
 <html lang="en">
@@ -9,14 +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>
   <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>
     <h1><a href="/" class="link-light">Notes</a></h1>
-  </div>
+  </header>
 
 
-  <div id="content" class="container mt-5">
+  <div id="content" class="container flex-fill">
     {% block content %}{% endblock %}
   </div>
     {% block content %}{% endblock %}
   </div>
+
+  <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
 </body>
 </html>
\ No newline at end of file

patrick-canterino.de