forked from I2P_Developers/i2p.i2p
I2PSnark:
- Disable JavaScript td:onclick (handled by css) - Fix minimode bug in vanilla/ubergine - Minimode for dark/classic - ubergine: - Further optimizations to reduce lag/cpu load - New hidpi details.png to bypass mix-blend mode in .snarkTorrents - Usability: - Tab navigation now works for toggle panels - Touch target for configure button now extends entire length - All themes: cleanups and optimizations
This commit is contained in:
@ -1694,13 +1694,14 @@ public class I2PSnarkServlet extends BasicServlet {
|
||||
}
|
||||
|
||||
// Torrent name column
|
||||
out.write("</td><td class=\"snarkTorrentName\"");
|
||||
if (isMultiFile) {
|
||||
out.write("</td><td class=\"snarkTorrentName\">");
|
||||
// No need for javascript here.. css now handles this
|
||||
//if (isMultiFile) {
|
||||
// link on the whole td
|
||||
out.write(" onclick=\"document.location='" + encodedBaseName + "/';\">");
|
||||
} else {
|
||||
out.write('>');
|
||||
}
|
||||
// out.write(" onclick=\"document.location='" + encodedBaseName + "/';\">");
|
||||
//} else {
|
||||
// out.write('>');
|
||||
//}
|
||||
if (remaining == 0 || isMultiFile) {
|
||||
StringBuilder buf = new StringBuilder(128);
|
||||
buf.append("<a href=\"").append(encodedBaseName);
|
||||
@ -2554,6 +2555,8 @@ public class I2PSnarkServlet extends BasicServlet {
|
||||
boolean isPrivate = privateTrackers.contains(t.announceURL);
|
||||
boolean isKnownOpen = _manager.util().isKnownOpenTracker(t.announceURL);
|
||||
boolean isOpen = isKnownOpen || openTrackers.contains(t.announceURL);
|
||||
// TODO: either disable all checkboxes in this section, or disable all checkboxes that cannot be configured, leaving only user-configured tracker checkboxes active
|
||||
// Currently checked but fixed checkboxes are not marked as disabled, preventing styling by disabled status
|
||||
buf.append("<tr class=\"knownTracker\"><td><input type=\"checkbox\" class=\"optbox\" id=\"").append(name).append("\" name=\"delete_")
|
||||
.append(name).append("\" title=\"").append(_t("Mark tracker for deletion")).append("\">" +
|
||||
"</td><td><label for=\"").append(name).append("\">").append(name)
|
||||
|
Reference in New Issue
Block a user