Changeset c466cd7


Ignore:
Timestamp:
Aug 14, 2009 9:40:45 PM (11 years ago)
Author:
z3d <z3d@…>
Branches:
master
Children:
335d45f
Parents:
d998e2e
Message:

Add some <centre> tags to our router restart/shutdown event notices.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/ConfigRestartBean.java

    rd998e2e rc466cd7  
    5050        if (shuttingDown) {
    5151            if (timeRemaining <= 0) {
    52                 return "<b>Shutdown imminent</b>";
     52                return "<center><b>Shutdown imminent</b></center>";
    5353            } else {
    54                 return "<b>Shutdown in " + DataHelper.formatDuration(timeRemaining) + "</b><br />"
     54                return "<center><b>Shutdown in " + DataHelper.formatDuration(timeRemaining) + "</b></center><br />"
    5555                     + buttons(urlBase, systemNonce, "shutdownImmediate,Shutdown immediately,cancelShutdown,Cancel shutdown");
    5656            }
    5757        } else if (restarting) {
    5858            if (timeRemaining <= 0) {
    59                 return "<b>Restart imminent</b>";
     59                return "<center><b>Restart imminent</b></center>";
    6060            } else {
    61                 return "<b>Restart in " + DataHelper.formatDuration(timeRemaining) + "</b><br />"
     61                return "<center><b>Restart in " + DataHelper.formatDuration(timeRemaining) + "</b></center><br />"
    6262                     + buttons(urlBase, systemNonce, "restartImmediate,Restart immediately,cancelShutdown,Cancel restart");
    6363            }
Note: See TracChangeset for help on using the changeset viewer.