From: Frédéric Péters Date: Sat, 21 Mar 2020 15:12:05 +0000 (+0100) Subject: templates: add contact email in footer X-Git-Tag: v2022~37 X-Git-Url: https://git.0d.be/?p=chloro.git;a=commitdiff_plain;h=bc9465f40ac179efe6e398370fb9f9054413a292 templates: add contact email in footer --- diff --git a/chloro/phyll/static/css/style.scss b/chloro/phyll/static/css/style.scss index bce2e84..5e2f05b 100644 --- a/chloro/phyll/static/css/style.scss +++ b/chloro/phyll/static/css/style.scss @@ -55,11 +55,14 @@ div.actions { } } -main { +main, footer { margin: 0 4em; padding: 1em; - background: #fafaff; max-width: 70em; +} + +main { + background: #fafaff; min-height: 70vh; clip-path: polygon(0px 0px, 96.35% -24px, 101.99% 7.86%, 100.61% 103.56%, 10% 100%, 0% 100%, 0px 0px); } @@ -171,3 +174,10 @@ main { } } } + +footer { + p { + text-align: right; + font-size: 100%; + } +} diff --git a/chloro/phyll/templates/phyll/base.html b/chloro/phyll/templates/phyll/base.html index de553ab..aa0f2cf 100644 --- a/chloro/phyll/templates/phyll/base.html +++ b/chloro/phyll/templates/phyll/base.html @@ -17,6 +17,9 @@ {% block body %} {% endblock %} + {% if request.user.is_staff %}
{% trans "New Note" %}