From 27de28b0a46f7ff18a8a5f7192356a6dc84fba86 Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Wed, 21 Aug 2019 00:18:35 +0200
Subject: [PATCH] Add informational footer.

---
 biscuit/core/static/css/style.css     | 17 +++++++++++++++++
 biscuit/core/templates/core/base.html | 15 +++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/biscuit/core/static/css/style.css b/biscuit/core/static/css/style.css
index 594d6e436..3fb2b1657 100644
--- a/biscuit/core/static/css/style.css
+++ b/biscuit/core/static/css/style.css
@@ -1,3 +1,20 @@
+html {
+  position: relative;
+  min-height: 100%;
+}
+
+body {
+  margin-bottom: 60px;
+}
+
+.footer {
+  position: absolute;
+  bottom: 0;
+  width: 100%;
+  height: 60px;
+  line-height: 60px;
+}
+
 img.person-img {
         max-height: 300px;
 }
diff --git a/biscuit/core/templates/core/base.html b/biscuit/core/templates/core/base.html
index 0ffcbc3a5..63d3df901 100644
--- a/biscuit/core/templates/core/base.html
+++ b/biscuit/core/templates/core/base.html
@@ -41,4 +41,19 @@
 
   {% block content %}{% endblock %}
  </main>
+
+ <footer class="footer text-dark bg-light">
+  <div class="container">
+   <span class="text-muted">
+    <a href="https://biscuit.edugit.org/">
+     BiscuIT - The Free School Information System
+    </a>
+    &cdot;
+    &copy; The BiscuIT Team @
+    <a href="https://www.teckids.org/">
+     Teckids e.V.
+    </a>
+   </span>
+  </div>
+ </footer>
 {% endblock %}
-- 
GitLab