Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBRepo
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
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
FAIR Data Austria DB Repository
DBRepo
Commits
2a9bab35
Verified
Commit
2a9bab35
authored
1 year ago
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
Updated switcher
parent
0975ca6a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.docs/overrides/main.html
+3
-17
3 additions, 17 deletions
.docs/overrides/main.html
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
mkdocs.yml
+2
-0
2 additions, 0 deletions
mkdocs.yml
with
6 additions
and
17 deletions
.docs/overrides/main.html
+
3
−
17
View file @
2a9bab35
...
@@ -4,22 +4,8 @@
...
@@ -4,22 +4,8 @@
<label
for=
"version"
>
Version
</label>
<label
for=
"version"
>
Version
</label>
<select
style=
"margin-left:8px;"
id=
"version"
name=
"version"
onchange=
"switchVersion(this.options[this.selectedIndex].value)"
>
<select
style=
"margin-left:8px;"
id=
"version"
name=
"version"
onchange=
"switchVersion(this.options[this.selectedIndex].value)"
>
<option
value=
"latest"
>
latest
</option>
<option
value=
"latest"
>
latest
</option>
<option
value=
"1.4"
>
1.4
</option>
<option
value=
"1.4.1"
>
1.4.1
</option>
<option
value=
"1.3"
>
1.3
</option>
<option
value=
"1.4.0"
>
1.4.0
</option>
<option
value=
"1.3.0"
>
1.3.0
</option>
</select>
</select>
<script>
function
getVersion
()
{
const
segments
=
location
.
pathname
.
split
(
'
/
'
)
if
(
segments
.
length
>=
4
)
{
return
segments
[
3
]
}
else
{
return
'
1.4
'
}
}
function
switchVersion
(
value
)
{
if
(
!
value
)
{
return
}
this
.
location
.
href
=
location
.
protocol
+
'
//
'
+
location
.
host
+
'
/infrastructures/dbrepo/
'
+
value
+
'
/
'
}
document
.
getElementById
(
"
version
"
).
value
=
getVersion
()
</script>
{% endblock %}
{% endblock %}
This diff is collapsed.
Click to expand it.
.gitignore
+
1
−
0
View file @
2a9bab35
...
@@ -7,6 +7,7 @@ target/
...
@@ -7,6 +7,7 @@ target/
# generated
# generated
ready
ready
schema.xsd
schema.xsd
swagger/
# docs
# docs
.docs/.swagger/dist/
.docs/.swagger/dist/
...
...
This diff is collapsed.
Click to expand it.
mkdocs.yml
+
2
−
0
View file @
2a9bab35
...
@@ -42,6 +42,8 @@ nav:
...
@@ -42,6 +42,8 @@ nav:
-
contact.md
-
contact.md
extra_css
:
extra_css
:
-
stylesheets/extra.css
-
stylesheets/extra.css
extra_javascript
:
-
scripts/extra.js
theme
:
theme
:
favicon
:
images/signet_white.png
favicon
:
images/signet_white.png
custom_dir
:
.docs/overrides
custom_dir
:
.docs/overrides
...
...
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