Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
leximpact-portail
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
Site accueil
leximpact-portail
Merge requests
!53
Nouveau portail
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Nouveau portail
nouveau-portail
into
master
Overview
0
Commits
45
Pipelines
45
Changes
37
Merged
Dorine Lambinet
requested to merge
nouveau-portail
into
master
1 year ago
Overview
0
Commits
45
Pipelines
45
Changes
37
0
0
Merge request reports
Compare
master
version 44
43d48560
1 year ago
version 43
121dc3cf
1 year ago
version 42
5633ae87
1 year ago
version 41
6c7edaf2
1 year ago
version 40
7f5717df
1 year ago
version 39
1153777c
1 year ago
version 38
fbde404b
1 year ago
version 37
d85bcb06
1 year ago
version 36
7e77ecb2
1 year ago
version 35
b110e842
1 year ago
version 34
c73c0c4c
1 year ago
version 33
1cbee497
1 year ago
version 32
e5d2cf54
1 year ago
version 31
70a343a2
1 year ago
version 30
6236f92b
1 year ago
version 29
9834426b
1 year ago
version 28
1393332b
1 year ago
version 27
07068365
1 year ago
version 26
12f7c3bb
1 year ago
version 25
0e35d086
1 year ago
version 24
b190b2d8
1 year ago
version 23
59bf3f4a
1 year ago
version 22
3ac8584e
1 year ago
version 21
bacdf9a1
1 year ago
version 20
fae59c24
1 year ago
version 19
b73bb844
1 year ago
version 18
93c1afae
1 year ago
version 17
8ca67c42
1 year ago
version 16
2d823faf
1 year ago
version 15
30663803
1 year ago
version 14
60b9a1dd
1 year ago
version 13
d162a499
1 year ago
version 12
c5fe6463
1 year ago
version 11
a29c887c
1 year ago
version 10
8c5ab738
1 year ago
version 9
4e6f4a19
1 year ago
version 8
2c7e813c
1 year ago
version 7
94df3b02
1 year ago
version 6
8413dba5
1 year ago
version 5
25734070
1 year ago
version 4
cc36945d
1 year ago
version 3
f0de521b
1 year ago
version 2
d4f20322
1 year ago
version 1
86c5a860
1 year ago
master (base)
and
latest version
latest version
8c6c2732
45 commits,
1 year ago
version 44
43d48560
45 commits,
1 year ago
version 43
121dc3cf
44 commits,
1 year ago
version 42
5633ae87
43 commits,
1 year ago
version 41
6c7edaf2
42 commits,
1 year ago
version 40
7f5717df
41 commits,
1 year ago
version 39
1153777c
40 commits,
1 year ago
version 38
fbde404b
39 commits,
1 year ago
version 37
d85bcb06
38 commits,
1 year ago
version 36
7e77ecb2
37 commits,
1 year ago
version 35
b110e842
36 commits,
1 year ago
version 34
c73c0c4c
35 commits,
1 year ago
version 33
1cbee497
34 commits,
1 year ago
version 32
e5d2cf54
33 commits,
1 year ago
version 31
70a343a2
32 commits,
1 year ago
version 30
6236f92b
31 commits,
1 year ago
version 29
9834426b
30 commits,
1 year ago
version 28
1393332b
29 commits,
1 year ago
version 27
07068365
28 commits,
1 year ago
version 26
12f7c3bb
27 commits,
1 year ago
version 25
0e35d086
26 commits,
1 year ago
version 24
b190b2d8
25 commits,
1 year ago
version 23
59bf3f4a
24 commits,
1 year ago
version 22
3ac8584e
23 commits,
1 year ago
version 21
bacdf9a1
22 commits,
1 year ago
version 20
fae59c24
21 commits,
1 year ago
version 19
b73bb844
20 commits,
1 year ago
version 18
93c1afae
20 commits,
1 year ago
version 17
8ca67c42
19 commits,
1 year ago
version 16
2d823faf
18 commits,
1 year ago
version 15
30663803
17 commits,
1 year ago
version 14
60b9a1dd
16 commits,
1 year ago
version 13
d162a499
15 commits,
1 year ago
version 12
c5fe6463
14 commits,
1 year ago
version 11
a29c887c
13 commits,
1 year ago
version 10
8c5ab738
12 commits,
1 year ago
version 9
4e6f4a19
11 commits,
1 year ago
version 8
2c7e813c
10 commits,
1 year ago
version 7
94df3b02
9 commits,
1 year ago
version 6
8413dba5
8 commits,
1 year ago
version 5
25734070
7 commits,
1 year ago
version 4
cc36945d
6 commits,
1 year ago
version 3
f0de521b
5 commits,
1 year ago
version 2
d4f20322
4 commits,
1 year ago
version 1
86c5a860
3 commits,
1 year ago
37 files
+
1488
−
1620
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
37
src/lib/components/transverse_pages/AnchorTitle.svelte
0 → 100644
+
50
−
0
View file @ 8c6c2732
Edit in single-file editor
Open in Web IDE
<script
lang=
"ts"
>
import
CopyClipboard
from
"
$lib/components/transverse_pages/CopyClipboard.svelte
"
export
let
id
:
string
export
let
tag
=
"
h2
"
let
clipboardElement
:
HTMLElement
let
linkCopied
=
false
function
copyUrl
()
{
if
(
id
===
undefined
)
{
return
}
const
baseUrl
=
window
.
location
.
origin
+
window
.
location
.
pathname
const
urlWithAnchor
=
`
${
baseUrl
}
#
${
id
}
`
const
copyClipboard
=
new
CopyClipboard
({
target
:
clipboardElement
,
props
:
{
value
:
urlWithAnchor
},
})
copyClipboard
.
$destroy
()
linkCopied
=
true
setTimeout
(()
=>
{
linkCopied
=
false
},
2000
)
}
</script>
<div
bind:this=
{
clipboardElement
}
/>
<svelte:element
this=
{
tag
}
{...$$
restProps
}
{
id
}
class="relative group
{
$$props
.
class
?? ''
}
"
>
<button
class=
"absolute -ml-8 mt-1 h-6"
on:click=
{
copyUrl
}
>
<iconify-icon
class=
"group-hover:text-black text-neutral-400 text-2xl"
icon=
"ri-links-line"
/>
{
#if
linkCopied
}
<span
class=
"absolute -top-2 left-1/2 -translate-x-1/2 -translate-y-full bg-le-vert-800 text-white px-2 py-1 text-sm text-nowrap rounded-md font-sans font-normal z-50"
>
Lien copié !
</span
>
{
/if
}
</button>
<slot
/>
</svelte:element>
Loading