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")
.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",
id="filter-going-only-show-going",
checked=false,
onchange="scheduleFilterToggle(event)",
autocomplete="off")
span.slider
div Going
| {% else %}
.schedule-filter.filter-favorite(
data-schedule-filter-type="favorites",
data-schedule-filter-value="only-show-favorites")
.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",
id="filter-favorites-only-show-favorites",
checked=false,
onchange="scheduleFilterToggle(event)",
autocomplete="off")
span.slider
div Favorites
| {% endif %}
| {% else %}
.schedule-filters