forked from I2P_Developers/i2p.i2p
Make light the default theme
This commit is contained in:
@ -3,12 +3,11 @@ package net.i2p.router.web;
|
||||
public class ConfigUIHelper extends HelperBase {
|
||||
public ConfigUIHelper() {}
|
||||
|
||||
public static final String PROP_THEME = "routerconsole.theme";
|
||||
private static final String themes[] = {"classic", "dark", "light"};
|
||||
|
||||
public String getSettings() {
|
||||
StringBuilder buf = new StringBuilder(512);
|
||||
String current = _context.getProperty(PROP_THEME, "default");
|
||||
String current = _context.getProperty(CSSHelper.PROP_THEME_NAME, CSSHelper.DEFAULT_THEME);
|
||||
for (String theme : themes) {
|
||||
buf.append("<input type=\"radio\" name=\"theme\" ");
|
||||
if (theme.equals(current))
|
||||
|
Reference in New Issue
Block a user