forked from I2P_Developers/i2p.i2p
i2psnark: Remove things in html, not by hiding them in CSS
This commit is contained in:
@ -688,7 +688,7 @@ public class KRPC implements I2PSessionMuxedListener, DHT {
|
||||
public String renderStatusHTML() {
|
||||
long uptime = Math.max(1000, _context.clock().now() - _started);
|
||||
StringBuilder buf = new StringBuilder(256);
|
||||
buf.append("<br><hr class=\"debug\"><b>DHT DEBUG</b><br><hr class=\"debug\"><hr><b>TX:</b> ").append(_txPkts.get()).append(" pkts / ")
|
||||
buf.append("<br><hr class=\"debug\"><br><hr class=\"debug\"><hr><b>TX:</b> ").append(_txPkts.get()).append(" pkts / ")
|
||||
.append(DataHelper.formatSize2(_txBytes.get())).append("B / ")
|
||||
.append(DataHelper.formatSize2Decimal(_txBytes.get() * 1000 / uptime)).append("Bps<br>" +
|
||||
"<b>RX:</b> ").append(_rxPkts.get()).append(" pkts / ")
|
||||
|
@ -2177,10 +2177,6 @@ input#toggle_addtorrent:checked + label + hr + table, input#toggle_createtorrent
|
||||
margin: -23px 0 -12px;
|
||||
}
|
||||
|
||||
.dhtDebug th b:first-of-type, .dhtDebug th b:first-of-type + br + hr.debug {
|
||||
display: none;
|
||||
}
|
||||
|
||||
input#toggle_debug:not(checked) + label {
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
@ -1837,10 +1837,6 @@ input#toggle_addtorrent:checked + label + hr + table, input#toggle_createtorrent
|
||||
margin: -19px 0 -12px;
|
||||
}
|
||||
|
||||
.dhtDebug th b:first-of-type, .dhtDebug th b:first-of-type + br + hr.debug {
|
||||
display: none;
|
||||
}
|
||||
|
||||
input#toggle_debug:not(checked) + label {
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
@ -2304,10 +2304,6 @@ input#toggle_debug:not(checked) + label {
|
||||
}
|
||||
}
|
||||
|
||||
.dhtDebug th b:first-of-type, .dhtDebug th b:first-of-type + br + hr.debug {
|
||||
display: none;
|
||||
}
|
||||
|
||||
input#toggle_debug:not(checked) + label {
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
@ -2152,10 +2152,6 @@ hr.debug:last-child {
|
||||
border-radius: 0 0 2px 2px;
|
||||
}
|
||||
|
||||
.dhtDebug th b:first-of-type, .dhtDebug th b:first-of-type + br + hr.debug {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* toggle debug view */
|
||||
|
||||
input#toggle_debug:not(checked) + label {
|
||||
|
Reference in New Issue
Block a user