From d0c59a890be350ff1c39901e7fa94bf68c048065 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Tue, 28 Jan 2014 16:05:21 +0100 Subject: URL Whitelist + Basic Design --- .../webapp/WEB-INF/decorators/default_layout.jsp | 43 +++++------ pdf-as-web/src/main/webapp/index.jsp | 84 +++++++++++----------- 2 files changed, 61 insertions(+), 66 deletions(-) (limited to 'pdf-as-web/src/main/webapp') diff --git a/pdf-as-web/src/main/webapp/WEB-INF/decorators/default_layout.jsp b/pdf-as-web/src/main/webapp/WEB-INF/decorators/default_layout.jsp index 1179d48c..045fd2b9 100644 --- a/pdf-as-web/src/main/webapp/WEB-INF/decorators/default_layout.jsp +++ b/pdf-as-web/src/main/webapp/WEB-INF/decorators/default_layout.jsp @@ -5,37 +5,28 @@ <%@page contentType="text/html; charset=UTF-8"%> - - - - - - + + + + + + - <decorator:title></decorator:title> - - - - +<decorator:title></decorator:title> + -
-
-

PDF-Signatur

-
- -
-
- -
-
+

+

PDF-Signatur

+

- +

+ +

-
- +

+

© EGIZ 2014

+

\ No newline at end of file diff --git a/pdf-as-web/src/main/webapp/index.jsp b/pdf-as-web/src/main/webapp/index.jsp index 8aba0dff..355c7838 100644 --- a/pdf-as-web/src/main/webapp/index.jsp +++ b/pdf-as-web/src/main/webapp/index.jsp @@ -6,47 +6,51 @@
- -
has-error <% } %>"> - -

- <% if(request.getAttribute("FILEERR") != null) { %> - Bitte die zu signierende PDF Datei angeben. - <% } else { %> - Zu signierende PDF Datei - <% } %>

-
- <% if(WebConfiguration.getOnlineBKUURL() != null || - WebConfiguration.getLocalBKUURL() != null) { %> -
- - - <% if(WebConfiguration.getLocalBKUURL() != null) { %> - - <% } %> - <% if(WebConfiguration.getOnlineBKUURL() != null) { %> - - <% } %> -
- <% } %> - <% if(WebConfiguration.getHandyBKUURL() != null) { %> -
- - - -
- <% } %> - <% if(WebConfiguration.getKeystoreEnabled()) { %> -
+ + <% + if (request.getAttribute("FILEERR") != null) { + %> +

Bitte die zu signierende PDF Datei angeben.

+ <% + } + %> + + + <% + if (WebConfiguration.getLocalBKUURL() != null) { + %> + Lokale BKU + + <% + } + %> + <% + if (WebConfiguration.getOnlineBKUURL() != null) { + %> + + + <% + } + %> + <% + if (WebConfiguration.getHandyBKUURL() != null) { + %> + + + <% + } + %> + <% + if (WebConfiguration.getKeystoreEnabled()) { + %> - -
- <% } %> + id="jks">Server Keystore + <% + } + %>
\ No newline at end of file -- cgit v1.2.3