From b1011a61cb42b42c8a7573eae1c6c3eaaf9f1e60 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Wed, 7 Feb 2018 12:01:05 +0100 Subject: update some more parts to support Content-Security-Policy Header in http --- .../moa/id/auth/frontend/utils/FormBuildUtils.java | 2 +- .../src/main/resources/templates/css_template.css | 10 ++++++++++ .../src/main/resources/templates/javascript_tempalte.js | 5 +++-- .../src/main/resources/templates/loginFormFull.html | 12 ++++++------ .../src/main/resources/templates/slo_template.html | 10 ---------- 5 files changed, 20 insertions(+), 19 deletions(-) (limited to 'id/server/moa-id-frontend-resources/src/main') diff --git a/id/server/moa-id-frontend-resources/src/main/java/at/gv/egovernment/moa/id/auth/frontend/utils/FormBuildUtils.java b/id/server/moa-id-frontend-resources/src/main/java/at/gv/egovernment/moa/id/auth/frontend/utils/FormBuildUtils.java index 71093a4d3..66bfd9c3e 100644 --- a/id/server/moa-id-frontend-resources/src/main/java/at/gv/egovernment/moa/id/auth/frontend/utils/FormBuildUtils.java +++ b/id/server/moa-id-frontend-resources/src/main/java/at/gv/egovernment/moa/id/auth/frontend/utils/FormBuildUtils.java @@ -52,7 +52,7 @@ public class FormBuildUtils { private static String PARAM_STORKVISIBLE = "STORKVISIBLE"; - private static final String TEMPLATEVISIBLE = " display: none"; + private static final String TEMPLATEVISIBLE = " unvisible"; private static final String TEMPLATEDISABLED = "disabled=\"true\""; private static final String TEMPLATECHECKED = "checked=\"true\""; private static final String TEMPLATE_ARIACHECKED = "aria-checked="; diff --git a/id/server/moa-id-frontend-resources/src/main/resources/templates/css_template.css b/id/server/moa-id-frontend-resources/src/main/resources/templates/css_template.css index 691166911..6b33335d3 100644 --- a/id/server/moa-id-frontend-resources/src/main/resources/templates/css_template.css +++ b/id/server/moa-id-frontend-resources/src/main/resources/templates/css_template.css @@ -674,4 +674,14 @@ } #processContent { margin-top: 25px; + } + #eIDASButton { + color:#FFF; + } + #eIDASSelection { + width: 120px; + margin-right: 5px; + } + .unvisible { + display: none; } \ No newline at end of file diff --git a/id/server/moa-id-frontend-resources/src/main/resources/templates/javascript_tempalte.js b/id/server/moa-id-frontend-resources/src/main/resources/templates/javascript_tempalte.js index cc4714006..2076cbbc8 100644 --- a/id/server/moa-id-frontend-resources/src/main/resources/templates/javascript_tempalte.js +++ b/id/server/moa-id-frontend-resources/src/main/resources/templates/javascript_tempalte.js @@ -22,10 +22,11 @@ function isIE() { return false; return !isActivexEnabled() && isFullscreen(); } - window.onload=function() { +/* only required if BKU selection template uses the old local BKU selection form*/ +/* window.onload=function() { document.getElementById("localBKU").style.display="block"; return; - } + }*/ function bkuLocalClicked() { setMandateSelection(); } diff --git a/id/server/moa-id-frontend-resources/src/main/resources/templates/loginFormFull.html b/id/server/moa-id-frontend-resources/src/main/resources/templates/loginFormFull.html index 5a4ca66b7..fe9bc2166 100644 --- a/id/server/moa-id-frontend-resources/src/main/resources/templates/loginFormFull.html +++ b/id/server/moa-id-frontend-resources/src/main/resources/templates/loginFormFull.html @@ -23,7 +23,7 @@

$HEADER_TEXT

-
+
@@ -81,18 +81,18 @@ >Restore SSO Session from Smartphone -
+

Home Country Selection

- $countryList - - i + +

-
-
-- cgit v1.2.3