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
1.0
Wruczek 6 years ago
parent 2ded29b1d7
commit 60bde54f07
No known key found for this signature in database
GPG Key ID: E740793BA694C902

@ -10,9 +10,17 @@
<p class="pull-left" id="website-copyright">&copy; <?php tl($config["general"]["title"]); ?></p>
<div class="pull-right">
<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>
<a href="https://github.com/Wruczek/ts-website">ts-website</a> v 1.4.6 &mdash; &copy; <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 &mdash; &copy; <a href="https://wruczek.tech">Wruczek</a> and contributors 2016 - 2018
</p>
<p>

@ -105,7 +105,7 @@ function showError($title, $text) { ?>
<?php echo $text ?>
</div>
<div class="panel-footer">
&copy; <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
&copy; <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>

@ -23,7 +23,7 @@ function checkStatus() {
var version = json.version;
var platform = json.platform;
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 platformIcon = '<i class="fa %s fa-fw" title="' + platform + '" aria-hidden="true"></i>';

Loading…
Cancel
Save