diff options
author | Devaev Maxim <[email protected]> | 2018-10-09 16:20:41 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-10-09 16:20:41 +0300 |
commit | a449b39c52392d0d8b043934a15792f21d54e06d (patch) | |
tree | c8ff6a67baea441b61ea14f0363ba4b22c0cd116 /web/js/msd.js | |
parent | 2c241fab4409eac3b40762d2c23d42ac6e3f8df1 (diff) |
refactoring
Diffstat (limited to 'web/js/msd.js')
-rw-r--r-- | web/js/msd.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/js/msd.js b/web/js/msd.js index 9adb7495..bbc86370 100644 --- a/web/js/msd.js +++ b/web/js/msd.js @@ -103,18 +103,18 @@ function Msd() { var __applyState = function() { if (__state.connected_to === "server") { $("msd-another-another-user-uploads").style.display = "none"; - $("msd-led").className = "led-on"; + $("msd-led").className = "led-green"; $("msd-status").innerHTML = $("msd-led").title = "Connected to Server"; $("msd-another-another-user-uploads").style.display = "none"; } else if (__state.busy) { if (!__upload_http) { $("msd-another-another-user-uploads").style.display = "block"; } - $("msd-led").className = "led-msd-writing"; + $("msd-led").className = "led-yellow-rotating-fast"; $("msd-status").innerHTML = $("msd-led").title = "Uploading new image"; } else { $("msd-another-another-user-uploads").style.display = "none"; - $("msd-led").className = "led-off"; + $("msd-led").className = "led-gray"; if (__state.in_operate) { $("msd-status").innerHTML = $("msd-led").title = "Connected to KVM"; } else { |