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
fb9b359d
Commit
fb9b359d
authored
May 26, 2021
by
Dorine Lambinet
Committed by
Emmanuel Raviart
May 26, 2021
Browse files
Options
Downloads
Patches
Plain Diff
Ajout picto femme et entreprise, pour l'exemple
parent
e9e8f8f5
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/lib/components/scholar_waterfalls/ScholarWaterfall.svelte
+29
-7
29 additions, 7 deletions
...lib/components/scholar_waterfalls/ScholarWaterfall.svelte
with
29 additions
and
7 deletions
src/lib/components/scholar_waterfalls/ScholarWaterfall.svelte
+
29
−
7
View file @
fb9b359d
<script
lang=
"ts"
>
<script
lang=
"ts"
>
import
{
createEventDispatcher
,
getContext
}
from
"
svelte
"
import
{
createEventDispatcher
,
getContext
}
from
"
svelte
"
import
PictoFemme
from
"
$lib/components/latchkeys/PictoFemme.svelte
"
import
PictoEntreprise
from
"
$lib/components/latchkeys/PictoEntreprise.svelte
"
import
type
{
Writable
}
from
"
svelte/store
"
import
type
{
Writable
}
from
"
svelte/store
"
import
{
session
}
from
"
$app/stores
"
import
{
session
}
from
"
$app/stores
"
...
@@ -233,10 +236,10 @@
...
@@ -233,10 +236,10 @@
{
#if
nodes
.
length
>
0
}
{
#if
nodes
.
length
>
0
}
<div
class=
"flex border-b border-gray-300"
>
<div
class=
"flex border-b border-gray-300"
>
<!-- partie gauche dispositifs et ticket de caisse-->
<!-- partie gauche dispositifs et ticket de caisse-->
<div
class=
"bg-opacity-40 flex-wrap w-3/5 shadow-
md
"
>
<div
class=
"bg-opacity-40 flex-wrap w-3/5 shadow-
lg
"
>
<div
class=
"flex
flex-row
"
>
<div
class=
"flex "
>
<!-- Navigation dispositifs-->
<!-- Navigation dispositifs-->
<div
class=
"w-
2/3
px-2 pt-5 pb-2 "
>
<div
class=
"w-
3/5
px-2 pt-5 pb-2 "
>
{
#each
nodes
as
node
,
index
}
{
#each
nodes
as
node
,
index
}
<div
<div
class=
" flex h-7 my-1 whitespace-nowrap hover:whitespace-normal"
class=
" flex h-7 my-1 whitespace-nowrap hover:whitespace-normal"
...
@@ -270,8 +273,27 @@
...
@@ -270,8 +273,27 @@
{
/each
}
{
/each
}
</div>
</div>
<!-- ticket de caisse-->
<!-- ticket de caisse-->
<div
class=
"w-2/5 flex pt-5 mr-2"
>
<div
class=
"w-2/5 flex pt-5"
>
<div
class=
"flex-col"
>
{
#each
nodes
as
node
,
index
}
<div
class=
"
{
node
.
open
&&
node
.
children
.
length
>
1
?
'
border-gray-400
'
:
'
border-transparent
'
}
border-t h-7 my-1 px-1 text-sm"
>
{
#if
node
.
open
}
<span
class=
"hidden"
>
=
</span
>
{
:else
if
index
>
0
}{
#if
node
.
delta
[
vectorIndex
]
<
0
}
<span
class=
"text-red-600 font-bold"
>
<PictoFemme
/></span
>
{
:
else
}
<span
class=
"text-green-600 font-bold "
>
<PictoEntreprise
/></span
>
{
/if
}{
/if
}
</div>
{
/each
}
</div>
<div
class=
"flex-col "
>
<div
class=
"flex-col "
>
{
#each
nodes
as
node
,
index
}
{
#each
nodes
as
node
,
index
}
<div
<div
...
@@ -293,7 +315,7 @@
...
@@ -293,7 +315,7 @@
<div
<div
class=
"
{
node
.
open
&&
node
.
childrenName
.
length
>
1
class=
"
{
node
.
open
&&
node
.
childrenName
.
length
>
1
?
'
border-gray-400
'
?
'
border-gray-400
'
:
'
border-transparent
'
}
border-t h-7 my-1
px-1
text-right text-sm"
:
'
border-transparent
'
}
border-t h-7 my-1 text-right text-sm"
class:border-t=
{
node
.
open
}
class:border-t=
{
node
.
open
}
>
>
{
#if
node
.
open
||
index
===
0
}
{
#if
node
.
open
||
index
===
0
}
...
...
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