Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CSSP 2023
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Laboratoire de linguistique formelle
Websites
Conferences
CSSP 2023
Commits
7df2a02e
Commit
7df2a02e
authored
1 year ago
by
ROULOIS Alexandre
Browse files
Options
Downloads
Patches
Plain Diff
add jQuery
parent
037f0599
No related branches found
Branches containing commit
No related tags found
2 merge requests
!35
Main
,
!34
Develop
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
package.json
+0
-1
0 additions, 1 deletion
package.json
public/javascripts/activeMenuLink.js
+18
-0
18 additions, 0 deletions
public/javascripts/activeMenuLink.js
public/javascripts/jquery-3.7.1.min.js
+2
-0
2 additions, 0 deletions
public/javascripts/jquery-3.7.1.min.js
with
20 additions
and
1 deletion
package.json
+
0
−
1
View file @
7df2a02e
...
...
@@ -16,7 +16,6 @@
"
i18next
"
:
"
^21.6.6
"
,
"
i18next-fs-backend
"
:
"
^1.1.4
"
,
"
i18next-http-middleware
"
:
"
^3.1.5
"
,
"
jquery
"
:
"
^3.6.4
"
,
"
leaflet
"
:
"
^1.9.3
"
,
"
moment
"
:
"
^2.29.1
"
,
"
morgan
"
:
"
~1.9.0
"
,
...
...
This diff is collapsed.
Click to expand it.
public/javascripts/activeMenuLink.js
0 → 100644
+
18
−
0
View file @
7df2a02e
// pathname eg: /home
const
path
=
$
(
location
).
attr
(
'
pathname
'
).
substr
(
1
);
// menu: active tab
$
(
'
.nav-link
'
).
each
(
function
()
{
if
(
path
!=
''
)
{
if
(
path
==
$
(
this
).
attr
(
'
id
'
))
{
$
(
this
).
addClass
(
'
active
'
);
$
(
this
).
attr
(
'
aria-current
'
,
'
page
'
);
}
else
if
(
path
.
startsWith
(
'
masters
'
))
{
$
(
'
#mastersDropdown
'
).
addClass
(
'
active
'
);
$
(
'
#mastersDropdown
'
).
attr
(
'
aria-current
'
,
'
page
'
);
}
}
else
{
$
(
'
#home
'
).
addClass
(
'
active
'
);
$
(
'
#home
'
).
attr
(
'
aria-current
'
,
'
page
'
);
}
});
\ No newline at end of file
This diff is collapsed.
Click to expand it.
public/javascripts/jquery-3.7.1.min.js
0 → 100644
+
2
−
0
View file @
7df2a02e
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