Skip to content

Commit

Permalink
ajout d'onglets sur l'étape 2
Browse files Browse the repository at this point in the history
  • Loading branch information
sblondon committed Oct 31, 2024
1 parent aa74bbf commit 88e303e
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions impact/reglementations/templates/reglementations/csrd/etape2.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,29 @@ <h6>Quoi faire ?</h6>
</div>
</div>


<div class="fr-container fr-pb-6w" id="esg_container" hx-get="{% url "reglementations:rafraichissement_esg" csrd.pk %}" hx-trigger="click from:.fr-btn--close, load"></div>
<div class="fr-tabs">
<ul class="fr-tabs__list" role="tablist" aria-label="onglet-etape-2">
<li role="presentation">
<button id="tabpanel-404" class="fr-tabs__tab fr-tabs__tab--icon-left" tabindex="0" role="tab" aria-selected="true" aria-controls="tabpanel-404-panel">Ajouter des enjeux</button>
</li>
<li role="presentation">
<a class="fr-tabs__tab fr-tabs__tab--icon-left" target="_blank" href="https://yaal.coop">S'inspirer de standards internationaux</a>
</li>
<li role="presentation">
<button id="tabpanel-406" class="fr-tabs__tab fr-tabs__tab--icon-left" tabindex="-1" role="tab" aria-selected="false" aria-controls="tabpanel-406-panel">Ma liste d'enjeux à analyser</button>
</li>
</ul>
<div id="tabpanel-404-panel" class="fr-tabs__panel fr-tabs__panel--selected" role="tabpanel" aria-labelledby="tabpanel-404" tabindex="0">
<div class="fr-container fr-pb-6w" id="esg_container" hx-get="{% url "reglementations:rafraichissement_esg" csrd.pk %}" hx-trigger="click from:.fr-btn--close, load"></div>
</div>
<div id="tabpanel-405-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-405" tabindex="0">
<!-- données de test -->
</div>
<div id="tabpanel-406-panel" class="fr-tabs__panel" role="tabpanel" aria-labelledby="tabpanel-406" tabindex="0">
<!-- données de test -->
<p>Contenu 3plefplzefpẑel</p>
</div>
</div>

<p>
{% include "snippets/csrd_submit.html" with prochaine_etape=3 %}
Expand Down

0 comments on commit 88e303e

Please sign in to comment.