aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/webapp/index.jsp
diff options
context:
space:
mode:
authorfschneider <florian.schneider@student.tugraz.at>2015-08-06 11:58:40 +0200
committerfschneider <florian.schneider@student.tugraz.at>2015-08-06 11:58:40 +0200
commit1e4a0af51ff6b90cca57791b698433d36febb2a5 (patch)
tree67a90c6db6dbc0cc3f280777590ff5388ec2ae1b /pdf-as-web/src/main/webapp/index.jsp
parent6ad08a29d82e4e733cbc252ab8cfbd5d6bf6a992 (diff)
downloadpdf-as-4-1e4a0af51ff6b90cca57791b698433d36febb2a5.tar.gz
pdf-as-4-1e4a0af51ff6b90cca57791b698433d36febb2a5.tar.bz2
pdf-as-4-1e4a0af51ff6b90cca57791b698433d36febb2a5.zip
Moved dropzone and file browser
Diffstat (limited to 'pdf-as-web/src/main/webapp/index.jsp')
-rw-r--r--pdf-as-web/src/main/webapp/index.jsp23
1 files changed, 14 insertions, 9 deletions
diff --git a/pdf-as-web/src/main/webapp/index.jsp b/pdf-as-web/src/main/webapp/index.jsp
index 58102ebf..abc2ece1 100644
--- a/pdf-as-web/src/main/webapp/index.jsp
+++ b/pdf-as-web/src/main/webapp/index.jsp
@@ -18,13 +18,14 @@
<div id="sidebar">
<div id="fileSelector" class="container">
<h3 class="center">File Selector</h3>
- <div id="dropzone" class="center">
+ <!--<div id="dropzone" class="center">
Drag and Drop your Document here ...
</div>
- <div id="traditionalUpload">
+ <div id="traditionalUpload">
<p>... or select File here</p>
<input type="file" name="pdf-file" id="pdf-file" accept="application/pdf">
- </div>
+ </div> --> <!-- Care: id and name must be unique! -->
+
</div>
<div id="signMethod" class="container">
@@ -77,8 +78,7 @@
</tr>
<%
}
- %>
-
+ %>
</table>
</fieldset>
</div>
@@ -86,8 +86,8 @@
<div id="language" class="container">
<h3 class="center">Language</h3>
<fieldset>
- <input type="radio" id="EN" name="locale" value="EN" checked><label for="EN">Englisch</label><br>
- <input type="radio" id="DE" name="locale" value="DE"><label for="DE">Deutsch</label><br>
+ <input type="radio" id="EN" name="locale" value="EN" checked><label for="EN">Englisch</label><br>
+ <input type="radio" id="DE" name="locale" value="DE"><label for="DE">Deutsch</label><br>
</fieldset>
</div>
@@ -98,10 +98,15 @@
<div id="main" class="container">
-
<h3 class="center">Preview</h3>
<div id="content" class="center">
- Please select the pdf file you want to sign!
+ <div id="borderBox" class="center">
+ <div>
+ <p> Drop your file here</p>
+ <p>... or select File here</p>
+ <input type="file" name="pdf-file" id="pdf-file" accept="application/pdf">
+ </div>
+ </div>
</div>
</div>