summaryrefslogtreecommitdiff
path: root/web/js/kvm/main.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-12-15 04:29:40 +0300
committerDevaev Maxim <[email protected]>2018-12-15 04:29:40 +0300
commit3c33bd37190772a783369894e209bcfe0858177a (patch)
treee095f08f37371a3182f6ced0b280c4bcaa06983b /web/js/kvm/main.js
parent3445766a50eab16a96d969397a6fe0422f7cfcd2 (diff)
own auth
Diffstat (limited to 'web/js/kvm/main.js')
-rw-r--r--web/js/kvm/main.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/web/js/kvm/main.js b/web/js/kvm/main.js
deleted file mode 100644
index 5c6d775a..00000000
--- a/web/js/kvm/main.js
+++ /dev/null
@@ -1,16 +0,0 @@
-var wm;
-
-function main() {
- if (checkBrowser()) {
- wm = new WindowManager();
-
- tools.setOnClick($("show-about-button"), () => wm.showWindow($("about-window")));
- tools.setOnClick($("show-keyboard-button"), () => wm.showWindow($("keyboard-window")));
- tools.setOnClick($("show-stream-button"), () => wm.showWindow($("stream-window")));
- tools.setOnClick($("open-log-button"), () => window.open("/kvmd/log?seek=3600&follow=1", "_blank"));
-
- wm.showWindow($("stream-window"));
-
- new Session();
- }
-}