Header and nav changes based on user feedback.
- Changed "page last refreshed" label to "Data last refreshed"
- Changed "Configuration" label to "Server Configuration"
- adding flashing of header timestamp on click of "refresh" button
- moved "Server LED" under Server Configuration
Change-Id: I9971fd96da94514a7edc8e4977591c4de85f70c9
Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
diff --git a/app/common/directives/app-header.js b/app/common/directives/app-header.js
index 23038a1..a2f510e 100644
--- a/app/common/directives/app-header.js
+++ b/app/common/directives/app-header.js
@@ -42,6 +42,14 @@
$scope.refresh = function(){
$scope.loadServerStatus();
+
+ //Add flash class to header timestamp on click of refresh
+ var myEl = angular.element( document.querySelector( '.header__refresh' ) );
+ myEl.addClass('flash');
+ setTimeout(function () {
+ myEl.removeClass("flash");
+ },2000);
+
}
var loginListener = $rootScope.$on('user-logged-in', function(event, arg){