1
0
Fork 0
mirror of https://github.com/fastogt/fastocloud_admin.git synced 2025-03-09 23:38:52 +00:00

Update dashboard.html

This commit is contained in:
Alexandr Topilski 2019-06-05 18:56:07 +03:00 committed by GitHub
parent 5e8e56488c
commit e744916e12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -540,9 +540,9 @@ Dashboard | {{ config['PUBLIC_CONFIG'].site.title }}
var service_gpu = $('#service_gpu');
service_gpu.text(service.gpu);
var service_bandwidth_in = $('#service_bandwidth_in');
service_bandwidth_in.text((service.bandwidth_in / (1024 * 1024)).toFixed(4) + ' Mbps');
service_bandwidth_in.text((service.bandwidth_in / (1024 * 1024 / 8)).toFixed(4) + ' Mbps');
var service_bandwidth_out = $('#service_bandwidth_out');
service_bandwidth_out.text((service.bandwidth_out / (1024 * 1024)).toFixed(4) + ' Mbps');
service_bandwidth_out.text((service.bandwidth_out / (1024 * 1024 / 8)).toFixed(4) + ' Mbps');
var service_version = $('#service_version');
service_version.text(service.version);
var service_status = $('#service_status');