summaryrefslogtreecommitdiff
path: root/web/kvm/navbar-shortcuts.pug
blob: 401b1d6b571af9ee4e837e637c0404a7d90749a4 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
li(class="right")
	a(class="menu-button" href="#") Shortcuts
	div(data-dont-hide-menu class="menu")
		div(class="text")
			b Paste text as keypress sequence#[br]
		hr
		div(class="text" style="margin-right: 20px")
			textarea(id="hid-pak-text" placeholder="Enter your text here")
		hr
		table(class="kv")
			tr
				td
					button(disabled data-force-hide-menu id="hid-pak-button") • Paste
				td using host keymap
				td
					select(id="hid-pak-keymap-selector")
		hr
		+menu_switch("hid-pak-ask-switch", "Ask paste confirmation", true, true)
		hr
		div(class="text")
		hr
		div(class="buttons")
			div(class="buttons-row")
				button(data-force-hide-menu data-shortcut="CapsLock" class="row50")
					| • Caps Lock  
					img(class="inline-lamp hid-keyboard-caps-led led-gray" src=`${svg_dir}/led-square.svg`)
				button(data-force-hide-menu data-shortcut="MetaLeft" class="row50") • Left Win
			hr
			div(class="buttons-row")
				button(data-force-hide-menu data-shortcut="AltLeft ShiftLeft" class="row50") • Alt+Shift
				button(data-force-hide-menu data-shortcut="ControlLeft KeyW" class="row50") • Ctrl+W
			div(class="buttons-row")
				button(data-force-hide-menu data-shortcut="ControlLeft ShiftLeft" class="row50") • Ctrl+Shift
				button(data-force-hide-menu data-shortcut="AltLeft Tab" class="row50") • Alt+Tab
			div(class="buttons-row")
				button(data-force-hide-menu data-shortcut="ShiftLeft ShiftRight" class="row50") • Shift+Shift
				button(data-force-hide-menu data-shortcut="AltLeft Enter" class="row50") • Alt+Enter
			div(class="buttons-row")
				button(data-force-hide-menu data-shortcut="MetaLeft Space" class="row50") • Win+Space
				button(data-force-hide-menu data-shortcut="AltLeft F4" class="row50") • Alt+F4
			hr
			button(data-force-hide-menu data-shortcut="ControlLeft AltLeft Delete") • Ctrl+Alt+Del
		hr
		div(class="text")
			| &darr; &bull; Alt+SysRq+... <sup><i>linux magic
			| #[a(target="_blank" href="https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html") help]</i></sup>
		hr
		div(class="buttons")
			div(class="buttons-row")
				each key in ["R", "E", "I", "S", "U", "B"]
					button(data-shortcut=`AltLeft PrintScreen Key${key}` class="row16") #{key}