diff options
Diffstat (limited to 'id/server/auth/src/main/webapp/index.html')
-rw-r--r-- | id/server/auth/src/main/webapp/index.html | 89 |
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 -->
|