HTML bugfixes in routerconsole pages.

This commit is contained in:
sponge
2009-08-15 16:08:33 +00:00
parent 3fbff71861
commit 35da3f3334
67 changed files with 409 additions and 657 deletions

View File

@@ -51,14 +51,14 @@ public class ConfigRestartBean {
if (timeRemaining <= 0) {
return "<b>Shutdown imminent</b>";
} else {
return "<b>Shutdown in " + DataHelper.formatDuration(timeRemaining) + "</b><br />"
return "<b>Shutdown in " + DataHelper.formatDuration(timeRemaining) + "</b><br>"
+ buttons(urlBase, systemNonce, "shutdownImmediate,Shutdown immediately,cancelShutdown,Cancel shutdown");
}
} else if (restarting) {
if (timeRemaining <= 0) {
return "<b>Restart imminent</b>";
} else {
return "<b>Restart in " + DataHelper.formatDuration(timeRemaining) + "</b><br />"
return "<b>Restart in " + DataHelper.formatDuration(timeRemaining) + "</b><br>"
+ buttons(urlBase, systemNonce, "restartImmediate,Restart immediately,cancelShutdown,Cancel restart");
}
} else {