From 9f22aba8091dd082ad98d5ab9cdb603899298c51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20P=C3=A9rez-Cerezo?= Date: Wed, 18 Jul 2018 13:09:26 +0200 Subject: Added logo, tweaked css and presentation --- templates/bug.html | 5 ++--- templates/buglist.html | 8 +++----- templates/macros.html | 9 +++++++++ templates/main_page.html | 11 ++++++++--- 4 files changed, 22 insertions(+), 11 deletions(-) (limited to 'templates') diff --git a/templates/bug.html b/templates/bug.html index c8c2c70..a428576 100644 --- a/templates/bug.html +++ b/templates/bug.html @@ -4,12 +4,11 @@ Hemiptera Bugtracker at {{DOMAIN}} - - + {{ macros.head() }}
-

Hemiptera Bugtracker at {{DOMAIN}}

+ {{ macros.h1(DOMAIN) }}

{{prname}}

{{ replies[0]["Subject"]|e }} diff --git a/templates/buglist.html b/templates/buglist.html index 2664e00..15806e8 100644 --- a/templates/buglist.html +++ b/templates/buglist.html @@ -4,14 +4,12 @@ Hemiptera Bugtracker at {{DOMAIN}} - - + + {{ macros.head() }}
-

- Hemiptera Bugtracker at {{DOMAIN}} -

+ {{ macros.h1(DOMAIN) }}

Bugs in {{prname}}

diff --git a/templates/macros.html b/templates/macros.html index a84624f..76fad97 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -11,3 +11,12 @@ {% endmacro %} + +{% macro h1(DOMAIN) %} +

Hemiptera Bugtracker at {{DOMAIN}}

+{% endmacro %} +{% macro head() %} + + + +{% endmacro %} diff --git a/templates/main_page.html b/templates/main_page.html index dabb1ee..f7ffbe3 100644 --- a/templates/main_page.html +++ b/templates/main_page.html @@ -1,13 +1,18 @@ +{% import "macros.html" as macros %} Hemiptera Bugtracker at {{DOMAIN}} - - + {{ macros.head() }} - List of projects +
+ + {{ macros.h1(DOMAIN) }} +

List of projects

+
+
Name -- cgit v1.2.3