You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.8 KiB
Plaintext
36 lines
1.8 KiB
Plaintext
extends layout.pug
|
|
block head
|
|
block content
|
|
.container
|
|
.row
|
|
.col-sm-8
|
|
h3 Invoice Signer
|
|
form#form
|
|
.m-3
|
|
label.form-label.file-upload-wrapper(for='formFile') Choose a file to embed an image
|
|
input#mainFile.form-control(type='file',accept=".pdf,.zip",required='')
|
|
.m-3
|
|
label.form-label(for='formFileMultiple') Add images if you don't want to use default sign and stamp
|
|
input#imgFiles.form-control(type='file' multiple='',accept=".jpg,.png")
|
|
.m-3
|
|
.container
|
|
.row
|
|
.col
|
|
label(for="xpos") X Position
|
|
input#xpos.form-control(type="number",required='',value="50")
|
|
.col
|
|
label(for="ypos") Y Position
|
|
input#ypos.form-control(type="number",required='',value="50")
|
|
.col
|
|
label(for="scalefactor") Scale Factor
|
|
input#sf.form-control(type="number",required='',value="1.0")
|
|
.m-3.text-start
|
|
button.btn.btn-primary(type="submit") Confirm
|
|
.col-sm-4
|
|
.bg-light.container
|
|
h3 Last Files
|
|
ul.list-group
|
|
each file in lastFiles
|
|
form(method='get',action='/invoice_sign/download')
|
|
input.list-group-item-primary.list-group-item.list-group-item-action(type='submit', name='downloadFile', value=file.name)
|
|
script(src='js/signer.js') |