aboutsummaryrefslogtreecommitdiff
path: root/simpleSigning/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'simpleSigning/src/main/resources')
-rw-r--r--simpleSigning/src/main/resources/html/bkuSelektion2
-rw-r--r--simpleSigning/src/main/resources/html/fileupload4
-rw-r--r--simpleSigning/src/main/resources/html/questionForm.html4
-rw-r--r--simpleSigning/src/main/resources/html/submit2
-rw-r--r--simpleSigning/src/main/resources/html/textinput2
-rw-r--r--simpleSigning/src/main/resources/js/pdfas.js11
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');