diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2021-02-16 13:21:24 +0000 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2021-02-16 13:21:24 +0000 |
commit | 55d923431d45e1388227d45ecd11c01ab8a7a824 (patch) | |
tree | 890f15d5523454e944d2fe22b6361ac7c3cbaa15 /ogcp/templates/base.html | |
parent | 199854f1e90335ea37987a58efcde2ee6a3dd38a (diff) |
Add some minor cosmetic changes
This commit may serve for future reference as to how some cosmetic
changes have been applied to the web.
Primarily using bootstrap classes in order to adjust margin or padding,
there are mechanisms that allow modifying the class of an
underlying html element in WTForms. Bootstrap classes are written
directly in html templates for Flask.
Also add a Soleta branded footer.
Diffstat (limited to 'ogcp/templates/base.html')
-rw-r--r-- | ogcp/templates/base.html | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html index 4304e42..5f07fe7 100644 --- a/ogcp/templates/base.html +++ b/ogcp/templates/base.html @@ -5,7 +5,6 @@ <script src="{{ url_for('static', filename='js/jquery.min.js') }}"></script> <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" /> <script src="{{ url_for('static', filename='js/bootstrap.bundle.min.js') }}"></script> - <script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script> <title>{% block title %}{% endblock %} - OpenGnsys</title> {% endblock %} </head> @@ -28,8 +27,14 @@ {% endblock %} <div id="content">{% block content %}{% endblock %}</div> - <div id="footer"> - {% block footer %}{% endblock %} - </div> + + {% block footer %} + <footer class="footer navbar-inverse bg-dark" role="contentinfo"> + <div class="text-center text-secondary my-2 p-3"> + Powered by + <a class="text-light" href="https://opengnsys.soleta.eu/">Soleta Networks</a> + </div> + </footer> + {% endblock %} </body> </html> |