mirror of
https://github.com/9001/copyparty.git
synced 2026-06-19 12:42:51 -06:00
add rtt back
This commit is contained in:
parent
09a9ead9da
commit
493ed5d3aa
|
|
@ -136,7 +136,9 @@
|
|||
|
||||
|
||||
<div id="tree_footer">
|
||||
<div id="spaceFree" style="display: block;">{{ space_free }} free of {{ space_total }}</div>
|
||||
<div id="rtt_latency"></div>
|
||||
|
||||
<div id="spaceFree">{{ space_free }} free of {{ space_total }}</div>
|
||||
|
||||
<div id="space_bar" style="display: block; cursor: default;">
|
||||
<div id="spaceTotal_bar"></div>
|
||||
|
|
|
|||
|
|
@ -7449,9 +7449,10 @@ var treectl = (function () {
|
|||
srvinf = res.srvinf;
|
||||
ebi('spaceFree').innerHTML = res.space_free + ' free of ' + res.space_total ;
|
||||
ebi('spaceUsed_bar').width = res.space_used_percent + '%';
|
||||
if (rtt !== null)
|
||||
if (rtt !== null){
|
||||
srvinf += (srvinf ? '</span> // <span>rtt: ' : 'rtt: ') + rtt;
|
||||
|
||||
ebi('rtt_latency').innerHTML = 'latency: ' + rtt
|
||||
}
|
||||
var o = ebi('srv_info2');
|
||||
if (o)
|
||||
o.innerHTML = ebi('srv_info').innerHTML = '<span>' + srvinf + '</span>';
|
||||
|
|
|
|||
Loading…
Reference in a new issue