Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SE1 Assets
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rahe, Christian
SE1 Assets
Commits
1c42e184
Commit
1c42e184
authored
Nov 17, 2021
by
Rahe, Christian
Browse files
Options
Downloads
Patches
Plain Diff
hard coded style path
parent
a4cd7a9a
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
style/inject.js
+3
-1
3 additions, 1 deletion
style/inject.js
with
3 additions
and
1 deletion
style/inject.js
+
3
−
1
View file @
1c42e184
const
STYLE_PATH
=
"
https://gitlab.rrz.uni-hamburg.de/BAT0013/se1-assets/-/raw/main/style/
"
;
function
injectStyle
(
stylesheet
)
{
let
link
=
document
.
createElement
(
"
link
"
);
link
.
href
=
STYLE_PATH
+
stylesheet
;
link
.
type
=
"
text/css
"
;
link
.
rel
=
"
stylesheet
"
;
link
.
href
=
"
./
"
+
stylesheet
;
document
.
head
.
appendChild
(
link
);
}
...
...
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