summaryrefslogtreecommitdiff
path: root/web/kvm/navbar-macro.pug
diff options
context:
space:
mode:
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 ↴
+ div(data-dont-hide-menu class="menu")
+ div(class="text")
+ b Record and play keyboard & 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") • 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