diff --git a/app/templates/user/dashboard.html b/app/templates/user/dashboard.html index 534a4db..68334ec 100644 --- a/app/templates/user/dashboard.html +++ b/app/templates/user/dashboard.html @@ -45,6 +45,7 @@ Dashboard | {{ config['PUBLIC_CONFIG'].site.title }} width: 25%; } + {{super()}} {% endblock %} @@ -126,7 +127,8 @@ Dashboard | {{ config['PUBLIC_CONFIG'].site.title }}
@@ -538,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); + service_bandwidth_in.text((service.bandwidth_in / (1024 * 1024)).toFixed(4) + ' Mbps'); 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'); service_version.text(service.version); var service_status = $('#service_status'); @@ -801,5 +803,6 @@ Dashboard | {{ config['PUBLIC_CONFIG'].site.title }} } + {% endblock %}