UI: Implement toggle-bars to My conference filters #103981

Merged
Márton Lente merged 5 commits from ui/my-conference-toggles into main 2024-10-29 15:20:31 +01:00
Showing only changes of commit 1b501f637f - Show all commits

View File

@ -103,28 +103,28 @@
data-schedule-filter-value="only-show-going") data-schedule-filter-value="only-show-going")
.toggle-bar-container .toggle-bar-container
label.me-2.toggle-bar(for="filter-going-only-show-going") div.me-2 Going
label.toggle-bar(for="filter-going-only-show-going")
input(type="checkbox", input(type="checkbox",
id="filter-going-only-show-going", id="filter-going-only-show-going",
checked=false, checked=false,
onchange="scheduleFilterToggle(event)", onchange="scheduleFilterToggle(event)",
autocomplete="off") autocomplete="off")
span.slider span.slider
div Going
| {% else %} | {% else %}
.schedule-filter.filter-favorite( .schedule-filter.filter-favorite(
data-schedule-filter-type="favorites", data-schedule-filter-type="favorites",
data-schedule-filter-value="only-show-favorites") data-schedule-filter-value="only-show-favorites")
.toggle-bar-container .toggle-bar-container
label.me-2.toggle-bar(for="filter-favorites-only-show-favorites") div.me-2 Favorites
label.toggle-bar(for="filter-favorites-only-show-favorites")
input(type="checkbox", input(type="checkbox",
id="filter-favorites-only-show-favorites", id="filter-favorites-only-show-favorites",
checked=false, checked=false,
onchange="scheduleFilterToggle(event)", onchange="scheduleFilterToggle(event)",
autocomplete="off") autocomplete="off")
span.slider span.slider
div Favorites
| {% endif %} | {% endif %}
| {% else %} | {% else %}
.schedule-filters .schedule-filters