Changeset 118d7fc


Ignore:
Timestamp:
Jul 21, 2009 4:37:44 PM (11 years ago)
Author:
z3d <z3d@…>
Branches:
master
Children:
b0ea204b
Parents:
5e498e0b
Message:

Remove redundant table generation code for header links in i2psnark. (Thanks zzz!)
Also, add snark.css to the file manifest.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java

    r5e498e0b r118d7fc  
    8787        out.write("<tr><td align=\"center\"><a href=\"" + req.getRequestURI() + peerString + "\" class=\"snarkRefresh\">Refresh</a>");
    8888        out.write(" | <a href=\"http://forum.i2p/viewforum.php?f=21\" class=\"snarkRefresh\">Forum</a>\n");
    89         int count = 0;
    9089        Map trackers = _manager.getTrackers();
    9190        for (Iterator iter = trackers.entrySet().iterator(); iter.hasNext(); ) {
     
    9796                continue;
    9897            baseURL = baseURL.substring(e + 1);
    99             if (count++ % 2 == 0)
    100                 out.write("");
    10198            out.write(" | <a href=\"" + baseURL + "\" class=\"snarkRefresh\">" + name + "</a>");
    10299        }
    103         if (count % 2 == 1)
    104             out.write("");
    105100        out.write("</table>\n");
    106101        out.write("<div class=\"snarkMessages\"><table><tr><td valign=\"top\" align=\"left\"><pre>");
  • build.xml

    r5e498e0b r118d7fc  
    323323        <!-- CSS now in docs/, not in the .war; just in case anybody is using defCon1 -->
    324324        <copy file="installer/resources/themes/console/defCon1/console.css" todir="pkg-temp/docs/themes/console/defCon1/" />
     325        <!-- Add extricated I2PSnark css here, for now -->
     326        <copy file="installer/resources/themes/console/snark.css" todir="pkg-temp/docs/themes/console/" />
    325327        <!-- these files now in docs/, not in the .war -->
    326328        <copy file="installer/resources/themes/console/images/favicon.ico" todir="pkg-temp/docs/themes/console/images/" />
     
    341343        <copy todir="pkg-temp/docs/themes/console/light/" >
    342344            <fileset  dir="installer/resources/themes/console/light/" />
    343         </copy>
     345        </copy> 
    344346        <copy todir="pkg-temp/docs/" >
    345347          <fileset dir="." includes="readme*.html" />
Note: See TracChangeset for help on using the changeset viewer.