This commit is contained in:
Kumi 2024-02-14 21:01:20 +01:00
parent df3d17ba58
commit b2cb02c77f
Signed by: kumi
GPG key ID: ECBCC9082395383F
2 changed files with 8 additions and 10 deletions

View file

@ -44,19 +44,19 @@
</style>
</head>
<body>
{% if logo %}
<img class="logo" src="{{ logo }}" alt="Logo">
{% endif %}
{% if logo %}<img class="logo" src="{{ logo }}" alt="Logo">{% endif %}
<h2>Day Planner</h2>
<table>
<tr>
<th class="{% if day.holiday %}holiday{% elif day.is_weekend and day.day == 'Saturday' %}saturday{% elif day.is_weekend and day.day == 'Sunday' %}sunday{% endif %}">{{ day.day }}<br />{{ day.date }}</th>
<th class="{% if day.holiday %}holiday{% elif day.is_weekend and day.day == 'Saturday' %}saturday{% elif day.is_weekend and day.day == 'Sunday' %}sunday{% endif %}">
{{ day.day }}
<br />
{{ day.date }}
</th>
</tr>
<tr>
<td>
{% if day.holiday %}
<b>{{ day.holiday }}</b>
{% endif %}
{% if day.holiday %}<b>{{ day.holiday }}</b>{% endif %}
</td>
</tr>
</table>

View file

@ -57,9 +57,7 @@
{% set splits = (0, 6), (6, 12) %}
{% for start, end in splits %}
<h2>Yearly Calendar for {{ year.1.1.1.date_obj.year }}</h2>
{% if logo %}
<img class="logo" src="{{ logo }}" alt="Logo">
{% endif %}
{% if logo %}<img class="logo" src="{{ logo }}" alt="Logo">{% endif %}
<table class="yearly-calendar">
<tr>
{% for month in year %}