UI: Implement Web Assets' theme system, and add 'dark' theme #103972

Merged
Márton Lente merged 23 commits from ui/theme-system into main 2024-09-30 15:03:39 +02:00
3 changed files with 30 additions and 31 deletions
Showing only changes of commit c693b29389 - Show all commits

@ -1 +1 @@
Subproject commit 988d23bff0deb21518ec477c2ae67730e84e7712 Subproject commit 52a05c428631d617fee9f50ced9adfeef19ce3d9

View File

@ -6,20 +6,19 @@
.col-md-3 .col-md-3
| {% block sidebar %} | {% block sidebar %}
.card .card
ul.list-group.list-group-flush div(aria-orientation="vertical", class="flex-column mb-4 nav nav-pills", role="tablist")
li.list-group-item a.nav-pills-item(class="{% if 'profile' in request.path %}active{% endif %}")(href="{% url 'profile_update' %}")
a(href="{% url 'profile_update' %}") i.i-user
| #[i.fa.fa-home] Profile | Profile
li.list-group-item a.nav-pills-item(class="{% if 'favorites' in request.path %}active{% endif %}")(href="{% url 'account_favorites_list' %}")
a(href="{% url 'account_favorites_list' %}") i.i-heart
| #[i.fa.fa-home] Favorites | Favourites
li.list-group-item a.nav-pills-item(class="{% if 'presentations' in request.path %}active{% endif %}")(href="{% url 'account_presentations_list' %}")
a(href="{% url 'account_presentations_list' %}") i.i-layers
| #[i.fa.fa-home] My Presentations | My Presentations
li.list-group-item a.nav-pills-item(class="{% if 'festival' in request.path %}active{% endif %}")(href="{% url 'account_festival_entries_list' %}")
a(href="{% url 'account_festival_entries_list' %}") i.i-tv
| #[i.fa.fa-home] My Festival Entries | My Festival Entries
| {% endblock sidebar %} | {% endblock sidebar %}
.col-md-9 .col-md-9

View File

@ -5,22 +5,22 @@
.row .row
.col-md-3.mb-3 .col-md-3.mb-3
| {% block sidebar %} | {% block sidebar %}
ul.list-group div(aria-orientation="vertical", class="flex-column mb-4 nav nav-pills", role="tablist")
li.list-group-item(class="{% if 'profile' in request.path %}is-active{% endif %}") a.nav-pills-item(class="{% if 'profile' in request.path %}active{% endif %}")(href="{% url 'profile_update' %}")
a(href="{% url 'profile_update' %}") i.i-user
| #[i.i-user] Profile | Profile
li.list-group-item(class="{% if 'favorites' in request.path %}is-active{% endif %}") a.nav-pills-item(class="{% if 'favorites' in request.path %}active{% endif %}")(href="{% url 'account_favorites_list' %}")
a(href="{% url 'account_favorites_list' %}") i.i-heart
| #[i.i-heart] Favorites | Favourites
li.list-group-item(class="{% if 'presentations' in request.path %}is-active{% endif %}") a.nav-pills-item(class="{% if 'presentations' in request.path %}active{% endif %}")(href="{% url 'account_presentations_list' %}")
a(href="{% url 'account_presentations_list' %}") i.i-layers
| #[i.i-layers] My Presentations | My Presentations
li.list-group-item(class="{% if 'festival' in request.path %}is-active{% endif %}") a.nav-pills-item(class="{% if 'festival' in request.path %}active{% endif %}")(href="{% url 'account_festival_entries_list' %}")
a(href="{% url 'account_festival_entries_list' %}") i.i-tv
| #[i.i-tv] My Festival Entries | My Festival Entries
li.list-group-item(class="{% if 'ticket' in request.path %}is-active{% endif %}") a.nav-pills-item(class="{% if 'ticket' in request.path %}active{% endif %}")(href="{% url 'tickets:list' %}")
a(href="{% url 'tickets:list' %}") i.i-ticket
| #[i.i-ticket] Tickets | Tickets
| {% endblock sidebar %} | {% endblock sidebar %}
.col-md-9 .col-md-9