summaryrefslogtreecommitdiff
path: root/web/kvm/navbar-macro.pug
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-07-15 13:46:33 +0300
committerDevaev Maxim <[email protected]>2020-07-15 13:46:33 +0300
commitc80ff7d27ffaed38f205a2360e86fac695aaa5d9 (patch)
tree4e970e5fb42a7813ed8266c2f744919bab53e621 /web/kvm/navbar-macro.pug
parent762fae59fb696f2d68e9847c0c45f7050ba64e64 (diff)
refactoring
Diffstat (limited to 'web/kvm/navbar-macro.pug')
-rw-r--r--web/kvm/navbar-macro.pug27
1 files changed, 27 insertions, 0 deletions
diff --git a/web/kvm/navbar-macro.pug b/web/kvm/navbar-macro.pug
new file mode 100644
index 00000000..9fd981d4
--- /dev/null
+++ b/web/kvm/navbar-macro.pug
@@ -0,0 +1,27 @@
+li(class="right")
+ a(class="menu-button" href="#")
+ +navbar_led("hid-recorder-led", "led-gear")
+ | Macro &#8628;
+ div(data-dont-hide-menu class="menu")
+ div(class="text")
+ b Record and play keyboard &amp; mouse actions#[br]
+ sub For security reasons, the record will not saved on Pi-KVM
+ div(class="buttons buttons-row")
+ button(disabled data-force-hide-menu id="hid-recorder-record" class="row25") &bull; Rec
+ button(disabled id="hid-recorder-stop" class="row25") Stop
+ button(disabled id="hid-recorder-play" class="row25") Play
+ button(disabled id="hid-recorder-clear" class="row25") Clear
+ hr
+ table(class="kv")
+ tr
+ td Script time:
+ td(colspan="2" id="hid-recorder-time" class="value") 00:00:00.0
+ tr
+ td Scripted events:
+ td(id="hid-recorder-events-count" class="value") 0
+ td #[sup #[i include delays]]
+ hr
+ input(type="file" id="hid-recorder-new-script-file")
+ div(class="buttons buttons-row")
+ button(disabled id="hid-recorder-upload" class="row50") Upload script
+ button(disabled id="hid-recorder-download" class="row50") Download script