aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-frontend-resources/src/main/resources/templates/slo_template.html
diff options
context:
space:
mode:
Diffstat (limited to 'id/server/moa-id-frontend-resources/src/main/resources/templates/slo_template.html')
-rw-r--r--id/server/moa-id-frontend-resources/src/main/resources/templates/slo_template.html37
1 files changed, 9 insertions, 28 deletions
diff --git a/id/server/moa-id-frontend-resources/src/main/resources/templates/slo_template.html b/id/server/moa-id-frontend-resources/src/main/resources/templates/slo_template.html
index b3eb18082..4f86f9f14 100644
--- a/id/server/moa-id-frontend-resources/src/main/resources/templates/slo_template.html
+++ b/id/server/moa-id-frontend-resources/src/main/resources/templates/slo_template.html
@@ -6,37 +6,12 @@
<link rel="stylesheet" href="$contextPath/css/buildCSS" />
#if($timeoutURL)
- <script type="text/javascript">
- function sloTimeOut() {
- window.location.href="$timeoutURL";
-
- }
- function RestartAfterDelay() {
- var eDate = null;
- var MilliSekZeit = 0;
- var SysDatumJetzt = new Date();
- var SysDatumJetztMilli = SysDatumJetzt.getTime();
-
- do {
- eDate = new Date();
- MilliSekZeit = eDate.getTime();
-
- } while ((MilliSekZeit-SysDatumJetztMilli) < $timeout);
-
- sloTimeOut();
- }
-
- </script>
+ <script src="$contextPath/slo.js"></script>
#end
<title>Single LogOut Vorgang ... </title>
</head>
-
-#if($timeoutURL)
- <body onload='setTimeout(sloTimeOut, $timeout);'>
-#else
- <body>
-#end
+<body>
<noscript>
<p>
<strong>Note:</strong> Since your browser does not support
@@ -68,6 +43,11 @@
Sie werden von allen Online-Applikationen abgemeldet. <br>
Dieser Vorgang kann einige Zeit in Anspruch nehmen.
</p>
+
+ #if($timeoutURL)
+ <a id="timeoutURL" href="$timeoutURL">Click here if it does not resume after 30 seconds</a>
+ #end
+
</div>
#end
@@ -77,7 +57,7 @@
<!--div id="validation">
<a href="http://validator.w3.org/check?uri="> <img
style="border: 0; width: 88px; height: 31px"
- src="$contextpath/img/valid-html5-blue.png" alt="HTML5 ist valide!" />
+ src="$contextPath/img/valid-html5-blue.png" alt="HTML5 ist valide!" />
</a> <a href="http://jigsaw.w3.org/css-validator/"> <img
style="border: 0; width: 88px; height: 31px"
src="http://jigsaw.w3.org/css-validator/images/vcss-blue"
@@ -90,5 +70,6 @@
#foreach( $el in $redirectURLs )
<iframe src=$el class="reqframe"></iframe>
#end
+
</body>
</html> \ No newline at end of file