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
0fdfcbf8
Commit
0fdfcbf8
authored
2 years ago
by
Dorine Lambinet
Browse files
Options
Downloads
Patches
Plain Diff
Modifie le design des expansions panels
parent
26f87d31
No related branches found
No related tags found
1 merge request
!101
Améliorations UI
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/lib/components/test_cases/TestCaseView.svelte
+20
-7
20 additions, 7 deletions
src/lib/components/test_cases/TestCaseView.svelte
src/lib/components/variables/VariableReferredParameters.svelte
+12
-12
12 additions, 12 deletions
...ib/components/variables/VariableReferredParameters.svelte
with
32 additions
and
19 deletions
src/lib/components/test_cases/TestCaseView.svelte
+
20
−
7
View file @
0fdfcbf8
...
@@ -132,7 +132,7 @@
...
@@ -132,7 +132,7 @@
<
div
class
=
"
origin-center -rotate-90
"
>
<
div
class
=
"
origin-center -rotate-90
"
>
<
div
class
=
"
flex
"
>
<
div
class
=
"
flex
"
>
<
span
<
span
class
=
"
mr-2 text-xs uppercase tracking-wide text-gray-
5
00 xl:text-sm
"
class
=
"
mr-2 text-xs uppercase tracking-wide text-gray-
6
00 xl:text-sm
"
class
:
text
-
le
-
bleu
=
{
name
===
$waterfall
.
name
}
class
:
text
-
le
-
bleu
=
{
name
===
$waterfall
.
name
}
class
:
font
-
bold
=
{
name
===
$waterfall
.
name
}
class
:
font
-
bold
=
{
name
===
$waterfall
.
name
}
>
>
...
@@ -303,27 +303,40 @@
...
@@ -303,27 +303,40 @@
</div>
</div>
<!--Bouton pour passer du mode compact au mode waterfall-->
<!--Bouton pour passer du mode compact au mode waterfall-->
<div
class=
"flex justify-en
d
"
>
<div
class=
"
flex
w-full
justify-
betwe
en"
>
{
#if
displayMode.compact
}
{
#if
displayMode.compact
}
<a
<a
class=
"
flex
cursor-pointer
gap-1 rounded-t-md border-x border-t bg-gray-100 p-3 text-sm uppercase text-gray-600 hover:underline
"
class=
"
w-full
cursor-pointer"
href=
{
newSimulationUrl(
{
href=
{
newSimulationUrl(
{
...displayMode,
...displayMode,
compact: undefined,
compact: undefined,
}
)}
}
)}
data-sveltekit-noscroll
data-sveltekit-noscroll
><Icon
class=
"h-5 w-5"
icon=
"ri-eye-line"
/>
voir tous
><div
dispositifs
</a
class=
"mb-2 flex items-center border-gray-300 py-1 pr-4 text-gray-600 "
>
<Icon
class=
"h-5 min-h-fit w-5"
icon=
"ri-arrow-right-s-line"
/><span
class=
"tracking-wider "
>
Voir tous les dispositifs
</span
>
</div></a
>
>
{
:else
}
{
:else
}
<a
<a
class=
"
flex
cursor-pointer
gap-1 rounded-t-md border-x border-t bg-gray-100 p-3 text-sm uppercase text-gray-600 hover:underline
"
class=
"
w-full
cursor-pointer"
href=
{
newSimulationUrl(
{
href=
{
newSimulationUrl(
{
...displayMode,
...displayMode,
compact: true,
compact: true,
}
)}
}
)}
data-sveltekit-noscroll
data-sveltekit-noscroll
><Icon
class=
"h-5 w-5"
icon=
"ri-eye-off-line"
/>
Masquer
</a
><div
class=
"flex items-center border-b border-gray-300 py-1 pr-4 text-gray-600"
>
<Icon
class=
"h-5 min-h-fit w-5"
icon=
"ri-arrow-up-s-line"
/>
<span
class=
"tracking-wider"
>
Tous les dispositifs
</span>
</div></a
>
>
{
/if
}
{
/if
}
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/lib/components/variables/VariableReferredParameters.svelte
+
12
−
12
View file @
0fdfcbf8
...
@@ -163,16 +163,17 @@
...
@@ -163,16 +163,17 @@
{
#if
billDecomposition
?.
children
===
undefined
}
{
#if
billDecomposition
?.
children
===
undefined
}
{
#if
Object
.
keys
(
bothRootDirectParameterById
).
length
>
0
}
{
#if
Object
.
keys
(
bothRootDirectParameterById
).
length
>
0
}
<button
<button
class=
"mb-3 w-full border-b border-
black
py-1 pr-4
text-black
"
class=
"mb-3 w-full border-b border-
gray-300
py-1 pr-4 "
on:click=
{
()
=>
(
openDirectParameters
=
!
openDirectParameters
)
}
on:click=
{
()
=>
(
openDirectParameters
=
!
openDirectParameters
)
}
>
>
<div
class=
"flex
justify-between
"
>
<div
class=
"flex
items-center text-gray-600
"
>
{
#if
openDirectParameters
}
{
#if
openDirectParameters
}
<Icon
class=
"
inline-flex h-5
w-5"
icon=
"ri
:
arrow-up-s-line"
/>
<Icon
class=
"
h-5 min-h-fit
w-5"
icon=
"ri
-
arrow-up-s-line"
/>
{
:
else
}
{
:
else
}
<Icon
class=
"inline-flex h-5 w-5"
icon=
"ri:arrow-down-s-line"
/>
<Icon
class=
"h-5 min-h-fit w-5"
icon=
"ri-arrow-right-s-line"
/>
{
/if
}
{
/if
}
<span
class=
"ml-1 tracking-wider"
<span
class=
"tracking-wider"
>
Principaux paramètres de la loi
</span>
>
Principaux paramètres de la loi
</span
>
</div>
</div>
</button>
</button>
...
@@ -215,16 +216,15 @@
...
@@ -215,16 +216,15 @@
{
#if
Object
.
keys
(
bothRootParameterById
).
length
>
0
}
{
#if
Object
.
keys
(
bothRootParameterById
).
length
>
0
}
<button
<button
class=
"mb-3 w-full border-b border-
black
py-1 pr-4 text-
black
"
class=
"mb-3 w-full border-b
border-
gray-300
py-1 pr-4 text-
gray-600
"
on:click=
{
()
=>
(
openAllParameters
=
!
openAllParameters
)
}
on:click=
{
()
=>
(
openAllParameters
=
!
openAllParameters
)
}
>
>
<div
class=
"flex
justify-between
"
>
<div
class=
"flex
items-center
"
>
{
#if
openAllParameters
}
{
#if
openAllParameters
}
<Icon
class=
"
inline-flex h-5
w-5"
icon=
"ri
:
arrow-up-s-line"
/>
<Icon
class=
"
h-5 min-h-fit
w-5"
icon=
"ri
-
arrow-up-s-line"
/>
{
:
else
}
{
:
else
}
<Icon
class=
"inline-flex h-5 w-5"
icon=
"ri:arrow-down-s-line"
/>
<Icon
class=
"h-5 min-h-fit w-5"
icon=
"ri-arrow-right-s-line"
/>
{
/if
}
{
/if
}
<span
class=
"tracking-wider"
<span
class=
"tracking-wider"
>
Autres paramètres affectant le dispositif
</span
>
Autres paramètres affectant le dispositif
</span
>
>
</div>
</div>
...
...
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