Linting.
This commit is contained in:
parent
df3d17ba58
commit
b2cb02c77f
2 changed files with 8 additions and 10 deletions
|
@ -44,19 +44,19 @@
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{% if logo %}
|
{% if logo %}<img class="logo" src="{{ logo }}" alt="Logo">{% endif %}
|
||||||
<img class="logo" src="{{ logo }}" alt="Logo">
|
|
||||||
{% endif %}
|
|
||||||
<h2>Day Planner</h2>
|
<h2>Day Planner</h2>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
{% if day.holiday %}
|
{% if day.holiday %}<b>{{ day.holiday }}</b>{% endif %}
|
||||||
<b>{{ day.holiday }}</b>
|
|
||||||
{% endif %}
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -57,9 +57,7 @@
|
||||||
{% set splits = (0, 6), (6, 12) %}
|
{% set splits = (0, 6), (6, 12) %}
|
||||||
{% for start, end in splits %}
|
{% for start, end in splits %}
|
||||||
<h2>Yearly Calendar for {{ year.1.1.1.date_obj.year }}</h2>
|
<h2>Yearly Calendar for {{ year.1.1.1.date_obj.year }}</h2>
|
||||||
{% if logo %}
|
{% if logo %}<img class="logo" src="{{ logo }}" alt="Logo">{% endif %}
|
||||||
<img class="logo" src="{{ logo }}" alt="Logo">
|
|
||||||
{% endif %}
|
|
||||||
<table class="yearly-calendar">
|
<table class="yearly-calendar">
|
||||||
<tr>
|
<tr>
|
||||||
{% for month in year %}
|
{% for month in year %}
|
||||||
|
|
Loading…
Reference in a new issue