Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Login
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Coscine
frontend
apps
Login
Commits
ce03319b
Commit
ce03319b
authored
5 years ago
by
Benedikt Heinrichs
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Correct the image path (coscine/issues#292)
parent
f72a3f35
No related branches found
No related tags found
1 merge request
!7
Fix: Correct the image path (coscine/issues#292)
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/App.vue
+7
-6
7 additions, 6 deletions
src/App.vue
vue.config.js
+2
-2
2 additions, 2 deletions
vue.config.js
with
9 additions
and
8 deletions
src/App.vue
+
7
−
6
View file @
ce03319b
...
...
@@ -127,6 +127,7 @@ if (document.currentScript !== undefined) {
imageEnabled
=
true
;
}
const
scriptUrl
=
(
scriptPath
===
''
)
?
'
/
'
:
scriptPath
.
substring
(
0
,
scriptPath
.
indexOf
(
'
app.js
'
));
const
rootUrl
=
(
scriptPath
.
indexOf
(
'
/js
'
)
!==
-
1
)
?
scriptUrl
.
replace
(
'
/js
'
,
''
)
:
scriptUrl
;
function
getReturnUrl
()
{
const
hookupElement
=
document
.
getElementById
(
'
loginpage
'
);
...
...
@@ -155,17 +156,17 @@ export default Vue.extend({
computed
:
{
cssProps
()
{
return
{
'
--linkWhite
'
:
'
url(
'
+
scrip
tUrl
+
linkWhitePath
+
'
) 1px 9px no-repeat
'
,
'
--mailGrey
'
:
'
url(
'
+
scrip
tUrl
+
mailGreyPath
+
'
) 0px 6px no-repeat
'
,
'
--phoneGrey
'
:
'
url(
'
+
scrip
tUrl
+
phoneGreyPath
+
'
) 0px 6px no-repeat
'
,
'
--faxGrey
'
:
'
url(
'
+
scrip
tUrl
+
faxGreyPath
+
'
) 0px 6px no-repeat
'
,
'
--linkWhite
'
:
'
url(
'
+
roo
tUrl
+
linkWhitePath
+
'
) 1px 9px no-repeat
'
,
'
--mailGrey
'
:
'
url(
'
+
roo
tUrl
+
mailGreyPath
+
'
) 0px 6px no-repeat
'
,
'
--phoneGrey
'
:
'
url(
'
+
roo
tUrl
+
phoneGreyPath
+
'
) 0px 6px no-repeat
'
,
'
--faxGrey
'
:
'
url(
'
+
roo
tUrl
+
faxGreyPath
+
'
) 0px 6px no-repeat
'
,
};
},
},
data
()
{
return
{
coscineImage
:
scrip
tUrl
+
coscineImagePath
,
rwthImage
:
scrip
tUrl
+
rwthImagePath
,
coscineImage
:
roo
tUrl
+
coscineImagePath
,
rwthImage
:
roo
tUrl
+
rwthImagePath
,
imageEnabled
,
returnUrl
:
getReturnUrl
(),
orcidUrl
:
getORCiDUrl
(),
...
...
This diff is collapsed.
Click to expand it.
vue.config.js
+
2
−
2
View file @
ce03319b
...
...
@@ -14,6 +14,6 @@ module.exports = {
config
.
optimization
.
delete
(
'
splitChunks
'
)
},
css
:
{
extract
:
false
,
},
extract
:
false
,
},
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Ghost User
@ghost
mentioned in commit
d144e62e
·
5 years ago
mentioned in commit
d144e62e
mentioned in commit d144e62efeb81c7021ff1e63563588c8fea3c99e
Toggle commit list
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