Changeset c466cd7
- Timestamp:
- Aug 14, 2009 9:40:45 PM (11 years ago)
- Branches:
- master
- Children:
- 335d45f
- Parents:
- d998e2e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
apps/routerconsole/java/src/net/i2p/router/web/ConfigRestartBean.java
rd998e2e rc466cd7 50 50 if (shuttingDown) { 51 51 if (timeRemaining <= 0) { 52 return "< b>Shutdown imminent</b>";52 return "<center><b>Shutdown imminent</b></center>"; 53 53 } else { 54 return "< b>Shutdown in " + DataHelper.formatDuration(timeRemaining) + "</b><br />"54 return "<center><b>Shutdown in " + DataHelper.formatDuration(timeRemaining) + "</b></center><br />" 55 55 + buttons(urlBase, systemNonce, "shutdownImmediate,Shutdown immediately,cancelShutdown,Cancel shutdown"); 56 56 } 57 57 } else if (restarting) { 58 58 if (timeRemaining <= 0) { 59 return "< b>Restart imminent</b>";59 return "<center><b>Restart imminent</b></center>"; 60 60 } else { 61 return "< b>Restart in " + DataHelper.formatDuration(timeRemaining) + "</b><br />"61 return "<center><b>Restart in " + DataHelper.formatDuration(timeRemaining) + "</b></center><br />" 62 62 + buttons(urlBase, systemNonce, "restartImmediate,Restart immediately,cancelShutdown,Cancel restart"); 63 63 }
Note: See TracChangeset
for help on using the changeset viewer.