parent
ae26f3630c
commit
4df5667f88
@ -2070,3 +2070,15 @@ dialog {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#calendar.week {
|
||||||
|
h3 {
|
||||||
|
font-size: 100%;
|
||||||
|
margin: 0 0.2em;
|
||||||
|
padding-left: 0.1em;
|
||||||
|
border-bottom: 1px solid var(--secondary);
|
||||||
|
}
|
||||||
|
.day header {
|
||||||
|
margin-bottom: 0.5em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -88,7 +88,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<div id="calendar">
|
<div id="calendar" class="week">
|
||||||
<div class="slider-button slider-button-inside button-left hidden">{% picto_from_name "arrow-left" %}</div>
|
<div class="slider-button slider-button-inside button-left hidden">{% picto_from_name "arrow-left" %}</div>
|
||||||
{% if calendar.firstdate|shift_day:-1|not_before_first %}
|
{% if calendar.firstdate|shift_day:-1|not_before_first %}
|
||||||
{% if calendar.lastdate|not_after_last %}
|
{% if calendar.lastdate|not_after_last %}
|
||||||
@ -126,9 +126,11 @@
|
|||||||
href="{{ day.date | url_day:category }}?{{ filter.get_url }}">{{ day.date | date:"l j" }}</a>
|
href="{{ day.date | url_day:category }}?{{ filter.get_url }}">{{ day.date | date:"l j" }}</a>
|
||||||
</h2>
|
</h2>
|
||||||
</header>
|
</header>
|
||||||
{% if day.events %}
|
{% for ti in day.get_time_intervals %}
|
||||||
|
{% if ti.events|length > 0 %}
|
||||||
|
{% if not forloop.first %}<h3>{{ ti.short_name }}</h3>{% endif %}
|
||||||
<ul>
|
<ul>
|
||||||
{% for event in day.events %}
|
{% for event in ti.events %}
|
||||||
{% if event.is_first_after_now %}
|
{% if event.is_first_after_now %}
|
||||||
<li class="line-now">
|
<li class="line-now">
|
||||||
<div>
|
<div>
|
||||||
@ -228,12 +230,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li class="detail-link">
|
|
||||||
<a href="{{ day.date | url_day }}?{{ filter.get_url }}"
|
|
||||||
class="visible-link">voir en détail {% picto_from_name "chevrons-right" %}</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
<p class="detail-link">
|
||||||
|
<a href="{{ day.date | url_day }}?{{ filter.get_url }}"
|
||||||
|
class="visible-link">voir en détail {% picto_from_name "chevrons-right" %}</a>
|
||||||
|
</p>
|
||||||
</article>
|
</article>
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user