diff --git a/scipost_django/colleges/templates/colleges/_hx_nomination_li_contents.html b/scipost_django/colleges/templates/colleges/_hx_nomination_li_contents.html index a7d11ee58f2bc161f0a0d6de932621e01dc30bc8..f8baf32b272a34d8bb7b944f070493f0c82786b8 100644 --- a/scipost_django/colleges/templates/colleges/_hx_nomination_li_contents.html +++ b/scipost_django/colleges/templates/colleges/_hx_nomination_li_contents.html @@ -93,7 +93,7 @@ {% if "edadmin" in user_roles or "active_senior_fellow" in user_roles %} <div class="col-12 col-md mb-3"> <details class="border"> - <summary class="p-2 bg-light list-triangle">Events</summary> + <summary class="p-2 bg-light d-block list-triangle">Events</summary> {% include 'colleges/_nomination_events_table.html' with nomination=nomination %} </details> </div> @@ -101,7 +101,7 @@ <div class="col-12 col-md mb-3"> <details class="border"> - <summary class="p-2 bg-light list-triangle">Comments</summary> + <summary class="p-2 bg-light d-block list-triangle">Comments</summary> <div class="p-3"> @@ -160,13 +160,13 @@ <div class="row"> <div class="col"> <details class="border"> - <summary class="p-2 bg-light list-triangle">All voting rounds</summary> + <summary class="p-2 bg-light d-block list-triangle">All voting rounds</summary> <div class="p-3"> {% for round in nomination.voting_rounds.all %} <details> - <summary class="list-triangle"> + <summary class="d-block list-triangle"> #{{ forloop.counter0|add:1 }} from {{ round.voting_opens|date:"Y-m-d" }} to {{ round.voting_deadline|date:"Y-m-d" }} </summary> diff --git a/scipost_django/colleges/templates/colleges/_hx_nominations_invitations.html b/scipost_django/colleges/templates/colleges/_hx_nominations_invitations.html index 1cdfb939981a5b9e8102e215d10cb06bf6f96d8f..17a67db0d7131994cc7542d12cd347c6bf41d49a 100644 --- a/scipost_django/colleges/templates/colleges/_hx_nominations_invitations.html +++ b/scipost_django/colleges/templates/colleges/_hx_nominations_invitations.html @@ -8,13 +8,13 @@ <div class="row"> <div class="col-12 col-md"> <details class="m-2 mt-3 border"> - <summary class="p-2 bg-light list-triangle">Events</summary> + <summary class="p-2 bg-light d-block list-triangle">Events</summary> {% include 'colleges/_nomination_events_table.html' with nomination=invitation.nomination %} </details> </div> <div class="col-12 col-md"> <details open class="m-2 mt-3 border"> - <summary class="p-2 bg-light list-triangle">Checklist</summary> + <summary class="p-2 bg-light d-block list-triangle">Checklist</summary> {% include 'colleges/_nominations_invitation_checklist.html' with invitation=invitation %} </details> </div> diff --git a/scipost_django/colleges/templates/colleges/nominations.html b/scipost_django/colleges/templates/colleges/nominations.html index f24bdaad945150e85daf5f95e90cb95986d6953c..b124408530689451402f92575f7f8aa79cb637fb 100644 --- a/scipost_django/colleges/templates/colleges/nominations.html +++ b/scipost_django/colleges/templates/colleges/nominations.html @@ -29,7 +29,7 @@ </p> <details class="border border-warning border-2 mt-4"> - <summary class="bg-warning bg-opacity-10 p-2 d-flex list-triangle"> + <summary class="bg-warning bg-opacity-10 p-2 d-block list-triangle"> <div class="fs-5">Nominate</div> </summary> @@ -105,7 +105,7 @@ {% if "edadmin" in user_roles or "active_senior_fellow" in user_roles %} <details id="ensure-specialties-details" class="border border-danger border-2 mt-4"> - <summary class="bg-danger bg-opacity-10 p-2 d-flex list-triangle"> + <summary class="bg-danger bg-opacity-10 p-2 d-block list-triangle"> <div class="fs-5">Start voting</div> </summary> @@ -125,7 +125,7 @@ {% endif %} <details id="voting-details" class="border border-primary border-2 mt-4"> - <summary class="bg-primary bg-opacity-10 p-2 d-flex list-triangle"> + <summary class="bg-primary bg-opacity-10 p-2 d-block list-triangle"> <div class="fs-5"> {% if 'edadmin' not in user_roles %} @@ -138,15 +138,15 @@ </summary> <div class="p-2"> - <div id="voting_tablist" hx-trigger="toggle from:#voting-details, click from:body target:.nomination-start-round-btn" hx-get="{% url 'colleges:_hx_voting_rounds' %}?tab= + <div id="voting_tablist" hx-trigger="toggle from:#voting-details, click from:body target:.nomination-start-round-btn" hx-get="{% url 'colleges:_hx_voting_rounds' %}?tab= {% if 'edadmin' in user_roles %}ongoing{% else %}ongoing-vote_required{% endif %} - "></div> + "></div> </div> </details> {% if "edadmin" in user_roles %} <details id="invitations-details" class="border border-success border-2 mt-4"> - <summary class="bg-success bg-opacity-10 p-2 d-flex list-triangle"> + <summary class="bg-success bg-opacity-10 p-2 d-block list-triangle"> <div class="fs-5">Manage invitations</div> </summary> @@ -160,7 +160,7 @@ {% endif %} <details id="list-details" class="border border-2 mt-4"> - <summary class="bg-light p-2 d-flex list-triangle"> + <summary class="bg-light p-2 d-block list-triangle"> <div class="fs-5">List / filter</div> </summary>