Skip to content

Commit

Permalink
*) YaCy will load status page once it is up again after restart or up…
Browse files Browse the repository at this point in the history
…date if Javascript is enabled.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5957 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
low012 committed May 17, 2009
1 parent 82af994 commit 16d2849
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions htroot/Steering.html
Expand Up @@ -5,6 +5,26 @@
#%env/templates/metas.template%#
</head>
<body style="margin:40px;text-align:center;">

<script type="text/javascript" language="JavaScript">
<!--

function online() {
if(!document.images) return
var url = "env/grafics/kaskelix_exit.png" + '?' + Math.random();
var img = new Image();
img.onload = function () {
window.location.replace('Status.html');
};
img.onerror = function () {
setTimeout('online()', 10000);
}
img.src = url;
}
//-->
</script>


<p><img src="env/grafics/kaskelix_exit.png"></p>
#(info)#
<b>No action submitted</b><br />
Expand All @@ -24,10 +44,12 @@ <h2>Just a moment, please!</h2>
Application will terminate after working off all scheduled tasks.<br />
Then YaCy will restart.<br />
If you can't reach YaCy's interface after 5 minutes restart failed.
<script type="text/javascript" language="JavaScript">setTimeout('online()', 60000);</script>
::
<h2>Just a moment, please!</h2>
<b>Installing release #[release]#</b><br />
<p>YaCy will be restarted after installation</p>
<script type="text/javascript" language="JavaScript">setTimeout('online()', 60000);</script>
#(/info)#
</p>
</body>
Expand Down

0 comments on commit 16d2849

Please sign in to comment.