Adding new button 'Normal' in sensors page

 - Adding a 3rd option called Normal in
addition to Critical and Warning based on the
discussion in openbmc/openbmc#2750

Fixes openbmc/openbmc#2750

Tested: Verified the 'Normal' button works.
Change-Id: Ied4d37aa9284392f08818f8111ebbcc677234586
Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/app/server-health/controllers/sensors-overview-controller.js b/app/server-health/controllers/sensors-overview-controller.js
index 04502ca..bd86833 100644
--- a/app/server-health/controllers/sensors-overview-controller.js
+++ b/app/server-health/controllers/sensors-overview-controller.js
@@ -75,6 +75,7 @@
                     $scope.selectedSeverity.all = !$scope.selectedSeverity.all;
 
                     if($scope.selectedSeverity.all){
+                        $scope.selectedSeverity.normal = false;
                         $scope.selectedSeverity.warning = false;
                         $scope.selectedSeverity.critical = false;
                     }
@@ -83,9 +84,10 @@
                 $scope.toggleSeverity = function(severity){
                     $scope.selectedSeverity[severity] = !$scope.selectedSeverity[severity];
 
-                   if(['warning', 'critical'].indexOf(severity) > -1){
+                   if(['normal', 'warning', 'critical'].indexOf(severity) > -1){
                        if($scope.selectedSeverity[severity] == false &&
-                          (!$scope.selectedSeverity.warning &&
+                          (!$scope.selectedSeverity.normal &&
+                           !$scope.selectedSeverity.warning &&
                            !$scope.selectedSeverity.critical
                           )){
                            $scope.selectedSeverity.all = true;
@@ -93,9 +95,11 @@
                        }
                    }
 
-                    if($scope.selectedSeverity.warning &&
+                    if($scope.selectedSeverity.normal &&
+                       $scope.selectedSeverity.warning &&
                        $scope.selectedSeverity.critical){
                         $scope.selectedSeverity.all = true;
+                        $scope.selectedSeverity.normal = false;
                         $scope.selectedSeverity.warning = false;
                         $scope.selectedSeverity.critical = false;
                     }else{