Skip to content

Commit

Permalink
Show accordions uncollapsed by default
Browse files Browse the repository at this point in the history
  • Loading branch information
amstilp committed Sep 5, 2024
1 parent 33bc3bb commit 839f004
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions gregor_django/templates/gregor_anvil/uploadcycle_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@
Within the table for a workspace type, click on the name of a workspace within a table to see more information about that workspace.
</p>

<div class="accordion mb-2" id="accordionCombined">
<div class="accordion mb-3" id="accordionCombined">
<div class="accordion-item">
<h2 class="accordion-header">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseCombined" aria-expanded="true" aria-controls="collapseCombined">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseCombined" aria-expanded="true" aria-controls="collapseCombined">
<span class="fa-solid fa-layer-group mx-2"></span>
Combined consortium data workspaces
<span class="badge mx-2 {% if tables.1.rows|length %}bg-primary{% else %}bg-secondary{% endif %} pill"> {{ tables.1.rows|length }}</span>
</button>
</h2>
<div id="collapseCombined" class="accordion-collapse collapse" data-bs-parent="#accordionCombined">
<div id="collapseCombined" class="accordion-collapse collapse show" data-bs-parent="#accordionCombined">
<div class="accordion-body">
{% render_table tables.1 %}
</div>
Expand All @@ -59,16 +59,16 @@ <h2 class="accordion-header">
</div>


<div class="accordion mb-2" id="accordionUpload">
<div class="accordion mb-3" id="accordionUpload">
<div class="accordion-item">
<h2 class="accordion-header">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseUpload" aria-expanded="true" aria-controls="collapseUpload">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseUpload" aria-expanded="true" aria-controls="collapseUpload">
<span class="fa-solid fa-cloud-arrow-up mx-2"></span>
Upload workspaces
<span class="badge mx-2 {% if tables.0.rows|length %}bg-primary{% else %}bg-secondary{% endif %} pill"> {{ tables.0.rows|length }}</span>
</button>
</h2>
<div id="collapseUpload" class="accordion-collapse collapse" data-bs-parent="#accordionUpload">
<div id="collapseUpload" class="accordion-collapse collapse show" data-bs-parent="#accordionUpload">
<div class="accordion-body">
{% render_table tables.0 %}
</div>
Expand All @@ -77,16 +77,16 @@ <h2 class="accordion-header">
</div>


<div class="accordion mb-2" id="accordionDccProcessing">
<div class="accordion mb-3" id="accordionDccProcessing">
<div class="accordion-item">
<h2 class="accordion-header">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseDccProcessing" aria-expanded="true" aria-controls="collapseDccProcessing">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseDccProcessing" aria-expanded="true" aria-controls="collapseDccProcessing">
<span class="fa-solid fa-hourglass-half mx-2"></span>
DCC processing workspaces
<span class="badge mx-2 {% if tables.3.rows|length %}bg-primary{% else %}bg-secondary{% endif %} pill"> {{ tables.3.rows|length }}</span>
</button>
</h2>
<div id="collapseDccProcessing" class="accordion-collapse collapse" data-bs-parent="#accordionDccProcessing">
<div id="collapseDccProcessing" class="accordion-collapse collapse show" data-bs-parent="#accordionDccProcessing">
<div class="accordion-body">
{% render_table tables.3 %}
</div>
Expand All @@ -95,16 +95,16 @@ <h2 class="accordion-header">
</div>


<div class="accordion mb-2" id="accordionDccProcessedData">
<div class="accordion mb-3" id="accordionDccProcessedData">
<div class="accordion-item">
<h2 class="accordion-header">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseDccProcessedData" aria-expanded="true" aria-controls="collapseDccProcessedData">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseDccProcessedData" aria-expanded="true" aria-controls="collapseDccProcessedData">
<span class="fa-solid fa-hourglass-end mx-2"></span>
DCC processed data workspaces
<span class="badge mx-2 {% if tables.4.rows|length %}bg-primary{% else %}bg-secondary{% endif %} pill"> {{ tables.4.rows|length }}</span>
</button>
</h2>
<div id="collapseDccProcessedData" class="accordion-collapse collapse" data-bs-parent="#accordionDccProcessedData">
<div id="collapseDccProcessedData" class="accordion-collapse collapse show" data-bs-parent="#accordionDccProcessedData">
<div class="accordion-body">
{% render_table tables.4 %}
</div>
Expand All @@ -113,16 +113,16 @@ <h2 class="accordion-header">
</div>


<div class="accordion mb-2" id="accordionReleasePrep">
<div class="accordion mb-3" id="accordionReleasePrep">
<div class="accordion-item">
<h2 class="accordion-header">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseReleasePrep" aria-expanded="true" aria-controls="collapseReleasePrep">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseReleasePrep" aria-expanded="true" aria-controls="collapseReleasePrep">
<span class="fa-solid fa-spinner mx-2"></span>
Release prep workspaces
<span class="badge mx-2 {% if tables.2.rows|length %}bg-primary{% else %}bg-secondary{% endif %} pill"> {{ tables.2.rows|length }}</span>
</button>
</h2>
<div id="collapseReleasePrep" class="accordion-collapse collapse" data-bs-parent="#accordionReleasePrep">
<div id="collapseReleasePrep" class="accordion-collapse collapse show" data-bs-parent="#accordionReleasePrep">
<div class="accordion-body">
{% render_table tables.2 %}
</div>
Expand All @@ -131,16 +131,16 @@ <h2 class="accordion-header">
</div>


<div class="accordion mb-2" id="accordionPartner">
<div class="accordion mb-3" id="accordionPartner">
<div class="accordion-item">
<h2 class="accordion-header">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapsePartner" aria-expanded="true" aria-controls="collapsePartner">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapsePartner" aria-expanded="true" aria-controls="collapsePartner">
<span class="fa-solid fa-handshake mx-2"></span>
Partner upload workspaces
<span class="badge mx-2 {% if tables.5.rows|length %}bg-primary{% else %}bg-secondary{% endif %} pill"> {{ tables.5.rows|length }}</span>
</button>
</h2>
<div id="collapsePartner" class="accordion-collapse collapse" data-bs-parent="#accordionPartner">
<div id="collapsePartner" class="accordion-collapse collapse show" data-bs-parent="#accordionPartner">
<div class="accordion-body">
{% render_table tables.5 %}
</div>
Expand Down

0 comments on commit 839f004

Please sign in to comment.