introduce divs to allow selecting buttons on /home by category

This commit is contained in:
hankhill19580
2019-11-08 17:42:53 +00:00
parent 552100da17
commit ff293d50a9
29 changed files with 47 additions and 48 deletions

View File

@@ -1,7 +1,7 @@
# NOTE: This I2P config file must use UTF-8 encoding
#
# If you have a 'split' directory installation, with configuration
# files in ~/.i2p (Linux), %APPDATA%\I2P (Windows),
# files in ~/.i2p (Linux), %LOCALAPPDATA%\I2P (Windows),
# or /Users/(user)/Library/Application Support/i2p (Mac), be sure to
# edit the file in the configuration directory, NOT the install directory.
# When running as a Linux daemon, the configuration directory is /var/lib/i2p

View File

@@ -184,7 +184,6 @@ public class ConfigUIHelper extends HelperBase {
current = "en";
}
StringBuilder buf = new StringBuilder(512);
//buf.append("<fieldset>\n");
buf.append(" <select name=\"lang\" id=\"langsettings\">\n");
for (int i = 0; i < langs.length; i++) {
String lang = langs[i][0];
@@ -197,10 +196,8 @@ public class ConfigUIHelper extends HelperBase {
buf.append(" value=\"").append(lang).append("\"");
buf.append(" id=\"").append(lang).append("\"").append(">");
//buf.append(" style=\"").append("background-image:url(/flags.jsp?s=48&amp;c=").append(langs[i][1]).append("\">\n");
int under = lang.indexOf('_');
String slang = (under > 0) ? lang.substring(0, under) : lang;
//buf.append(" ");
buf.append(langs[i][2]);
String name = langs[i][3];
if (name != null) {
@@ -211,7 +208,6 @@ public class ConfigUIHelper extends HelperBase {
buf.append("</option>\n");
}
buf.append(" </select>\n");
//buf.append("</fieldset>\n");
return buf.toString();
}

View File

@@ -87,13 +87,17 @@
%>
<div class="ag2">
<h4 class="app2"><%=intl._t("Hidden Services of Interest")%></h4>
<jsp:getProperty name="homehelper" property="favorites" /><br>
<div class="homesites">
<jsp:getProperty name="homehelper" property="favorites" /><br>
<div class="clearer">&nbsp;</div>
</div>
</div>
<div class="ag2">
<h4 class="app"><%=intl._t("Applications and Configuration")%></h4>
<jsp:getProperty name="homehelper" property="services" /><br>
<div class="homeapps">
<jsp:getProperty name="homehelper" property="services" /><br>
<div class="clearer">&nbsp;</div>
</div>
</div>
</div>
</div>

View File

@@ -92,7 +92,6 @@
<%
}
%>
<!--<h2><%=intl._t("New Install Wizard")%> <%=ipg%>/<%=LAST_PAGE%></h2>-->
<div id="wizard" class="overlay">
<jsp:useBean class="net.i2p.router.web.helpers.WizardHandler" id="formhandler" scope="request" />