i2psnark: CSS tweaks so the refresh isn't as glitchy

Reduce default refresh to 15 sec
bye whippy
This commit is contained in:
zzz
2020-01-03 12:56:24 +00:00
parent 3d80f0122f
commit e865f451ca
6 changed files with 9 additions and 10 deletions

View File

@ -162,7 +162,7 @@ public class SnarkManager implements CompleteListener, ClientApp {
public static final int MIN_UP_BW = 10;
public static final int DEFAULT_MAX_UP_BW = 25;
public static final int DEFAULT_STARTUP_DELAY = 3;
public static final int DEFAULT_REFRESH_DELAY_SECS = 60;
public static final int DEFAULT_REFRESH_DELAY_SECS = 15;
private static final int DEFAULT_PAGE_SIZE = 50;
public static final int DEFAULT_TUNNEL_QUANTITY = 3;
public static final String CONFIG_DIR_SUFFIX = ".d";

View File

@ -531,7 +531,7 @@ th.snarkTorrentStatus {
.snarkTorrentETA, .snarkTorrentUploaded, .snarkTorrentRateDown, .snarkTorrentRateUp {
width: 5%;
min-width: 40px;
min-width: 70px;
white-space: nowrap;
}

View File

@ -348,8 +348,8 @@ a:link {
}
a:visited {
color: #2c4e8f;
color: rgba(44, 78, 143, 0.9);
color: #3b6bbf;
color: rgba(59, 107, 191, .85);
text-decoration: none;
}
@ -2382,7 +2382,7 @@ _:-ms-lang(x), *, *:hover, *:focus, input, input:hover, input:focus, a:hover, a:
}
.snarkTorrentETA, .snarkTorrentUploaded, .snarkTorrentRateDown, .snarkTorrentRateUp {
min-width: 0;
min-width: 70;
}
.snarkTorrents thead img {

View File

@ -499,7 +499,7 @@ th.snarkTorrentStatus {
.snarkTorrentETA, .snarkTorrentUploaded, .snarkTorrentRateDown, .snarkTorrentRateUp {
width: 4%;
min-width: 40px;
min-width: 70px;
white-space: nowrap;
}
@ -1135,7 +1135,7 @@ a:link {
}
a:visited {
color: #f40;
color: #f70;
text-decoration: none;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

View File

@ -102,7 +102,7 @@ a:link, a:visited {
}
.snarkCommentInfo th a:link, td a:link {
color: #cf0f00;
color: #9f0b00;
text-decoration: none;
font-weight: bold;
word-wrap: break-word;
@ -289,7 +289,6 @@ _:-ms-lang(x), .snarkNav:link, .snarkNav:visited {
height: 56px;
width: auto;
background: #3f3833;
background: url(images/whippy.png) no-repeat scroll right 5px bottom -7px, linear-gradient(to bottom, #5f554d, #3f3833);
background-size: auto 105%, 100% 100%;
}
@ -630,7 +629,7 @@ th.snarkTorrentStatus {
.snarkTorrentETA, .snarkTorrentUploaded, .snarkTorrentRateDown, .snarkTorrentRateUp {
width: 5%;
min-width: 40px;
min-width: 70px;
white-space: nowrap;
}