Mercurial > libervia-website
diff templates/default/base/base.html @ 8:dc880664a8ec
modernisation of the theme using Bulma
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 16 Apr 2021 18:51:12 +0200 |
parents | 09d66acc7c73 |
children |
line wrap: on
line diff
--- a/templates/default/base/base.html Tue May 26 12:38:56 2020 +0200 +++ b/templates/default/base/base.html Fri Apr 16 18:51:12 2021 +0200 @@ -1,10 +1,17 @@ -{% extends '(default)base/base.html' %} +{% set menu_fixed_top=true %} +{% extends '(bulma)base/base.html' %} +{% block main_menu %} + {{ component.menu(main_menu, class="is-primary") }} +{% endblock main_menu %} + {% block footer %} - <span> - {% trans app_name=C.APP_NAME %}Powered by {{app_name}}{% endtrans %} - — - <address class="inline"> - <a href="mailto:contact@salut-a-toi.invalid">{% trans %}contact{% endtrans %}</a> ({% trans %}replace invalid with org{% endtrans %}) - </address> - </span> + <footer class="footer"> + <div class="content has-text-centered"> + {% trans app_name="Libervia" %}Powered by {{app_name}}{% endtrans %} + — + <address class="is-inline"> + <a href="mailto:contact@salut-a-toi.invalid">{% trans %}contact{% endtrans %}</a> ({% trans %}replace invalid by org{% endtrans %}) + </address> + </div> + </footer> {% endblock %}