Skip to main content
Sign in
Snippets Groups Projects
Unverified Commit f7c1e580 authored by Dorine Lambinet's avatar Dorine Lambinet
Browse files

Change le bouton toggle on off

parent b0a8ae07
Branches
Tags
1 merge request!226Supprime variable additionnelle taxe carburant + ajoute petit waterfall custom pour présenter le niveau de vie
Pipeline #14151 passed
......@@ -528,6 +528,27 @@
</div>
</div>
<!-- Choix d'affichage des montant nuls -->
<div
class="mx-4 mt-3 flex justify-start"
id="situation_{situationIndex}_waterfall_showall"
>
<label class="inline-flex items-center cursor-pointer">
<input
type="checkbox"
value=""
class="sr-only peer"
bind:checked={$showNulls}
/>
<div
class="relative w-11 h-6 bg-gray-400 peer-focus:outline-none peer-focus:ring-4 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-le-vert-500"
></div>
<span class="ms-3 text-sm font-medium text-gray-900 dark:text-gray-300"
>Montrer tous les dispositifs, y compris si le montant est nul.</span
>
</label>
</div>
<!--AJout de la variable niveau de vie-->
{#if $waterfall.name === "brut_to_disponible"}
<div
......@@ -646,23 +667,6 @@
</div>
{/if}
<!-- Choix d'affichage des montant nuls -->
<div
class="mx-6 mt-3 flex"
id="situation_{situationIndex}_waterfall_showall"
>
<label class="inline-flex py-2 text-xs leading-none text-gray-600">
<input
bind:checked={$showNulls}
class="checked rounded bg-gray-100 accent-gray-500"
type="checkbox"
/>
<span class="ml-2"
>Montrer tous les dispositifs, y compris si le montant est nul.</span
>
</label>
</div>
{#if firstPersonActivity !== "inactif"}
<button
class="w-full flex items-center gap-2 text-neutral-600 text-start border-b px-4 py-2 mt-10 hover:bg-neutral-100 active:bg-neutral-200 transition-all"
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment