Skip to main content
Homepage
Explore
Search or go to…
/
Register
Sign in
Explore
Primary navigation
Project
L
leximpact-socio-fiscal-ui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
leximpact
Simulateur socio-fiscal
leximpact-socio-fiscal-ui
Commits
f7c1e580
Unverified
Commit
f7c1e580
authored
May 27, 2024
by
Dorine Lambinet
Browse files
Options
Downloads
Patches
Plain Diff
Change le bouton toggle on off
parent
b0a8ae07
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!226
Supprime variable additionnelle taxe carburant + ajoute petit waterfall custom pour présenter le niveau de vie
Pipeline
#14151
passed
May 27, 2024
Status:
Stage: build
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lib/components/WaterfallView.svelte
+21
-17
21 additions, 17 deletions
src/lib/components/WaterfallView.svelte
with
21 additions
and
17 deletions
src/lib/components/WaterfallView.svelte
+
21
−
17
View file @
f7c1e580
...
...
@@ -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"
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment