forked from I2P_Developers/i2p.i2p
More ids and classes
This commit is contained in:
@ -47,7 +47,7 @@ public class JobQueueHelper extends HelperBase {
|
||||
int numRunners = _context.jobQueue().getJobs(readyJobs, timedJobs, activeJobs, justFinishedJobs);
|
||||
|
||||
StringBuilder buf = new StringBuilder(32*1024);
|
||||
buf.append("<div class=\"wideload\"><div class=\"joblog\">")
|
||||
buf.append("<div class=\"joblog\">")
|
||||
.append("<h3 id=\"jobrunners\">")
|
||||
.append(_t("Job runners")).append(": ").append(numRunners)
|
||||
.append("</h3>\n");
|
||||
@ -148,7 +148,7 @@ public class JobQueueHelper extends HelperBase {
|
||||
* @since 0.8.9
|
||||
*/
|
||||
private void getJobStats(StringBuilder buf) {
|
||||
buf.append("<table id=\"jobstats\">\n" +
|
||||
buf.append("<div class=\"widescroll\"><table id=\"jobstats\">\n" +
|
||||
"<tr><th>").append(_t("Job")).append("</th><th>").append(_t("Runs")).append("</th>" +
|
||||
"<th>").append(_t("Dropped")).append("</th>" +
|
||||
"<th>").append(_t("Time")).append("</th><th><i>").append(_t("Avg")).append("</i></th><th><i>")
|
||||
|
@ -139,7 +139,7 @@ class SummaryBarRenderer {
|
||||
.append(_t("I2P Services"))
|
||||
.append("</a></h3>\n" +
|
||||
|
||||
"<hr class=\"b\"><table id=\"services\"><tr><td>" +
|
||||
"<hr class=\"b\"><table id=\"sb_services\"><tr><td>" +
|
||||
|
||||
"<a href=\"/susimail/susimail\" target=\"_blank\" title=\"")
|
||||
.append(_t("Anonymous webmail client"))
|
||||
@ -177,7 +177,7 @@ class SummaryBarRenderer {
|
||||
.append(_t("I2P Internals"))
|
||||
.append("</a></h3><hr class=\"b\">\n" +
|
||||
|
||||
"<table><tr><td>\n" +
|
||||
"<table id=\"sb_internals\"><tr><td>\n" +
|
||||
|
||||
"<a href=\"/tunnels\" target=\"_top\" title=\"")
|
||||
.append(_t("View existing tunnels and tunnel build status"))
|
||||
@ -259,7 +259,7 @@ class SummaryBarRenderer {
|
||||
.append(_t("General"))
|
||||
.append("</a></h3><hr class=\"b\">\n" +
|
||||
|
||||
"<table><tr>" +
|
||||
"<table id=\"sb_localid\"><tr>" +
|
||||
"<td align=\"left\"><b title=\"")
|
||||
.append(_t("Your Local Identity is your unique I2P router identity, similar to an ip address but tailored to I2P. "))
|
||||
.append(_t("Never disclose this to anyone, as it can reveal your real world ip."))
|
||||
@ -277,7 +277,7 @@ class SummaryBarRenderer {
|
||||
.append(_t("show"))
|
||||
.append("</a></td></tr>\n" +
|
||||
|
||||
"</table><table>" + // fix for some rows with a big left side and some with a big right side
|
||||
"</table><table id=\"sb_version\">" + // fix for some rows with a big left side and some with a big right side
|
||||
"<tr title=\"")
|
||||
.append(_t("The version of the I2P software we are running"))
|
||||
.append("\">" +
|
||||
@ -288,7 +288,7 @@ class SummaryBarRenderer {
|
||||
.append(_helper.getVersion())
|
||||
.append("</td></tr>\n" +
|
||||
|
||||
"</table><table>" + // fix for some rows with a big left side and some with a big right side
|
||||
"</table><table id=\"sb_uptime\">" + // fix for some rows with a big left side and some with a big right side
|
||||
"<tr title=\"")
|
||||
.append(_t("How long we've been running for this session"))
|
||||
.append("\">" +
|
||||
@ -304,7 +304,7 @@ class SummaryBarRenderer {
|
||||
public String renderShortGeneralHTML() {
|
||||
if (_helper == null) return "";
|
||||
StringBuilder buf = new StringBuilder(512);
|
||||
buf.append("<table>" +
|
||||
buf.append("<table id=\"sb_shortgeneral\">" +
|
||||
"<tr title=\"")
|
||||
.append(_t("The version of the I2P software we are running"))
|
||||
.append("\">" +
|
||||
@ -387,7 +387,7 @@ class SummaryBarRenderer {
|
||||
.append(_t("Peers"))
|
||||
.append("</a></h3><hr class=\"b\">\n" +
|
||||
|
||||
"<table>\n" +
|
||||
"<table id=\"sb_peers\">\n" +
|
||||
|
||||
"<tr title=\"")
|
||||
.append(_t("Peers we've been talking to in the last few minutes/last hour"))
|
||||
@ -456,7 +456,7 @@ class SummaryBarRenderer {
|
||||
.append("\" target=\"_top\">")
|
||||
.append(_t("Bandwidth in/out"))
|
||||
.append("</a></h3><hr class=\"b\">" +
|
||||
"<table id=\"bandwidth\">\n" +
|
||||
"<table id=\"sb_bandwidth\">\n" +
|
||||
|
||||
"<tr><td align=\"left\"><b>")
|
||||
.append(DataHelper.formatDuration2(3 * 1000)) // lie and say 3 sec since 1 sec would appear as 1000 ms
|
||||
@ -500,7 +500,7 @@ class SummaryBarRenderer {
|
||||
.append("\">")
|
||||
.append(_t("Tunnels"))
|
||||
.append("</a></h3><hr class=\"b\">" +
|
||||
"<table>\n" +
|
||||
"<table id=\"sb_tunnels\">\n" +
|
||||
|
||||
"<tr title=\"")
|
||||
.append(_t("Used for building and testing tunnels, and communicating with floodfill peers"))
|
||||
@ -550,7 +550,7 @@ class SummaryBarRenderer {
|
||||
.append("\">")
|
||||
.append(_t("Congestion"))
|
||||
.append("</a></h3><hr class=\"b\">" +
|
||||
"<table>\n" +
|
||||
"<table id=\"sb_queue\">\n" +
|
||||
|
||||
"<tr title=\"")
|
||||
.append(_t("Indicates router performance"))
|
||||
|
@ -437,10 +437,10 @@ public class SummaryHelper extends HelperBase {
|
||||
buf.append("<h3><a href=\"/i2ptunnelmgr\" target=\"_top\" title=\"")
|
||||
.append(_t("Add/remove/edit & control your client and server tunnels"))
|
||||
.append("\">").append(_t("Local Tunnels"))
|
||||
.append("</a></h3><hr class=\"b\"><div class=\"tunnels\">");
|
||||
.append("</a></h3><hr class=\"b\">");
|
||||
if (!clients.isEmpty()) {
|
||||
Collections.sort(clients, new AlphaComparator());
|
||||
buf.append("<table>");
|
||||
buf.append("<table id=\"sb_localtunnels\">");
|
||||
|
||||
for (Destination client : clients) {
|
||||
String name = getName(client);
|
||||
@ -478,7 +478,6 @@ public class SummaryHelper extends HelperBase {
|
||||
} else {
|
||||
buf.append("<center><i>").append(_t("none")).append("</i></center>");
|
||||
}
|
||||
buf.append("</div>\n");
|
||||
return buf.toString();
|
||||
}
|
||||
|
||||
@ -697,7 +696,7 @@ public class SummaryHelper extends HelperBase {
|
||||
String status = NewsHelper.getUpdateStatus();
|
||||
boolean needSpace = false;
|
||||
if (status.length() > 0) {
|
||||
buf.append("<h4>").append(status).append("</h4>\n");
|
||||
buf.append("<h4 class=\"sb_info\">").append(status).append("</h4>\n");
|
||||
needSpace = true;
|
||||
}
|
||||
String dver = NewsHelper.updateVersionDownloaded();
|
||||
@ -713,7 +712,7 @@ public class SummaryHelper extends HelperBase {
|
||||
buf.append("<hr>");
|
||||
else
|
||||
needSpace = true;
|
||||
buf.append("<h4><b>").append(_t("Update downloaded")).append("<br>");
|
||||
buf.append("<h4 class=\"sb_info\"><b>").append(_t("Update downloaded")).append("<br>");
|
||||
if (_context.hasWrapper())
|
||||
buf.append(_t("Click Restart to install"));
|
||||
else
|
||||
@ -734,7 +733,7 @@ public class SummaryHelper extends HelperBase {
|
||||
buf.append("<hr>");
|
||||
else
|
||||
needSpace = true;
|
||||
buf.append("<h4><b>").append(_t("Update available")).append(":<br>");
|
||||
buf.append("<h4 class=\"sb_info\"><b>").append(_t("Update available")).append(":<br>");
|
||||
buf.append(_t("Version {0}", getUpdateVersion())).append("<br>");
|
||||
buf.append(constraint).append("</b></h4>");
|
||||
avail = false;
|
||||
@ -746,7 +745,7 @@ public class SummaryHelper extends HelperBase {
|
||||
buf.append("<hr>");
|
||||
else
|
||||
needSpace = true;
|
||||
buf.append("<h4><b>").append(_t("Update available")).append(":<br>");
|
||||
buf.append("<h4 class=\"sb_info\"><b>").append(_t("Update available")).append(":<br>");
|
||||
buf.append(_t("Version {0}", getUnsignedUpdateVersion())).append("<br>");
|
||||
buf.append(unsignedConstraint).append("</b></h4>");
|
||||
unsignedAvail = false;
|
||||
@ -758,7 +757,7 @@ public class SummaryHelper extends HelperBase {
|
||||
buf.append("<hr>");
|
||||
else
|
||||
needSpace = true;
|
||||
buf.append("<h4><b>").append(_t("Update available")).append(":<br>");
|
||||
buf.append("<h4 class=\"sb_info\"><b>").append(_t("Update available")).append(":<br>");
|
||||
buf.append(_t("Version {0}", getDevSU3UpdateVersion())).append("<br>");
|
||||
buf.append(devSU3Constraint).append("</b></h4>");
|
||||
devSU3Avail = false;
|
||||
@ -821,7 +820,7 @@ public class SummaryHelper extends HelperBase {
|
||||
public String getFirewallAndReseedStatus() {
|
||||
StringBuilder buf = new StringBuilder(256);
|
||||
if (showFirewallWarning()) {
|
||||
buf.append("<h4><a href=\"/confignet\" target=\"_top\" title=\"")
|
||||
buf.append("<h4 id=\"sb_warning\"><a href=\"/confignet\" target=\"_top\" title=\"")
|
||||
.append(_t("Help with firewall configuration"))
|
||||
.append("\">")
|
||||
.append(_t("Check network connection and NAT/firewall"))
|
||||
|
Reference in New Issue
Block a user