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
d4e73638
Unverified
Commit
d4e73638
authored
5 years ago
by
Bekerle, Patrizio
Browse files
Options
Downloads
Patches
Plain Diff
Add download link styling (
#2
)
parent
84691675
No related branches found
No related tags found
No related merge requests found
Pipeline
#9826
passed with warnings
5 years ago
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/vpu-signature-pdf-upload.js
+9
-10
9 additions, 10 deletions
src/vpu-signature-pdf-upload.js
vendor/common
+1
-1
1 addition, 1 deletion
vendor/common
with
10 additions
and
11 deletions
src/vpu-signature-pdf-upload.js
+
9
−
10
View file @
d4e73638
...
...
@@ -204,9 +204,12 @@ class SignaturePdfUpload extends VPUSignatureLitElement {
}
.files-block .file {
margin: 10px 0;
}
.error-files .file {
display: grid;
grid-template-columns: 40px auto;
margin: 10px 0;
}
.files-block .file .button-box {
...
...
@@ -238,14 +241,10 @@ class SignaturePdfUpload extends VPUSignatureLitElement {
getSignedFilesHtml
()
{
return
this
.
signedFiles
.
map
(
file
=>
html
`
<div class="file">
<div class="button-box">
<button class="button is-small is-download"
<a class="is-download"
title="
${
i18n
.
t
(
'
pdf-upload.download-file-button-title
'
)}
"
@click="
${()
=>
{
this
.
fileDownloadClickHandler
(
file
);}}
"><vpu-icon name="download"></vpu-icon></button>
</div>
<div class="info">
${
file
.
name
}
(
${
humanFileSize
(
file
.
contentSize
)}
)
</div>
@click="
${()
=>
{
this
.
fileDownloadClickHandler
(
file
);}}
">
${
file
.
name
}
(
${
humanFileSize
(
file
.
contentSize
)}
) <vpu-icon name="download"></vpu-icon></a>
</div>
`
);
}
...
...
@@ -292,7 +291,7 @@ class SignaturePdfUpload extends VPUSignatureLitElement {
<vpu-button id="zip-download-button" value="
${
i18n
.
t
(
'
pdf-upload.download-zip-button
'
)}
" title="
${
i18n
.
t
(
'
pdf-upload.download-zip-button-tooltip
'
)}
" @click="
${
this
.
zipDownloadClickHandler
}
" type="is-primary"></vpu-button>
</div>
</div>
<div class="files-block field
${
classMap
({
hidden
:
this
.
errorFilesCount
===
0
})}
">
<div class="files-block
error-files
field
${
classMap
({
hidden
:
this
.
errorFilesCount
===
0
})}
">
<h2 class="error">
${
i18n
.
t
(
'
pdf-upload.error-files-label
'
)}
</h2>
<div class="control">
${
this
.
getErrorFilesHtml
()}
...
...
This diff is collapsed.
Click to expand it.
common
@
aaf1d872
Compare
e084a42d
...
aaf1d872
Subproject commit
e084a42d6732c421996abc046d159d76effa55f
7
Subproject commit
aaf1d872c3a03b4a4d5d7a55060ac16a3da9a0b
7
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