templates: add timetable with times replaced by circle/discs (#55021)

This commit is contained in:
Frédéric Péters 2021-09-28 10:19:53 +02:00
parent e20a712e73
commit ac4189c6ca
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
{% extends "qommon/forms/widgets/select-timetable.html" %}
{% block widget-control %}
{{ block.super }}
<style>
.template-timetable-radiobutton div.timetable-widget span.timetable-cell span { display: none; }
.template-timetable-radiobutton div.timetable-widget span.timetable-cell::before { content: "○"; }
.template-timetable-radiobutton div.timetable-widget span.timetable-cell.on::before { content: "●"; }
</style>
{% endblock %}