From c08de0fd30a665e87c179c3ce56b7dd5cc537a18 Mon Sep 17 00:00:00 2001 From: Kumi Date: Tue, 26 Dec 2023 16:06:30 +0100 Subject: [PATCH] Added logo in top-right corner for monthly and weekly calendars --- src/kalente/templates/monthly.html | 7 +++++++ src/kalente/templates/weekly.html | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/src/kalente/templates/monthly.html b/src/kalente/templates/monthly.html index 9288f85..19e2ff5 100644 --- a/src/kalente/templates/monthly.html +++ b/src/kalente/templates/monthly.html @@ -45,9 +45,16 @@ h2:not(:first-of-type) { page-break-before: always; } + .logo { + position: absolute; + top: 0px; + right: 10px; + height: 65px; + } +

Monthly Calendar for {{ month_obj.strftime("%B %Y") }}

diff --git a/src/kalente/templates/weekly.html b/src/kalente/templates/weekly.html index 92abd70..6599648 100644 --- a/src/kalente/templates/weekly.html +++ b/src/kalente/templates/weekly.html @@ -35,9 +35,16 @@ h2:not(:first-of-type) { page-break-before: always; } + .logo { + position: absolute; + top: 0px; + right: 10px; + height: 65px; + } +

Weekly Calendar