mirror of
https://github.com/fastogt/fastocloud_admin.git
synced 2025-03-09 23:38:52 +00:00
Bandwidth Mbps
This commit is contained in:
parent
59baf2cde2
commit
5e8e56488c
1 changed files with 6 additions and 3 deletions
|
@ -45,6 +45,7 @@ Dashboard | {{ config['PUBLIC_CONFIG'].site.title }}
|
||||||
width: 25%;
|
width: 25%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
{{super()}}
|
{{super()}}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -126,7 +127,8 @@ Dashboard | {{ config['PUBLIC_CONFIG'].site.title }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-1">
|
<div class="col-md-1">
|
||||||
<a href="{{ url_for('ServiceView:playlist', sid=service.id) }}" class="btn btn-success" role="button">
|
<a href="{{ url_for('ServiceView:playlist', sid=service.id) }}" class="btn btn-success"
|
||||||
|
role="button">
|
||||||
{% trans %}Playlist{% endtrans %}
|
{% trans %}Playlist{% endtrans %}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -538,9 +540,9 @@ Dashboard | {{ config['PUBLIC_CONFIG'].site.title }}
|
||||||
var service_gpu = $('#service_gpu');
|
var service_gpu = $('#service_gpu');
|
||||||
service_gpu.text(service.gpu);
|
service_gpu.text(service.gpu);
|
||||||
var service_bandwidth_in = $('#service_bandwidth_in');
|
var service_bandwidth_in = $('#service_bandwidth_in');
|
||||||
service_bandwidth_in.text(service.bandwidth_in);
|
service_bandwidth_in.text((service.bandwidth_in / (1024 * 1024)).toFixed(4) + ' Mbps');
|
||||||
var service_bandwidth_out = $('#service_bandwidth_out');
|
var service_bandwidth_out = $('#service_bandwidth_out');
|
||||||
service_bandwidth_out.text(service.bandwidth_out);
|
service_bandwidth_out.text((service.bandwidth_out / (1024 * 1024)).toFixed(4) + ' Mbps');
|
||||||
var service_version = $('#service_version');
|
var service_version = $('#service_version');
|
||||||
service_version.text(service.version);
|
service_version.text(service.version);
|
||||||
var service_status = $('#service_status');
|
var service_status = $('#service_status');
|
||||||
|
@ -801,5 +803,6 @@ Dashboard | {{ config['PUBLIC_CONFIG'].site.title }}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue