diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-08-14 15:59:34 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-08-14 15:59:34 +0200 |
commit | ada6471f114c3e39f9b41294fb3b94c76b16bf59 (patch) | |
tree | 1d6a39842fbd9bed82bcae778dd4e75403b2123d /simpleSigning/src/main/resources | |
parent | 34bda0835fa7ea1da4f200a757cdb7338566e777 (diff) | |
download | einfach-signieren-ada6471f114c3e39f9b41294fb3b94c76b16bf59.tar.gz einfach-signieren-ada6471f114c3e39f9b41294fb3b94c76b16bf59.tar.bz2 einfach-signieren-ada6471f114c3e39f9b41294fb3b94c76b16bf59.zip |
More changes
Diffstat (limited to 'simpleSigning/src/main/resources')
-rw-r--r-- | simpleSigning/src/main/resources/html/bkuSelektion | 2 | ||||
-rw-r--r-- | simpleSigning/src/main/resources/html/fileupload | 4 | ||||
-rw-r--r-- | simpleSigning/src/main/resources/html/questionForm.html | 4 | ||||
-rw-r--r-- | simpleSigning/src/main/resources/html/submit | 2 | ||||
-rw-r--r-- | simpleSigning/src/main/resources/html/textinput | 2 | ||||
-rw-r--r-- | simpleSigning/src/main/resources/js/pdfas.js | 11 |
6 files changed, 17 insertions, 8 deletions
diff --git a/simpleSigning/src/main/resources/html/bkuSelektion b/simpleSigning/src/main/resources/html/bkuSelektion index 0f11fa3..94c6d31 100644 --- a/simpleSigning/src/main/resources/html/bkuSelektion +++ b/simpleSigning/src/main/resources/html/bkuSelektion @@ -1,5 +1,5 @@ -<table cellspacing="0" cellpadding="5" width="540px"> +<table cellspacing="5" cellpadding="0" width="540px"> <tbody> <tr> <td width="160px" height="100px" align="center"> diff --git a/simpleSigning/src/main/resources/html/fileupload b/simpleSigning/src/main/resources/html/fileupload index 0e09bee..cfc126b 100644 --- a/simpleSigning/src/main/resources/html/fileupload +++ b/simpleSigning/src/main/resources/html/fileupload @@ -1,4 +1,4 @@ -<table cellspacing="0" cellpadding="5" width="540px"> +<table cellspacing="5" cellpadding="0" width="540px"> <tbody> <tr> <td width="100%"> @@ -7,7 +7,7 @@ Zu signierendes PDF: </tr> <tr> <td width="100%"> -<input type="file" name="pdf-file" id="pdf-file" accept="application/pdf"> +<input style="width: 520px" type="file" name="pdf-file" id="pdf-file" accept="application/pdf"> </td> </tr> </tbody> diff --git a/simpleSigning/src/main/resources/html/questionForm.html b/simpleSigning/src/main/resources/html/questionForm.html index 0d9f9b9..c0d59d3 100644 --- a/simpleSigning/src/main/resources/html/questionForm.html +++ b/simpleSigning/src/main/resources/html/questionForm.html @@ -7,10 +7,10 @@ <link media="screen" href="pdfas.css" type="text/css" rel="stylesheet"> </head> -<body> +<body style="margin: 5px"> <form name="CustomizedForm" action="##ACTIONURL##" method="POST" enctype="multipart/form-data"> - <table style="margin: 10px"> + <table> <tbody> <tr> <td>##REPLACE##FILEUP##</td> diff --git a/simpleSigning/src/main/resources/html/submit b/simpleSigning/src/main/resources/html/submit index 1b3a840..c6c268c 100644 --- a/simpleSigning/src/main/resources/html/submit +++ b/simpleSigning/src/main/resources/html/submit @@ -1 +1 @@ -<button type="submit">Upload</button>
\ No newline at end of file +<button type="submit">##REPLACE##NAME##</button>
\ No newline at end of file diff --git a/simpleSigning/src/main/resources/html/textinput b/simpleSigning/src/main/resources/html/textinput index 261a6d0..09e4aad 100644 --- a/simpleSigning/src/main/resources/html/textinput +++ b/simpleSigning/src/main/resources/html/textinput @@ -1,4 +1,4 @@ -<table cellspacing="0" cellpadding="5" width="540px"> +<table cellspacing="5" cellpadding="0" width="540px"> <tbody> <tr> <td width="100%"> diff --git a/simpleSigning/src/main/resources/js/pdfas.js b/simpleSigning/src/main/resources/js/pdfas.js index 4c520aa..6ddb7d7 100644 --- a/simpleSigning/src/main/resources/js/pdfas.js +++ b/simpleSigning/src/main/resources/js/pdfas.js @@ -170,7 +170,16 @@ pdfAs.createAsyncSignature = function(pdfUrl, connector, divID, pdfAsURL, type, innerdiv.appendChild(iframe); } else { var element = document.getElementById(divID); - element.appendChild(iframe); + + var innerdiv = document.createElement('div'); + innerdiv.style.display = 'block'; + element.appendChild(innerdiv); + var innerdivbottom = document.createElement('div'); + innerdivbottom.style.display = 'block'; + element.appendChild(innerdivbottom); + innerdivbottom.innerHTML = "<center><button type='button' style='margin: 8px;' onclick='pdfAs.closeInstance(\"" + eventId + "\")'>Abbrechen</button></center>" + + innerdiv.appendChild(iframe); } var form = document.createElement('form'); |