The entire day in calendar is now clickable when a day need to be selected

This commit is contained in:
Greg Burri 2025-05-31 21:49:07 +02:00
parent 4c6f39b61f
commit f228486c5a
3 changed files with 54 additions and 39 deletions

View file

@ -33,7 +33,7 @@
</div>
</div>
<ul class="weekdays">
<ul class="days">
{% let day_names = [
Sentence::CalendarMondayAbbreviation,
Sentence::CalendarTuesdayAbbreviation,
@ -52,9 +52,6 @@
</li>
{% endfor %}
</ul>
<ul class="days">
{% for i in 0..5 %}
{% for j in 0..7 %}
{# All days of the current selected month will have the class 'current-month' #}
@ -68,11 +65,7 @@
<div id="hidden-templates-calendar">
<div class="scheduled-recipe-with-link-and-remove"><a></a>
<span class="remove-scheduled-recipe button tooltip">
<span class="tooltiptext">
{{ context.tr.t(Sentence::CalendarUnschedule) }}
</span>
</span>
<span class="remove-scheduled-recipe button tooltip"><span class="tooltiptext">{{ context.tr.t(Sentence::CalendarUnschedule) }}</span></span>
</div>
<div class="scheduled-recipe"></div>