Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Signature Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
digital blueprint
Electronic Signature Service
Signature Frontend
Commits
f9bf27ec
Commit
f9bf27ec
authored
5 years ago
by
Reiter, Christoph
Browse files
Options
Downloads
Patches
Plain Diff
Avoid referencing the private assets path in the main template
This way we can change it more easily in the future
parent
2d6015d9
No related branches found
No related tags found
No related merge requests found
Pipeline
#11202
passed
5 years ago
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
assets/vpu-signature.html.ejs
+12
-12
12 additions, 12 deletions
assets/vpu-signature.html.ejs
rollup.config.js
+3
-0
3 additions, 0 deletions
rollup.config.js
with
15 additions
and
12 deletions
assets/vpu-signature.html.ejs
+
12
−
12
View file @
f9bf27ec
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<!-- Favicons -->
<!-- Favicons -->
<link
rel=
"shortcut icon"
type=
"image/x-icon"
href=
"<%= get
url('local/vpu-sign
atur
e/
favicon.ico') %>"
>
<link
rel=
"shortcut icon"
type=
"image/x-icon"
href=
"<%= get
priv
at
e
ur
l('
favicon.ico') %>"
>
<link
rel=
"icon"
type=
"image/svg+xml"
href=
"<%= get
url('local/vpu-sign
atur
e/
favicon.svg') %>"
sizes=
"any"
>
<link
rel=
"icon"
type=
"image/svg+xml"
href=
"<%= get
priv
at
e
ur
l('
favicon.svg') %>"
sizes=
"any"
>
<
%
if
(environment =
==
"
local
")
{
-
%
>
<
%
if
(environment =
==
"
local
")
{
-
%
>
<!-- XXX: Disable adoptedStyleSheets so that lit-element doesn't use it and we can edit CSS in the Chrome dev tools -->
<!-- XXX: Disable adoptedStyleSheets so that lit-element doesn't use it and we can edit CSS in the Chrome dev tools -->
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<!-- Loading spinner -->
<!-- Loading spinner -->
<script
type=
"module"
>
<script
type=
"module"
>
import
{
Spinner
}
from
'
<%= get
url(
'
local
/
vpu
-
sign
atur
e
/
spinner
.
js
'
) %>
'
;
import
{
Spinner
}
from
'
<%= get
priv
at
e
ur
l(
'
spinner
.
js
'
) %>
'
;
customElements
.
define
(
'
vpu-loading-spinner
'
,
Spinner
);
customElements
.
define
(
'
vpu-loading-spinner
'
,
Spinner
);
</script>
</script>
...
@@ -31,10 +31,10 @@
...
@@ -31,10 +31,10 @@
<meta
name=
"google"
content=
"notranslate"
>
<meta
name=
"google"
content=
"notranslate"
>
<!-- Preload fonts -->
<!-- Preload fonts -->
<link
rel=
"preload"
href=
"<%= get
url('local/vpu-sign
atur
e/
fonts/SourceSansPro-Light.otf.woff2') %>"
as=
"font"
type=
"font/woff2"
crossorigin
>
<link
rel=
"preload"
href=
"<%= get
priv
at
e
ur
l('
fonts/SourceSansPro-Light.otf.woff2') %>"
as=
"font"
type=
"font/woff2"
crossorigin
>
<link
rel=
"preload"
href=
"<%= get
url('local/vpu-sign
atur
e/
fonts/SourceSansPro-Regular.otf.woff2') %>"
as=
"font"
type=
"font/woff2"
crossorigin
>
<link
rel=
"preload"
href=
"<%= get
priv
at
e
ur
l('
fonts/SourceSansPro-Regular.otf.woff2') %>"
as=
"font"
type=
"font/woff2"
crossorigin
>
<link
rel=
"preload"
href=
"<%= get
url('local/vpu-sign
atur
e/
fonts/SourceSansPro-Semibold.otf.woff2') %>"
as=
"font"
type=
"font/woff2"
crossorigin
>
<link
rel=
"preload"
href=
"<%= get
priv
at
e
ur
l('
fonts/SourceSansPro-Semibold.otf.woff2') %>"
as=
"font"
type=
"font/woff2"
crossorigin
>
<link
rel=
"preload"
href=
"<%= get
url('local/vpu-sign
atur
e/
fonts/SourceSansPro-Bold.otf.woff2') %>"
as=
"font"
type=
"font/woff2"
crossorigin
>
<link
rel=
"preload"
href=
"<%= get
priv
at
e
ur
l('
fonts/SourceSansPro-Bold.otf.woff2') %>"
as=
"font"
type=
"font/woff2"
crossorigin
>
<!-- Matomo -->
<!-- Matomo -->
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
...
@@ -86,28 +86,28 @@
...
@@ -86,28 +86,28 @@
@font-face
{
@font-face
{
font-family
:
'Source Sans Pro'
;
font-family
:
'Source Sans Pro'
;
font-weight
:
300
;
font-weight
:
300
;
src
:
url
(
'<%=
get
url
(
'local/vpu-sign
atur
e/
fonts/SourceSansPro-Light.otf.woff2'
)
%>
') format('
woff2
');
src
:
url
(
'<%=
get
priv
at
e
ur
l
(
'
fonts/SourceSansPro-Light.otf.woff2'
)
%>
') format('
woff2
');
font-display: block;
font-display: block;
}
}
@font-face {
@font-face {
font-family: '
Source
Sans
Pro
';
font-family: '
Source
Sans
Pro
';
font-weight: 400;
font-weight: 400;
src: url('
<%=
get
url
(
'local/vpu-sign
atur
e/
fonts/SourceSansPro-Regular.otf.woff2'
)
%>
') format('
woff2
');
src: url('
<%=
get
priv
at
e
ur
l
(
'
fonts/SourceSansPro-Regular.otf.woff2'
)
%>
') format('
woff2
');
font-display: block;
font-display: block;
}
}
@font-face {
@font-face {
font-family: '
Source
Sans
Pro
';
font-family: '
Source
Sans
Pro
';
font-weight: 600;
font-weight: 600;
src: url('
<%=
get
url
(
'local/vpu-sign
atur
e/
fonts/SourceSansPro-Semibold.otf.woff2'
)
%>
') format('
woff2
');
src: url('
<%=
get
priv
at
e
ur
l
(
'
fonts/SourceSansPro-Semibold.otf.woff2'
)
%>
') format('
woff2
');
font-display: block;
font-display: block;
}
}
@font-face {
@font-face {
font-family: '
Source
Sans
Pro
';
font-family: '
Source
Sans
Pro
';
font-weight: 700;
font-weight: 700;
src: url('
<%=
get
url
(
'local/vpu-sign
atur
e/
fonts/SourceSansPro-Bold.otf.woff2'
)
%>
') format('
woff2
'
);
src: url('
<%=
get
priv
at
e
ur
l
(
'
fonts/SourceSansPro-Bold.otf.woff2'
)
%>
') format('
woff2
'
);
font-display
:
block
;
font-display
:
block
;
}
}
...
@@ -138,7 +138,7 @@
...
@@ -138,7 +138,7 @@
>
<vpu-loading-spinner></vpu-loading-spinner></vpu-app-signature>
>
<vpu-loading-spinner></vpu-loading-spinner></vpu-app-signature>
<!-- Error handling for too old browsers -->
<!-- Error handling for too old browsers -->
<script
src=
"<%= get
url('local/vpu-sign
atur
e/
browser-check.js') %>"
defer
></script>
<script
src=
"<%= get
priv
at
e
ur
l('
browser-check.js') %>"
defer
></script>
<noscript>
Diese Applikation benötigt Javascript / This application requires Javascript
</noscript>
<noscript>
Diese Applikation benötigt Javascript / This application requires Javascript
</noscript>
</body>
</body>
</html>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
rollup.config.js
+
3
−
0
View file @
f9bf27ec
...
@@ -212,6 +212,9 @@ export default {
...
@@ -212,6 +212,9 @@ export default {
geturl
:
(
p
)
=>
{
geturl
:
(
p
)
=>
{
return
url
.
resolve
(
basePath
,
p
);
return
url
.
resolve
(
basePath
,
p
);
},
},
getprivateurl
:
(
p
)
=>
{
return
url
.
resolve
(
`
${
basePath
}
local/
${
pkg
.
name
}
/`
,
p
);
},
entryPointURL
:
entryPointURL
,
entryPointURL
:
entryPointURL
,
keyCloakServer
:
keyCloakServer
,
keyCloakServer
:
keyCloakServer
,
keyCloakBaseURL
:
keyCloakBaseURL
,
keyCloakBaseURL
:
keyCloakBaseURL
,
...
...
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