UI: Implement web-assets v2 component nav-pills #103973
@ -6,20 +6,19 @@
|
||||
.col-md-3
|
||||
| {% block sidebar %}
|
||||
.card
|
||||
ul.list-group.list-group-flush
|
||||
li.list-group-item
|
||||
a(href="{% url 'profile_update' %}")
|
||||
| #[i.fa.fa-home] Profile
|
||||
li.list-group-item
|
||||
a(href="{% url 'account_favorites_list' %}")
|
||||
| #[i.fa.fa-home] Favorites
|
||||
li.list-group-item
|
||||
a(href="{% url 'account_presentations_list' %}")
|
||||
| #[i.fa.fa-home] My Presentations
|
||||
li.list-group-item
|
||||
a(href="{% url 'account_festival_entries_list' %}")
|
||||
| #[i.fa.fa-home] My Festival Entries
|
||||
|
||||
div(aria-orientation="vertical", class="flex-column mb-4 nav nav-pills", role="tablist")
|
||||
a.nav-pills-item(class="{% if 'profile' in request.path %}active{% endif %}")(href="{% url 'profile_update' %}")
|
||||
i.i-user
|
||||
| Profile
|
||||
a.nav-pills-item(class="{% if 'favorites' in request.path %}active{% endif %}")(href="{% url 'account_favorites_list' %}")
|
||||
i.i-heart
|
||||
| Favourites
|
||||
a.nav-pills-item(class="{% if 'presentations' in request.path %}active{% endif %}")(href="{% url 'account_presentations_list' %}")
|
||||
i.i-layers
|
||||
| My Presentations
|
||||
a.nav-pills-item(class="{% if 'festival' in request.path %}active{% endif %}")(href="{% url 'account_festival_entries_list' %}")
|
||||
i.i-tv
|
||||
| My Festival Entries
|
||||
| {% endblock sidebar %}
|
||||
|
||||
.col-md-9
|
||||
|
@ -5,22 +5,22 @@
|
||||
.row
|
||||
.col-md-3.mb-3
|
||||
| {% block sidebar %}
|
||||
ul.list-group
|
||||
li.list-group-item(class="{% if 'profile' in request.path %}is-active{% endif %}")
|
||||
a(href="{% url 'profile_update' %}")
|
||||
| #[i.i-user] Profile
|
||||
li.list-group-item(class="{% if 'favorites' in request.path %}is-active{% endif %}")
|
||||
a(href="{% url 'account_favorites_list' %}")
|
||||
| #[i.i-heart] Favorites
|
||||
li.list-group-item(class="{% if 'presentations' in request.path %}is-active{% endif %}")
|
||||
a(href="{% url 'account_presentations_list' %}")
|
||||
| #[i.i-layers] My Presentations
|
||||
li.list-group-item(class="{% if 'festival' in request.path %}is-active{% endif %}")
|
||||
a(href="{% url 'account_festival_entries_list' %}")
|
||||
| #[i.i-tv] My Festival Entries
|
||||
li.list-group-item(class="{% if 'ticket' in request.path %}is-active{% endif %}")
|
||||
a(href="{% url 'tickets:list' %}")
|
||||
| #[i.i-ticket] Tickets
|
||||
div(aria-orientation="vertical", class="flex-column mb-4 nav nav-pills", role="tablist")
|
||||
a.nav-pills-item(class="{% if 'profile' in request.path %}active{% endif %}")(href="{% url 'profile_update' %}")
|
||||
i.i-user
|
||||
| Profile
|
||||
a.nav-pills-item(class="{% if 'favorites' in request.path %}active{% endif %}")(href="{% url 'account_favorites_list' %}")
|
||||
i.i-heart
|
||||
| Favourites
|
||||
a.nav-pills-item(class="{% if 'presentations' in request.path %}active{% endif %}")(href="{% url 'account_presentations_list' %}")
|
||||
i.i-layers
|
||||
| My Presentations
|
||||
a.nav-pills-item(class="{% if 'festival' in request.path %}active{% endif %}")(href="{% url 'account_festival_entries_list' %}")
|
||||
i.i-tv
|
||||
| My Festival Entries
|
||||
a.nav-pills-item(class="{% if 'ticket' in request.path %}active{% endif %}")(href="{% url 'tickets:list' %}")
|
||||
i.i-ticket
|
||||
| Tickets
|
||||
| {% endblock sidebar %}
|
||||
|
||||
.col-md-9
|
||||
|
Loading…
Reference in New Issue
Block a user