power-operations: change style for button operation
Change-Id: I03bf7c1931cc3471aef82e5b94940bc13f153e09
Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
diff --git a/src/dashboard.html b/src/dashboard.html
index 68086c2..42ee109 100644
--- a/src/dashboard.html
+++ b/src/dashboard.html
@@ -63,9 +63,9 @@
//console.log(content.data);
var currentHostState = content.data.CurrentHostState;
if(currentHostState == "xyz.openbmc_project.State.Host.HostState.Off"){
- $('#app-user').removeClass('on off').addClass('off');
+ $('#power-indicator-bar').removeClass('power__state-off power__state-on').addClass('power__state-off');
}else{
- $('#app-user').removeClass('on off').addClass('on');
+ $('#power-indicator-bar').removeClass('power__state-off power__state-on').addClass('power__state-on');
}
},
error: function(xhr, textStatus, errorThrown){