summaryrefslogtreecommitdiff
path: root/web/kvm/navbar-macro.pug
blob: 7d3ab18f2bcd012bcb306d534d8f04900af45dbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
li(id="macro-dropdown" 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 HID/ATX/GPIO actions#[br]
			sub For security reasons, the record will not be saved on the PiKVM
		hr
		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
		+menu_switch("hid-recorder-loop-switch", "Infinite loop playback", false, false)
		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