Changeset c5555350


Ignore:
Timestamp:
Jul 25, 2009 7:47:16 PM (11 years ago)
Author:
z3d <z3d@…>
Branches:
master
Children:
3c76fda8
Parents:
2274408
Message:

Get /graphs.jsp looking a bit more presentable.

Files:
6 edited

Legend:

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

    r2274408 rc5555350  
    5858
    5959            if (hasTx && hasRx && !_showEvents) {
    60                 _out.write("<a href=\"viewstat.jsp?stat=bw.combined"
     60                _out.write("<div class=\"graphspanel\"><a href=\"viewstat.jsp?stat=bw.combined"
    6161                           + "&amp;periodCount=" + (3 * _periodCount )
    6262                           + "&amp;width=" + (3 * _width)
     
    8484                           + "&amp;height=" + (3 * _height)
    8585                           + "\" />");
    86                 _out.write("<img border=\"0\" width=\""
     86                _out.write("<img class=\"statimage\" border=\"0\" width=\""
    8787                           + (_width + 83) + "\" height=\"" + (_height + 92)
    8888                           + "\" src=\"viewstat.jsp?stat="
     
    106106    public String getForm() {
    107107        try {
    108             _out.write("<p /><a href=\"configstats.jsp\">Select Stats to Graph</a><p />");
     108            _out.write("<hr /><h3>Configure Graph Display</h3>");
     109            _out.write("<p />[<a href=\"configstats.jsp\">Select Stats to Graph</a>]<p />");
    109110            _out.write("<form action=\"graphs.jsp\" method=\"GET\">");
    110111            _out.write("Periods: <input size=\"3\" type=\"text\" name=\"periodCount\" value=\"" + _periodCount + "\" /><br />\n");
     
    114115                       + "\" /> pixels, height: <input size=\"4\" type=\"text\" name=\"height\" value=\"" + _height 
    115116                       + "\" /><br />\n");
    116             _out.write("Refresh delay: <select name=\"refreshDelay\"><option value=\"60\">1 minute</option><option value=\"120\">2 minutes</option><option value=\"300\">5 minutes</option><option value=\"600\">10 minutes</option><option value=\"-1\">Never</option></select><br />\n");
    117             _out.write("<input type=\"submit\" value=\"Redraw\" />");
     117            _out.write("Refresh delay: <select name=\"refreshDelay\"><option value=\"60\">1 minute</option><option value=\"120\">2 minutes</option><option value=\"300\">5 minutes</option><option value=\"600\">10 minutes</option><option value=\"1800\">30 minutes</option><option value=\"3600\">1 hour</option><option value=\"-1\">Never</option></select><br />\n");
     118            _out.write("<hr /><input type=\"submit\" value=\"Redraw\" /></div>");
    118119        } catch (IOException ioe) {
    119120            ioe.printStackTrace();
  • apps/routerconsole/jsp/graphs.jsp

    r2274408 rc5555350  
    1616 <jsp:setProperty name="graphHelper" property="writer" value="<%=out%>" />
    1717 <jsp:getProperty name="graphHelper" property="images" />
    18  <div class="configure">
    1918 <jsp:getProperty name="graphHelper" property="form" />
    20 </div>
    2119</div>
    2220</body>
  • history.txt

    r2274408 rc5555350  
     12009-07-25 dr|z3d
     2    * Enhance the layout of /graphs.jsp
     3    * Fix some of the irks in I2PSnark UI.
     4    * Ongoing tweaks and fiddles the the theme css. Not finished by any means!
     5
    162009-07-24 zzz
    27    * Eepsite: Add Deutsch index page and css (thanks sperrbezirk!)
  • installer/resources/themes/console/dark/console.css

    r2274408 rc5555350  
    214214}
    215215
     216div.graphspanel {
     217     padding: 15px 15px 15px 15px;
     218     margin: 10px 0px;
     219     background: #005;
     220     -moz-border-radius: 4px;
     221     -khtml-border-radius: 4px;
     222     border-radius: 4px;
     223     border: 1px solid #99f;
     224     background: #003 url(images/darkbluebg.png);
     225     -moz-box-shadow: inset 0px 0px 1px 0px #eef;
     226}
     227
     228div.graphspanel img {
     229     border: 1px solid #001;
     230     padding: 3px;
     231     margin: 5px;
     232     text-align: center !important;
     233     background: #002;
     234     -moz-box-shadow: inset 0px 0px 1px 0px #eef;
     235     opacity: 0.9;
     236}
     237
     238div.graphspanel img:hover {
     239     border: 1px solid #001;
     240     padding: 3px;
     241     margin: 5px;
     242     text-align: center !important;
     243     background: #002;
     244     -moz-box-shadow: inset 0px 0px 1px 1px #f60;
     245     opacity: 1;
     246}
    216247table {
    217248     border-collapse: collapse;
  • installer/resources/themes/console/light/console.css

    r2274408 rc5555350  
    230230}
    231231
     232div.graphspanel {
     233     padding: 12px;
     234     margin: 10px 0px 25px 0;
     235     background: #ddf url('images/lightbluetile.png');
     236     -moz-border-radius: 4px;
     237     -khtml-border-radius: 4px;
     238     border-radius: 4px;
     239     border: 1px solid #000022;
     240     -moz-box-shadow: inset 0px 0px 1px 0px #002;
     241}
     242
     243
     244div.graphspanel img {
     245     border: 1px solid #003;
     246     padding: 2px;
     247     margin: 6px;
     248     text-align: center !important;
     249     background: #001;
     250     -moz-box-shadow: inset 0px 0px 1px 1px #99f;
     251     opacity: 0.9;
     252}
     253
     254div.graphspanel img:hover {
     255     border: 1px solid #003;
     256     padding: 2px;
     257     margin: 6px;
     258     text-align: center !important;
     259     background: #001;
     260     -moz-box-shadow: inset 0px 0px 2px 1px #f60;
     261     opacity: 1;
     262}
     263
    232264div.messages {
    233265     padding: 10px;
  • router/java/src/net/i2p/router/RouterVersion.java

    r2274408 rc5555350  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 23;
     21    public final static long BUILD = 25;
    2222    /** for example "-test" */
    2323    public final static String EXTRA = "-rc";
Note: See TracChangeset for help on using the changeset viewer.