v 1.4.7 - fixed packetloss value, !LAST RELEASE!
Fixed packetloss in server status. This is last release of ts-website 1. Please upgrade to ts-website 2 when it becomes available
This commit is contained in:
parent
2ded29b1d7
commit
60bde54f07
|
@ -10,9 +10,17 @@
|
||||||
<p class="pull-left" id="website-copyright">© <?php tl($config["general"]["title"]); ?></p>
|
<p class="pull-left" id="website-copyright">© <?php tl($config["general"]["title"]); ?></p>
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
<ul class="list-inline">
|
<ul class="list-inline">
|
||||||
<li> <!-- Please respect the amount of work we've put for free into this project and leave the authors in the footer. Thank you. -->
|
<li>
|
||||||
<p>
|
<p>
|
||||||
<a href="https://github.com/Wruczek/ts-website">ts-website</a> v 1.4.6 — © <a href="https://wruczek.tech">Wruczek</a> and contributors 2016 - 2018
|
<label class="label label-danger">
|
||||||
|
<a href="https://github.com/Wruczek/ts-website" style="color: inherit">
|
||||||
|
This is the last release of ts-website 1.0. Please upgrade to 2.0 to stay up-to-date
|
||||||
|
</a>
|
||||||
|
</label>
|
||||||
|
</p>
|
||||||
|
<!-- Please respect the amount of work we've put for free into this project and leave the authors in the footer. Thank you. -->
|
||||||
|
<p>
|
||||||
|
<a href="https://github.com/Wruczek/ts-website">ts-website</a> v 1.4.7 — © <a href="https://wruczek.tech">Wruczek</a> and contributors 2016 - 2018
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
|
@ -105,7 +105,7 @@ function showError($title, $text) { ?>
|
||||||
<?php echo $text ?>
|
<?php echo $text ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-footer">
|
<div class="panel-footer">
|
||||||
© <a href="https://wruczek.tech">Wruczek</a> 2016 - 2018 | <a href="https://github.com/Wruczek/ts-website">ts-website</a> v 1.4.6 | MIT License
|
© <a href="https://wruczek.tech">Wruczek</a> 2016 - 2018 | <a href="https://github.com/Wruczek/ts-website">ts-website</a> v 1.4.7 | MIT License
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ function checkStatus() {
|
||||||
var version = json.version;
|
var version = json.version;
|
||||||
var platform = json.platform;
|
var platform = json.platform;
|
||||||
var uptime = json.uptime;
|
var uptime = json.uptime;
|
||||||
var averagePacketloss = Math.round(json.averagePacketloss * 100) / 100;
|
var averagePacketloss = Math.round(json.averagePacketloss * 10000) / 100;
|
||||||
var averagePing = Math.round(json.averagePing * 100) / 100;
|
var averagePing = Math.round(json.averagePing * 100) / 100;
|
||||||
|
|
||||||
var platformIcon = '<i class="fa %s fa-fw" title="' + platform + '" aria-hidden="true"></i>';
|
var platformIcon = '<i class="fa %s fa-fw" title="' + platform + '" aria-hidden="true"></i>';
|
||||||
|
|
Loading…
Reference in New Issue