From 21846be7eda046a54c86dd2ac85bf6ecf66e0328 Mon Sep 17 00:00:00 2001 From: drigato Date: Thu, 26 Nov 2015 13:25:44 -0500 Subject: [PATCH] SAAS-1243: Bandwidth usage status on Listener Stats page --- .../views/scripts/listenerstat/index.phtml | 12 ++++++++++++ airtime_mvc/public/css/styles.css | 15 ++++++++++++--- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/airtime_mvc/application/views/scripts/listenerstat/index.phtml b/airtime_mvc/application/views/scripts/listenerstat/index.phtml index a521351a1..a3ca9b2ba 100644 --- a/airtime_mvc/application/views/scripts/listenerstat/index.phtml +++ b/airtime_mvc/application/views/scripts/listenerstat/index.phtml @@ -1,4 +1,16 @@
+ + + +
+
+
+
+
;">
+ +
+
+

diff --git a/airtime_mvc/public/css/styles.css b/airtime_mvc/public/css/styles.css index 10a09a31e..f8ac7d6c3 100644 --- a/airtime_mvc/public/css/styles.css +++ b/airtime_mvc/public/css/styles.css @@ -3914,7 +3914,7 @@ hr { flex: 0 0 auto; } -#disk_usage { +#disk_usage, #bandwidth_usage { border-radius: 1px; margin: 7px; font-size: 14px; @@ -3925,7 +3925,7 @@ hr { color: #ccc; } -.disk_usage_progress_bar { +.disk_usage_progress_bar, .bandwidth_usage_progress_bar { float: left; width: 100%; height: 13px; @@ -3936,7 +3936,7 @@ hr { z-index: 1; } -.disk_usage_percent_in_use { +.disk_usage_percent_in_use, .bandwidth_usage_percent_in_use { position: absolute; left: 0; right: 0; @@ -3956,6 +3956,15 @@ hr { position: relative; } +.bandwidth_usage_used { + background-color: #128DFE; + /*background: -moz-linear-gradient(bottom, #128DFE 0%, #1ADDFF 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #128DFE), color-stop(100%, #1ADDFF));*/ + height:13px; + z-index: 2; + position: relative; +} + .dropdown-menu li > a:hover, .dropdown-menu li > a:focus, .dropdown-submenu:hover > a { background: #ff5d1a;