Changeset a4d24c61


Ignore:
Timestamp:
Sep 29, 2010 2:09:05 AM (10 years ago)
Author:
z3d <z3d@…>
Branches:
master
Children:
9028820
Parents:
3075593
Message:

I2PSnark: Tweak the size of our writeable fields in add/create sections for better visual coherence.

File:
1 edited

Legend:

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

    r3075593 ra4d24c61  
    762762        out.write("<td align=\"right\" class=\"snarkTorrentDownloaded " + rowClass + "\">");
    763763        if (remaining > 0)
    764             out.write(formatSize(total-remaining) + " / " + formatSize(total)); // 18MB/3GB
     764            out.write("<i>" + formatSize(total-remaining) + "</i> /" + formatSize(total)); // 18MB/3GB
    765765        else
    766766            out.write(formatSize(total)); // 3GB
     
    928928        out.write("</span><hr>\n<table border=\"0\"><tr><td>");
    929929        out.write(_("From URL"));
    930         out.write(":<td><input type=\"text\" name=\"newURL\" size=\"80\" value=\"" + newURL + "\" > \n");
     930        out.write(":<td><input type=\"text\" name=\"newURL\" size=\"85\" value=\"" + newURL + "\" > \n");
    931931        // not supporting from file at the moment, since the file name passed isn't always absolute (so it may not resolve)
    932932        //out.write("From file: <input type=\"file\" name=\"newFile\" size=\"50\" value=\"" + newFile + "\" /><br>");
     
    961961        out.write(_("Data to seed"));
    962962        out.write(":<td><code>" + _manager.getDataDir().getAbsolutePath() + File.separatorChar
    963                   + "</code><input type=\"text\" name=\"baseFile\" size=\"40\" value=\"" + baseFile
     963                  + "</code><input type=\"text\" name=\"baseFile\" size=\"58\" value=\"" + baseFile
    964964                  + "\" title=\"");
    965965        out.write(_("File or directory to seed (must be within the specified path)"));
     
    981981        out.write("</select>\n");
    982982        out.write(_("or&nbsp;"));
    983         out.write("<input type=\"text\" name=\"announceURLOther\" size=\"50\" value=\"http://\" " +
     983        out.write("<input type=\"text\" name=\"announceURLOther\" size=\"57\" value=\"http://\" " +
    984984                  "title=\"");
    985985        out.write(_("Specify custom tracker announce URL"));
Note: See TracChangeset for help on using the changeset viewer.