From 3580736d93736cab136a2df1f4abc542da4acc6f Mon Sep 17 00:00:00 2001 From: ekardnam Date: Wed, 22 Sep 2021 22:53:57 +0200 Subject: [PATCH 1/2] Add footer --- tracker/static/style.css | 9 ++++++--- tracker/templates/base.html | 19 +++++++++++++++++++ tracker/templates/todo.html | 2 +- 3 files changed, 26 insertions(+), 4 deletions(-) diff --git a/tracker/static/style.css b/tracker/static/style.css index 3049a3dd..eeba54f3 100644 --- a/tracker/static/style.css +++ b/tracker/static/style.css @@ -118,10 +118,13 @@ select { } #page_footer { - font-size: 0.9em; - margin: 0 auto; + font-size: 0.75em; + margin: 10px auto 20px auto; text-align: center; - width: 95%; +} + +#page_footer p { + margin: 0; } h1 { diff --git a/tracker/templates/base.html b/tracker/templates/base.html index 483fa1da..b1af76bf 100644 --- a/tracker/templates/base.html +++ b/tracker/templates/base.html @@ -47,5 +47,24 @@ {%- endwith -%} {%- block content -%}{%- endblock %} + diff --git a/tracker/templates/todo.html b/tracker/templates/todo.html index 5c22baa1..c6300103 100644 --- a/tracker/templates/todo.html +++ b/tracker/templates/todo.html @@ -7,7 +7,7 @@

{{ smiley }}

nothing to do
 Yippie!
-
+
{%- else %}

Todo Lists

{%- endif %} From 42ac1477a6ab2ac644c54eaa6a975671a33cc264 Mon Sep 17 00:00:00 2001 From: ekardnam Date: Wed, 22 Sep 2021 23:01:28 +0200 Subject: [PATCH 2/2] footer: add source code link --- tracker/templates/base.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tracker/templates/base.html b/tracker/templates/base.html index b1af76bf..260a6435 100644 --- a/tracker/templates/base.html +++ b/tracker/templates/base.html @@ -65,6 +65,11 @@ The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.

+ +

+ Arch Security Tracker is licensed under the terms of the MIT License, + source code. +