From d4150080e3820e1f92137f5fc5c0985d366f29d7 Mon Sep 17 00:00:00 2001 From: Daniel GarcĂ­a Moreno Date: Tue, 1 Jun 2021 11:44:09 +0200 Subject: Use AdminLTE in base.html This patch adds the css and js sources from the AdminLTE template to the base template so it can be used in all templates. There's also some flexbox bootstrap classes [1] to place the footer at the bootom always, even when there's no content to fill the page. [1] https://getbootstrap.com/docs/4.6/utilities/flex/ --- ogcp/templates/base.html | 75 ++++++++++++++++++++++++++++-------------------- 1 file changed, 44 insertions(+), 31 deletions(-) (limited to 'ogcp/templates') diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html index e70e3fd..5fda82a 100644 --- a/ogcp/templates/base.html +++ b/ogcp/templates/base.html @@ -2,42 +2,55 @@ {% block head %} - - - - {% block title %}{% endblock %} - OpenGnsys + + + + + + + + {% endblock %} - {% include 'nav.html' %} - {% block nav %}{% endblock %} - {% block flash %} - {% for category, message in get_flashed_messages(with_categories=True) %} - {% if category == 'info' %} -