aboutsummaryrefslogtreecommitdiff
path: root/id/server/auth/src/main/webapp/index.html
diff options
context:
space:
mode:
authorkstranacher <kstranacher@d688527b-c9ab-4aba-bd8d-4036d912da1d>2010-07-16 07:33:54 +0000
committerkstranacher <kstranacher@d688527b-c9ab-4aba-bd8d-4036d912da1d>2010-07-16 07:33:54 +0000
commit5289de5862d5b3bacbca2f274f44c79d1f1dae5d (patch)
treeb0d7b23367534c811b683eacd9b2156dd1da874e /id/server/auth/src/main/webapp/index.html
parentb6d6d65334689f60d41a4eba1a1660c12e90d580 (diff)
downloadmoa-id-spss-5289de5862d5b3bacbca2f274f44c79d1f1dae5d.tar.gz
moa-id-spss-5289de5862d5b3bacbca2f274f44c79d1f1dae5d.tar.bz2
moa-id-spss-5289de5862d5b3bacbca2f274f44c79d1f1dae5d.zip
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@1174 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id/server/auth/src/main/webapp/index.html')
-rw-r--r--id/server/auth/src/main/webapp/index.html89
1 files changed, 25 insertions, 64 deletions
diff --git a/id/server/auth/src/main/webapp/index.html b/id/server/auth/src/main/webapp/index.html
index cbe587f2e..46ac4dd86 100644
--- a/id/server/auth/src/main/webapp/index.html
+++ b/id/server/auth/src/main/webapp/index.html
@@ -8,80 +8,47 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" type="text/css" href="css/index.css">
- <script src="js/browser.js" type="text/javascript"></script>
- <script src="js/deployJava.js" type="text/javascript"></script>
<script type="text/javascript">
window.onload=function() {
document.getElementById("localBKU").style.display="none";
- document.getElementById("installJava").style.display="none";
- document.getElementById("BrowserNOK").style.display="none";
return;
}
function bkuOnlineClicked() {
<!-- [OPTIONAL] Um die lokale BKU auszublenden, ersetzen Sie in der folgenden Zeile "block" durch "none" -->
document.getElementById("localBKU").style.display="block";
- document.getElementById("installJava").style.display="none";
- document.getElementById("BrowserNOK").style.display="none";
var el = document.getElementById("bkulogin");
var parent = el.parentNode;
- if ( navigator.javaEnabled() && ( deployJava.versionCheck("1.6.0_11+") || ( BrowserDetect.browser.toLowerCase() == "safari" && navigator.platform.toLowerCase().indexOf('win')==0 ))) {
-
-
- if( BrowserDetect.browser.toLowerCase() != "explorer" && BrowserDetect.browser.toLowerCase() != "firefox" && BrowserDetect.browser.toLowerCase() != "mozilla") {
- alert("Hinweis! \nUm die Online BKU verwenden zu koennen benoetigen Sie Java 1.6 oder hoeher.");
- }
-
- var iframe = document.createElement("iframe");
- iframe.setAttribute("src", "iframeOnlineBKU.html");
- iframe.setAttribute("width", "210");
- iframe.setAttribute("height", "150");
- iframe.setAttribute("frameborder", "0");
- iframe.setAttribute("scrolling", "no");
- iframe.setAttribute("title", "Login");
-
- parent.replaceChild(iframe, el);
- }
- else {
+ var iframe = document.createElement("iframe");
+ iframe.setAttribute("src", "iframeOnlineBKU.html");
+ iframe.setAttribute("width", "210");
+ iframe.setAttribute("height", "150");
+ iframe.setAttribute("frameborder", "0");
+ iframe.setAttribute("scrolling", "no");
+ iframe.setAttribute("title", "Login");
- okbrowser=true;
- if( BrowserDetect.browser.toLowerCase() == "explorer" ||BrowserDetect.browser.toLowerCase() == "firefox" || BrowserDetect.browser.toLowerCase() == "safari" || BrowserDetect.browser.toLowerCase() == "mozilla") {
- okbrowser=true;
- }
- else {
- okbrowser=false;
- }
-
- if(okbrowser==true) {
- parent.removeChild(el);
- document.getElementById("installJava").style.display="block";
- } else {
- parent.removeChild(el);
- document.getElementById("BrowserNOK").style.display="block";
- }
+ parent.replaceChild(iframe, el);
}
- }
-
- function bkuHandyClicked() {
- document.getElementById("localBKU").style.display="none";
- document.getElementById("installJava").style.display="none";
- document.getElementById("BrowserNOK").style.display="none";
+
- var el = document.getElementById("bkulogin");
- var parent = el.parentNode;
-
- var iframe = document.createElement("iframe");
- iframe.setAttribute("src", "iframeHandyBKU.html");
- iframe.setAttribute("width", "210");
- iframe.setAttribute("height", "149");
- iframe.setAttribute("frameborder", "0");
- iframe.setAttribute("scrolling", "no");
- iframe.setAttribute("title", "Login");
-
- parent.replaceChild(iframe, el);
- }
+ function bkuHandyClicked() {
+ document.getElementById("localBKU").style.display="none";
+
+ var el = document.getElementById("bkulogin");
+ var parent = el.parentNode;
+
+ var iframe = document.createElement("iframe");
+ iframe.setAttribute("src", "iframeHandyBKU.html");
+ iframe.setAttribute("width", "210");
+ iframe.setAttribute("height", "149");
+ iframe.setAttribute("frameborder", "0");
+ iframe.setAttribute("scrolling", "no");
+ iframe.setAttribute("title", "Login");
+
+ parent.replaceChild(iframe, el);
+ }
</script>
</head>
<body>
@@ -121,12 +88,6 @@
</div>
</div>
- <div id="installJava" style="display:none" class="hell">
- Um die Online BKU verwenden zu koennen benoetigen Sie die aktuellste Version von Java 1.6 oder hoeher. Unter <a href="http://java.sun.com/webapps/getjava/BrowserRedirect?host=java.com" target="_blank">http://java.sun.com/</a> koennen sie Java herunterladen. Sie bekommen diese Meldung auch, wenn Java in den Browser Einstellungen deaktiviert wurde. </div>
-
- <div id="BrowserNOK" style="display:none" class="hell">
- Der von Ihnen verwendete Browser wird derzeit nicht unterstuetzt. Fuer nicht kompatible Browser verwenden Sie bitte den Button Lokale BKU. Um die Online BKU verwenden zu koennen verwenden Sie bitte Internet Explorer, Firefox, Safari oder Google Chrome in der aktuellsten Version. </div>
-
<div id="localBKU" style="display:none" class="hell">
<hr>
<!-- [MUSS] Geben Sie hier die URL zum Aufruf von MOA-ID an -->