From 214680882ee31685d4b4018fda2b1f38dd8f79bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20G=C3=B6tz?= Date: Fri, 12 Apr 2019 22:00:40 +0200 Subject: [PATCH] Add footer --- static/css/floating_labels.css | 9 +++++++++ templates/base.jinja2 | 13 +++++++++++++ 2 files changed, 22 insertions(+) diff --git a/static/css/floating_labels.css b/static/css/floating_labels.css index c1b9799..f887305 100644 --- a/static/css/floating_labels.css +++ b/static/css/floating_labels.css @@ -188,4 +188,13 @@ /* ------------------------------------------------------------------------------------------------------------------ */ .realm-delete-link{ color: #6c757d; +} + +/* ------------------------------------------------------------------------------------------------------------------ */ +/* -- Footer -- */ +/* ------------------------------------------------------------------------------------------------------------------ */ +footer { + position: fixed; + bottom: 0; + width: 100%; } \ No newline at end of file diff --git a/templates/base.jinja2 b/templates/base.jinja2 index cf4054f..d8deeae 100644 --- a/templates/base.jinja2 +++ b/templates/base.jinja2 @@ -47,6 +47,19 @@ {% block content %}{% endblock %} {% endblock %} +{% if not realms %} + + + +{% endif %} + + {% block js_tail %}{% endblock %}