update home page + sidebar items sizing

This commit is contained in:
bkfox
2022-08-07 12:55:03 +02:00
parent a4593dc0c5
commit ffd5b5b013
8 changed files with 69 additions and 63 deletions

View File

@ -23,22 +23,7 @@
{% block pages_list %}
{% with hide_schedule=True %}
<section role="list">
<div id="timetable-{{ date|date:"Y-m-d" }}">
{% for diffusion in object_list %}
<div class="columns {% if diffusion.is_now %}has-background-primary{% endif %}">
<div class="column is-one-fifth has-text-right">
<time datetime="{{ diffusion.start|date:"c" }}">
{{ diffusion.start|date:"H:i" }} - {{ diffusion.end|date:"H:i" }}
</time>
</div>
<div class="column">
{% with diffusion.episode as object %}
{% include "aircox/widgets/episode_item.html" %}
{% endwith %}
</div>
</div>
{% endfor %}
</div>
{% include 'aircox/widgets/diffusion_list.html' %}
</section>
{% endwith %}
{% endblock %}