focus-based window manager

This commit is contained in:
Devaev Maxim
2018-12-01 12:56:36 +03:00
parent 5f7834724a
commit a6d4545baf
9 changed files with 143 additions and 110 deletions

View File

@@ -18,9 +18,9 @@ function Atx() {
$("atx-power-led").className = (state.leds.power ? "led-green" : "led-gray");
$("atx-hdd-led").className = (state.leds.hdd ? "led-red" : "led-gray");
$("atx-power-button").disabled = state.busy;
$("atx-power-button-long").disabled = state.busy;
$("atx-reset-button").disabled = state.busy;
ui.switchDisabled($("atx-power-button"), state.busy);
ui.switchDisabled($("atx-power-button-long"), state.busy);
ui.switchDisabled($("atx-reset-button"), state.busy);
};
self.clearState = function() {