diff options
| author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2015-02-25 11:47:07 +0100 | 
|---|---|---|
| committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2015-02-25 11:47:07 +0100 | 
| commit | de87f168478445ffb2b018804ea46a834dffcfbf (patch) | |
| tree | b32ae132e6659db1547dbd4af448217b9810a1f6 /pdf-as-web/src/main/webapp/testindex.jsp | |
| parent | e3f2e6dd9bc750b279c28ecc4d026680dc17687b (diff) | |
| download | pdf-as-4-de87f168478445ffb2b018804ea46a834dffcfbf.tar.gz pdf-as-4-de87f168478445ffb2b018804ea46a834dffcfbf.tar.bz2 pdf-as-4-de87f168478445ffb2b018804ea46a834dffcfbf.zip | |
Added QR Code Content Parameter for PDF-As
Diffstat (limited to 'pdf-as-web/src/main/webapp/testindex.jsp')
| -rw-r--r-- | pdf-as-web/src/main/webapp/testindex.jsp | 77 | 
1 files changed, 77 insertions, 0 deletions
| diff --git a/pdf-as-web/src/main/webapp/testindex.jsp b/pdf-as-web/src/main/webapp/testindex.jsp new file mode 100644 index 00000000..8d49caeb --- /dev/null +++ b/pdf-as-web/src/main/webapp/testindex.jsp @@ -0,0 +1,77 @@ +<%@page import="at.gv.egiz.pdfas.web.config.WebConfiguration"%> +<%@page import="at.gv.egiz.pdfas.web.helper.PdfAsHelper"%> +<html> +<head> +<title>PDF-Signatur</title> +</head> +<body> +	<form action="Sign" method="POST" +		enctype="multipart/form-data"> +		<input type="hidden" name="source" id="source" value="internal" />  +		<input type="file" name="pdf-file" id="pdf-file" accept="application/pdf"> +		<% +			if (request.getAttribute("FILEERR") != null) { +		%> +		<p>Bitte die zu signierende PDF Datei angeben.</p> +		<% +			} +		%> + + +		<% +			if (WebConfiguration.getLocalBKUURL() != null) { +		%> +		<img src="assets/img/onlineBKU.png" /> <button type="submit" +			value="bku" name="connector" id="bku">Lokale BKU +		</button> +		<% +			} +		%> +		<% +			if (WebConfiguration.getOnlineBKUURL() != null) { +		%> +		<img src="assets/img/onlineBKU.png" /> +		<button type="submit" value="onlinebku" name="connector" +			id="onlinebku">Online BKU</button> +		<% +			} +		%> +		<% +			if (WebConfiguration.getHandyBKUURL() != null) { +		%> +		<img src="assets/img/mobileBKU.png" /> +		<button type="submit" value="mobilebku" name="connector" id="mobilebku">Handy</button> +		<% +			} +		%> +		<% +			if (WebConfiguration.getKeystoreDefaultEnabled()) { +		%> +			<button type="submit" value="jks" name="connector" +				id="jks">Server Keystore</button> +		<% +			} +		%> +		<% +			if (WebConfiguration.getMOASSEnabled()) { +		%> +			<button type="submit" value="moa" name="connector" +				id="moa">MOA-SS</button> +		<% +			} +		%> +		<p> +		<select name="locale" id="locale" size="3"> +      		<option>EN</option> +      		<option>DE</option> +    	</select> +		</p> +		<p>	 +			<label for="qrcontent">Content of QR Image:</label> +			<input type="text" name="qrcontent" id="qrcontent" /> +		</p> +	</form> +	 +	<p><small>Version: <%= PdfAsHelper.getVersion() %> - <%= PdfAsHelper.getSCMRevision() %></small></p> +</body> +</html>
\ No newline at end of file | 
