Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
zedflow
fgdi
Commits
940dc59e
Commit
940dc59e
authored
Mar 19, 2026
by
Traboulsi
Browse files
Update public/js/paperfilter.js
parent
99ff59cf
Pipeline
#12375
passed with stage
in 13 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
public/js/paperfilter.js
View file @
940dc59e
var
state2024
=
0
var
state2025
=
0
var
state2026
=
0
var
state2020
=
0
var
state2020
=
0
var
state2021
=
0
var
state2021
=
0
var
state2022
=
0
var
state2022
=
0
...
@@ -35,6 +38,12 @@ function filter(year){
...
@@ -35,6 +38,12 @@ function filter(year){
state
=
state2022
state
=
state2022
}
else
if
(
year
==
"
2023
"
)
{
}
else
if
(
year
==
"
2023
"
)
{
state
=
state2023
state
=
state2023
}
else
if
(
year
==
"
2024
"
)
{
state
=
state2024
}
else
if
(
year
==
"
2025
"
)
{
state
=
state2025
}
else
if
(
year
==
"
2026
"
)
{
state
=
state2026
}
}
if
(
state
==
0
){
if
(
state
==
0
){
...
@@ -199,6 +208,105 @@ function filter(year){
...
@@ -199,6 +208,105 @@ function filter(year){
document
.
getElementById
(
"
filter2020
"
).
innerHTML
=
"
2020
"
document
.
getElementById
(
"
filter2020
"
).
innerHTML
=
"
2020
"
document
.
getElementById
(
"
filter2022
"
).
innerHTML
=
"
2022 (
"
+
count
+
"
)
"
document
.
getElementById
(
"
filter2022
"
).
innerHTML
=
"
2022 (
"
+
count
+
"
)
"
count
=
0
count
=
0
}
else
if
(
year
==
"
2024
"
){
for
(
var
j
=
0
;
j
<
jsonContent
.
length
;
j
++
)
{
var
filterString
=
jsonContent
[
j
].
item
.
conference
.
date
.
toString
()
if
(
filterString
.
includes
(
'
2024
'
)
||
jsonContent
[
j
].
item
.
journal
.
year
==
2024
)
{
addpaper
(
jsonContent
[
j
]);
count
+=
1
}
state
=
1
}
document
.
getElementById
(
"
filter2024
"
).
style
.
backgroundColor
=
"
grey
"
document
.
getElementById
(
"
filter2021
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2019
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2020
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2022
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2023
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2025
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2026
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filterall
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2024
"
).
innerHTML
=
"
2024 (
"
+
count
+
"
)
"
// andere Labels zurücksetzen
document
.
getElementById
(
"
filter2023
"
).
innerHTML
=
"
2023
"
document
.
getElementById
(
"
filter2022
"
).
innerHTML
=
"
2022
"
if
(
lang_setting
==
"
1
"
)
{
document
.
getElementById
(
"
filterall
"
).
innerHTML
=
"
All
"
}
else
if
(
lang_setting
==
"
2
"
)
{
document
.
getElementById
(
"
filterall
"
).
innerHTML
=
"
Alles
"
}
count
=
0
}
else
if
(
year
==
"
2025
"
){
for
(
var
j
=
0
;
j
<
jsonContent
.
length
;
j
++
)
{
var
filterString
=
jsonContent
[
j
].
item
.
conference
.
date
.
toString
()
if
(
filterString
.
includes
(
'
2025
'
)
||
jsonContent
[
j
].
item
.
journal
.
year
==
2025
)
{
addpaper
(
jsonContent
[
j
]);
count
+=
1
}
state
=
1
}
document
.
getElementById
(
"
filter2025
"
).
style
.
backgroundColor
=
"
grey
"
document
.
getElementById
(
"
filter2021
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2019
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2020
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2022
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2023
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2024
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2026
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filterall
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2025
"
).
innerHTML
=
"
2025 (
"
+
count
+
"
)
"
document
.
getElementById
(
"
filter2024
"
).
innerHTML
=
"
2024
"
document
.
getElementById
(
"
filter2023
"
).
innerHTML
=
"
2023
"
document
.
getElementById
(
"
filter2022
"
).
innerHTML
=
"
2022
"
if
(
lang_setting
==
"
1
"
)
{
document
.
getElementById
(
"
filterall
"
).
innerHTML
=
"
All
"
}
else
if
(
lang_setting
==
"
2
"
)
{
document
.
getElementById
(
"
filterall
"
).
innerHTML
=
"
Alles
"
}
count
=
0
}
else
if
(
year
==
"
2026
"
){
for
(
var
j
=
0
;
j
<
jsonContent
.
length
;
j
++
)
{
var
filterString
=
jsonContent
[
j
].
item
.
conference
.
date
.
toString
()
if
(
filterString
.
includes
(
'
2026
'
)
||
jsonContent
[
j
].
item
.
journal
.
year
==
2026
)
{
addpaper
(
jsonContent
[
j
]);
count
+=
1
}
state
=
1
}
document
.
getElementById
(
"
filter2026
"
).
style
.
backgroundColor
=
"
grey
"
document
.
getElementById
(
"
filter2021
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2019
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2020
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2022
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2023
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2024
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2025
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filterall
"
).
style
.
backgroundColor
=
"
lightgrey
"
document
.
getElementById
(
"
filter2026
"
).
innerHTML
=
"
2026 (
"
+
count
+
"
)
"
document
.
getElementById
(
"
filter2025
"
).
innerHTML
=
"
2025
"
document
.
getElementById
(
"
filter2024
"
).
innerHTML
=
"
2024
"
document
.
getElementById
(
"
filter2023
"
).
innerHTML
=
"
2023
"
if
(
lang_setting
==
"
1
"
)
{
document
.
getElementById
(
"
filterall
"
).
innerHTML
=
"
All
"
}
else
if
(
lang_setting
==
"
2
"
)
{
document
.
getElementById
(
"
filterall
"
).
innerHTML
=
"
Alles
"
}
count
=
0
}
else
if
(
year
==
"
All
"
||
year
==
"
Alles
"
)
}
else
if
(
year
==
"
All
"
||
year
==
"
Alles
"
)
{
{
document
.
getElementById
(
"
nextblock
"
).
style
.
display
=
"
block
"
document
.
getElementById
(
"
nextblock
"
).
style
.
display
=
"
block
"
...
@@ -265,7 +373,40 @@ function filter(year){
...
@@ -265,7 +373,40 @@ function filter(year){
state2022
=
0
state2022
=
0
state2023
=
1
state2023
=
1
stateall
=
0
stateall
=
0
}
else
if
(
year
==
"
All
"
||
year
==
"
Alles
"
){
}
else
if
(
year
==
"
2024
"
){
state2024
=
1
state2019
=
0
state2020
=
0
state2021
=
0
state2022
=
0
state2023
=
0
state2025
=
0
state2026
=
0
stateall
=
0
}
else
if
(
year
==
"
2025
"
){
state2025
=
1
state2019
=
0
state2020
=
0
state2021
=
0
state2022
=
0
state2023
=
0
state2024
=
0
state2026
=
0
stateall
=
0
}
else
if
(
year
==
"
2026
"
){
state2026
=
1
state2019
=
0
state2020
=
0
state2021
=
0
state2022
=
0
state2023
=
0
state2024
=
0
state2025
=
0
stateall
=
0
}
else
if
(
year
==
"
All
"
||
year
==
"
Alles
"
){
state2019
=
0
state2019
=
0
state2020
=
0
state2020
=
0
state2021
=
0
state2021
=
0
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment