From bf9072e5a34cc3ab14b704fbef1fa4bb5dc14829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20P=C3=A9rez-Cerezo?= Date: Thu, 19 Jul 2018 20:24:07 +0200 Subject: added footer. --- export/styles.css | 12 ++++++++++-- templates/bug.html | 2 +- templates/buglist.html | 2 +- templates/macros.html | 31 ++++++++++++++++++++----------- templates/main_page.html | 1 + 5 files changed, 33 insertions(+), 15 deletions(-) diff --git a/export/styles.css b/export/styles.css index bb1cdfd..71c36d7 100644 --- a/export/styles.css +++ b/export/styles.css @@ -142,7 +142,8 @@ img { table { margin: 1em; border-radius: 3px; - + min-width: 42em; + max-width: 98% !important; } @@ -224,7 +225,7 @@ a:hover{ clear:both; } -.devavatars { +.devavatars, footer { border: 1px solid #aaa; padding: 0.5em; border-radius: 3px; @@ -235,3 +236,10 @@ a:hover{ margin-bottom: 0.5em; margin-top: 0.5em; } + +footer { + max-width: 40em; + min-height: 2em; + margin: 1em; + padding: 1em; +} diff --git a/templates/bug.html b/templates/bug.html index a428576..2173268 100644 --- a/templates/bug.html +++ b/templates/bug.html @@ -39,6 +39,6 @@ {% endif %} {{ macros.form(bug.id, DOMAIN, True) }} - + {{ macros.footer() }} diff --git a/templates/buglist.html b/templates/buglist.html index 15806e8..eb16bf0 100644 --- a/templates/buglist.html +++ b/templates/buglist.html @@ -61,5 +61,5 @@ {{ macros.form(prname, DOMAIN) }} - +{{ macros.footer() }} diff --git a/templates/macros.html b/templates/macros.html index 76fad97..76e7f91 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -2,21 +2,30 @@
{% if reply %} -
Reply
-{% else %} -
Submit a bug
-
-{% endif %} -

- +
Reply
+ {% else %} +
Submit a bug
+
+ {% endif %} +

+
{% endmacro %} {% macro h1(DOMAIN) %} -

Hemiptera Bugtracker at {{DOMAIN}}

+

Hemiptera Bugtracker at {{DOMAIN}}

{% endmacro %} {% macro head() %} - - - + + + +{% endmacro %} + + +{% macro footer() %} + + {% endmacro %} diff --git a/templates/main_page.html b/templates/main_page.html index f7ffbe3..ed18678 100644 --- a/templates/main_page.html +++ b/templates/main_page.html @@ -30,4 +30,5 @@ {% endfor %} + {{ macros.footer() }} -- cgit v1.2.3