add colors to good and bad

This commit is contained in:
Anthony Minessale 2015-11-12 18:38:27 -06:00
parent f1b2733c14
commit 1ee2f0abc2
2 changed files with 12 additions and 4 deletions

View File

@ -1506,10 +1506,18 @@ body:-webkit-full-screen #incall .video-footer {
color: #333 !important; color: #333 !important;
} }
.net-info .dedenc { .net-info .yellow {
color: #e3d95b; color: #e3d95b;
} }
.net-info .green {
color: #00ae00;
}
.net-info .red {
color: #ae0000;
}
#mic-meter { #mic-meter {
position: absolute; position: absolute;
bottom: 5px; bottom: 5px;

View File

@ -24,12 +24,12 @@
bwp--; bwp--;
} }
$scope.iconClass = 'mdi-device-signal-wifi-4-bar'; $scope.iconClass = 'mdi-device-signal-wifi-4-bar green';
if (bwp < 4) { if (bwp < 4) {
$scope.iconClass = 'mdi-device-signal-wifi-3-bar'; $scope.iconClass = 'mdi-device-signal-wifi-3-bar yellow';
} else if (bwp < 2) { } 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) { verto.videoQuality.forEach(function(vid) {