Changeset ae7c2f6


Ignore:
Timestamp:
May 18, 2017 12:51:19 PM (3 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
7002c68
Parents:
feee22e
Message:

Use disabled drop-down in universal theming mode instead of plain text

File:
1 edited

Legend:

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

    rfeee22e rae7c2f6  
    22772277        out.write(":<td colspan=\"2\">");
    22782278        if (_manager.getUniversalTheming()) {
    2279             out.write("<b>");
     2279            out.write("<select name='theme' disabled=\"disabled\" title=\"");
     2280            out.write(_t("To change themes manually, disable universal theming"));
     2281            out.write("\"><option>");
    22802282            out.write(_manager.getTheme());
    2281             out.write("</b> (<a href=\"/configui\">");
    2282             out.write(_t("Universal theming is enabled"));
    2283             out.write("</a>)");
     2283            out.write("</option></select><i>");
     2284            out.write(_t("Universal theming is enabled."));
     2285            out.write("</i> <a href=\"/configui\" target=\"_blank\">[");
     2286            out.write(_t("Configure"));
     2287            out.write("]</a>");
    22842288        } else {
    22852289            out.write("<select name='theme'>");
Note: See TracChangeset for help on using the changeset viewer.