Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
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
?
Snippets
Groups
Projects
Show more breadcrumbs
leximpact
Simulateur socio-fiscal
leximpact-socio-fiscal-ui
Commits
66b2b393
Commit
66b2b393
authored
Sep 9, 2021
by
Dorine Lambinet
Browse files
Options
Downloads
Patches
Plain Diff
Première version du message
parent
bf9b6f97
No related branches found
No related tags found
1 merge request
!37
Améliore l'UI d'édition du cas type
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lib/components/variables/VariableReferredInputs.svelte
+56
-30
56 additions, 30 deletions
src/lib/components/variables/VariableReferredInputs.svelte
with
56 additions
and
30 deletions
src/lib/components/variables/VariableReferredInputs.svelte
+
56
−
30
View file @
66b2b393
...
...
@@ -28,12 +28,13 @@
$
:
openAllInputs
=
directInputs
.
length
===
0
</script>
<h2
class=
"font-bold text-xl pt-3 pb-2"
>
<h2
class=
"font-bold text-xl pt-3 pb-2
mx-5
"
>
Définir d'autres caractéristiques
<br
/>
influentes sur :
</h2>
<h1
class=
"bg-le-gris-dispositif-light font-serif text-center mb-3 p-2 rounded-
md
text-lg"
class=
"bg-le-gris-dispositif-light font-serif text-center mb-3 p-2 rounded-
r mr-5
text-lg"
>
<p
class=
"font-medium"
>
{
variable
.
label
??
variable
.
name
}
</p>
<a
...
...
@@ -42,10 +43,31 @@
>
</h1>
<div
class=
"bg-le-bleu-light rounded p-2 drop-shadow-md m-5"
>
<p
class=
"px-2 pb-1"
>
<span
class=
"font-bold"
>
Vous avez besoin de configurer plus précisemment votre cas type ?
</span
>
Contactez-nous sur
<a
class=
"underline hover:text-le-bleu"
href=
"mailto:leximpact@an.fr"
>
leximpact@an.fr
</a
>
.
</p>
<p
class=
"bg-white text-sm m-1 p-2 rounded"
>
Le mode de configuration avancée est fonctionnel mais encore difficile
d'accès. Si vous avez besoin d'utiliser votre cas type dans un amendement,
nous vous proposons une relecture.
<br
/>
Pour cela, utilisez la fonctionnalité "Sauvegarder/Partager dans la
partie supérieure droite de l'écran et transmettez nous le lien de votre
copie de travail ainsi qu'un résumé du cas type que vous cherchez à
concevoir."
</p>
</div>
{
#if
directInputs
.
length
>
0
}
<section
class=
"
bg-gray-100 p
b-3 m
b-3
"
>
<section
class=
"
pb-3 m
b-3 m
r-5
"
>
<h2
class=
"
text-gray-500 flex font-medium tracking-wide
justify-between p-2 text-lg"
class=
"
bg-le-gris-dispositif-ultralight text-black flex
justify-between p
y
-2 text-lg
px-5 rounded-r shadow-inner
"
>
<span>
Caractéristiques écrites dans la formule du dispositif
</span>
<button
on:click=
{
()
=>
(
openDirectInputs
=
!
openDirectInputs
)
}
>
...
...
@@ -74,6 +96,7 @@
</h2>
{
#if
openDirectInputs
}
<div
class=
"ml-5"
>
<ul>
{
#each
directInputs
as
input
}
<li>
...
...
@@ -86,14 +109,15 @@
</li>
{
/each
}
</ul>
</div>
{
/if
}
</section>
{
/if
}
{
#if
inputs
.
length
>
0
}
<section
class=
"
bg-gray-100 p
b-3 m
b-3
"
>
<section
class=
"
pb-3 m
b-3 m
r-5
"
>
<h2
class=
"
text-gray-500 flex font-medium tracking-wide
justify-between p-2 text-lg"
class=
"
bg-le-gris-dispositif-ultralight text-black flex
justify-between p
y
-2 text-lg
px-5 rounded-r shadow-inner
"
>
<span>
Caractéristiques directement influentes
</span>
<button
on:click=
{
()
=>
(
openAllInputs
=
!
openAllInputs
)
}
>
...
...
@@ -120,6 +144,7 @@
</h2>
{
#if
openAllInputs
}
<div
class=
"ml-5"
>
<ul>
{
#each
inputs
as
input
}
<li>
...
...
@@ -132,6 +157,7 @@
</li>
{
/each
}
</ul>
</div>
{
/if
}
</section>
{
/if
}
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