From 1ee2f0abc224fd6830fb8a2ddf120abfd8f641f0 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 12 Nov 2015 18:38:27 -0600 Subject: [PATCH] add colors to good and bad --- html5/verto/verto_communicator/src/css/verto.css | 10 +++++++++- .../src/vertoControllers/controllers/MenuController.js | 6 +++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/html5/verto/verto_communicator/src/css/verto.css b/html5/verto/verto_communicator/src/css/verto.css index d4763f2bf9..a03cac2e09 100644 --- a/html5/verto/verto_communicator/src/css/verto.css +++ b/html5/verto/verto_communicator/src/css/verto.css @@ -1506,10 +1506,18 @@ body:-webkit-full-screen #incall .video-footer { color: #333 !important; } -.net-info .dedenc { +.net-info .yellow { color: #e3d95b; } +.net-info .green { + color: #00ae00; +} + +.net-info .red { + color: #ae0000; +} + #mic-meter { position: absolute; bottom: 5px; diff --git a/html5/verto/verto_communicator/src/vertoControllers/controllers/MenuController.js b/html5/verto/verto_communicator/src/vertoControllers/controllers/MenuController.js index adb5f6953c..104b5c2b50 100644 --- a/html5/verto/verto_communicator/src/vertoControllers/controllers/MenuController.js +++ b/html5/verto/verto_communicator/src/vertoControllers/controllers/MenuController.js @@ -24,12 +24,12 @@ bwp--; } - $scope.iconClass = 'mdi-device-signal-wifi-4-bar'; + $scope.iconClass = 'mdi-device-signal-wifi-4-bar green'; if (bwp < 4) { - $scope.iconClass = 'mdi-device-signal-wifi-3-bar'; + $scope.iconClass = 'mdi-device-signal-wifi-3-bar yellow'; } else if (bwp < 2) { - $scope.iconClass = 'mdi-device-signal-wifi-1-bar dedenc'; + $scope.iconClass = 'mdi-device-signal-wifi-1-bar red'; } verto.videoQuality.forEach(function(vid) {