From c80ff7d27ffaed38f205a2360e86fac695aaa5d9 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Wed, 15 Jul 2020 13:46:33 +0300 Subject: refactoring --- web/kvm/navbar-macro.pug | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 web/kvm/navbar-macro.pug (limited to 'web/kvm/navbar-macro.pug') 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 -- cgit v1.2.3