Skip to content
Snippets Groups Projects
Commit fa9760ed authored by Dorine Lambinet's avatar Dorine Lambinet
Browse files

Affiche le panneau des modifications en cours y compris quand c'est le PLF sur format mobile

parent abe6a721
Branches
Tags
1 merge request!113Picto handicap et garde alternée - distance en px au lieu de rem pour éviter...
Pipeline #6797 passed
......@@ -764,10 +764,10 @@
<h1
class="ml-3 flex border-b border-black pt-3 pb-3 text-2xl font-bold text-black md:hidden"
>
Modifier le droit en vigueur
Modifier le droit en vigueur COUCOU
</h1>
<!--Partie II modification de la loi - MOBILE-->
{#if Object.keys($parametricReform).length !== 0}
{#if billName !== undefined}
<div class="mb-3">
<div
class="mx-3 flex flex-col rounded-b border bg-gray-200 px-2 py-1 shadow-md md:hidden"
......@@ -790,9 +790,23 @@
icon="ri:arrow-up-s-line"
/>
{/if}
<span class="text-lg font-light"
<span class="mr-1 text-lg font-light"
>Modifications en cours</span
>
{#if Object.keys($parametricReform).length !== 0 && displayMode.mobileLaw}
<span class="mr-0.5 flex h-3 w-3">
<span
class="relative inline-flex h-3 w-3 rounded-full bg-le-jaune"
/>
</span>
{/if}
{#if Object.keys($billName).length !== 0 && displayMode.mobileLaw}
<span class="mr-0.5 flex h-3 w-3">
<span
class="relative inline-flex h-3 w-3 rounded-full bg-le-rouge-bill"
/>
</span>
{/if}
</button>
</div>
{#if modificationsOpen}
......@@ -836,7 +850,7 @@
Modifier le droit en vigueur
</h1>
<!--Partie II modification de la loi - MOBILE - vue choisir un dispositif -->
{#if Object.keys($parametricReform).length !== 0}
{#if billName !== undefined}
<div class="mb-3">
<div
class="mx-3 flex flex-col rounded-b border bg-gray-200 px-2 py-1 shadow-md md:hidden"
......@@ -859,9 +873,23 @@
icon="ri:arrow-up-s-line"
/>
{/if}
<span class="text-lg font-light"
>Modifications en cours</span
>
<span class="mr-1 text-lg font-light"
>Modifications en cours
</span>
{#if Object.keys($parametricReform).length !== 0 && displayMode.mobileLaw}
<span class="mr-0.5 flex h-3 w-3">
<span
class="relative inline-flex h-3 w-3 rounded-full bg-le-jaune"
/>
</span>
{/if}
{#if Object.keys($billName).length !== 0 && displayMode.mobileLaw}
<span class="mr-0.5 flex h-3 w-3">
<span
class="relative inline-flex h-3 w-3 rounded-full bg-le-rouge-bill"
/>
</span>
{/if}
</button>
</div>
{#if modificationsOpen}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment