forked from I2P_Developers/i2p.i2p
UI updates
Console: - /logs: fixed environment/running info table resize on focus (ticket #1996) - Scale theme/language divs so we don't truncate language display - Arabic (light) adjust font size for sidebar elements - Sidebar network status display (ticket #1996) - Usability: - Enhance presentation of tables on /peers (improve header/column alignment, center to separator for multi-value rows) - Enhance presentation of tables on /tunnels (reliable alignment of mixed content in rows, more prominence to bandwidth tiers) I2PSnark: - Usability: add tabindex="0" to screenlog - Update navbar link classes to allow easier targetting of button type - Remove disabled cursor for known tracker radio icons (ticket #1996) - Fix alignment issue for comments (ticket #1996) - ubergine: further optimize theme to reduce scroll lag (ticket #1996) - ubergine/vanilla: - Add mini-mode at <=800px - Small size reduction to navbar links (ticket #1996) Imagegen: - Theme tweaks
This commit is contained in:
@ -316,7 +316,7 @@ public class I2PSnarkServlet extends BasicServlet {
|
||||
if (isConfigure) {
|
||||
out.write("<div class=\"snarknavbar\"><a href=\"" + _contextPath + "/\" title=\"");
|
||||
out.write(_t("Torrents"));
|
||||
out.write("\" class=\"snarkRefresh\">");
|
||||
out.write("\" class=\"snarkNav nav_main\">");
|
||||
if (_contextName.equals(DEFAULT_NAME))
|
||||
out.write(_t("I2PSnark"));
|
||||
else
|
||||
@ -325,7 +325,7 @@ public class I2PSnarkServlet extends BasicServlet {
|
||||
} else {
|
||||
out.write("<div class=\"snarknavbar\"><a href=\"" + _contextPath + '/' + peerString + "\" title=\"");
|
||||
out.write(_t("Refresh page"));
|
||||
out.write("\" class=\"snarkRefresh\">");
|
||||
out.write("\" class=\"snarkNav nav_main\">");
|
||||
if (_contextName.equals(DEFAULT_NAME))
|
||||
out.write(_t("I2PSnark"));
|
||||
else
|
||||
@ -333,7 +333,7 @@ public class I2PSnarkServlet extends BasicServlet {
|
||||
out.write("</a>\n");
|
||||
sortedTrackers = _manager.getSortedTrackers();
|
||||
if (_context.isRouterContext()) {
|
||||
//out.write("<a href=\"http://forum.i2p/viewforum.php?f=21\" class=\"snarkRefresh\" target=\"_blank\">");
|
||||
//out.write("<a href=\"http://forum.i2p/viewforum.php?f=21\" class=\"snarkNav nav_forum\" target=\"_blank\">");
|
||||
//out.write(_t("Forum"));
|
||||
//out.write("</a>\n");
|
||||
for (Tracker t : sortedTrackers) {
|
||||
@ -341,7 +341,7 @@ public class I2PSnarkServlet extends BasicServlet {
|
||||
continue;
|
||||
if (_manager.util().isKnownOpenTracker(t.announceURL))
|
||||
continue;
|
||||
out.write(" <a href=\"" + t.baseURL + "\" class=\"snarkRefresh\" target=\"_blank\">" + t.name + "</a>");
|
||||
out.write(" <a href=\"" + t.baseURL + "\" class=\"snarkNav nav_tracker\" target=\"_blank\">" + t.name + "</a>");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -394,7 +394,7 @@ public class I2PSnarkServlet extends BasicServlet {
|
||||
private void writeMessages(PrintWriter out, boolean isConfigure, String peerString) throws IOException {
|
||||
List<String> msgs = _manager.getMessages();
|
||||
if (!msgs.isEmpty()) {
|
||||
out.write("\n<div class=\"snarkMessages\">");
|
||||
out.write("\n<div class=\"snarkMessages\" tabindex=\"0\">");
|
||||
out.write("<a href=\"" + _contextPath + '/');
|
||||
if (isConfigure)
|
||||
out.write("configure");
|
||||
@ -2873,7 +2873,7 @@ public class I2PSnarkServlet extends BasicServlet {
|
||||
if (showPriority)
|
||||
buf.append(" onload=\"setupbuttons()\"");
|
||||
buf.append(">\n<center><div class=\"snarknavbar\"><a href=\"").append(_contextPath).append("/\" title=\"Torrents\"");
|
||||
buf.append(" class=\"snarkRefresh\">");
|
||||
buf.append(" class=\"snarkNav nav_main\">");
|
||||
if (_contextName.equals(DEFAULT_NAME))
|
||||
buf.append(_t("I2PSnark"));
|
||||
else
|
||||
|
Reference in New Issue
Block a user