diff options
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 | 
