summaryrefslogtreecommitdiff
path: root/web/kvm/navbar-shortcuts.pug
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2021-09-16 05:54:07 +0300
committerMaxim Devaev <[email protected]>2021-09-16 05:54:07 +0300
commitdbd643b2ae8fc0b0b9745bbb07dce669566f354c (patch)
tree293a7a9d718db2e6ca526830d1b63e9e017f4018 /web/kvm/navbar-shortcuts.pug
parent4dd3e8543fab7e01d5cdac638dfb9f285e47e9d2 (diff)
refactoring, regen
Diffstat (limited to 'web/kvm/navbar-shortcuts.pug')
-rw-r--r--web/kvm/navbar-shortcuts.pug24
1 files changed, 12 insertions, 12 deletions
diff --git a/web/kvm/navbar-shortcuts.pug b/web/kvm/navbar-shortcuts.pug
index b616b285..a9b0f6d9 100644
--- a/web/kvm/navbar-shortcuts.pug
+++ b/web/kvm/navbar-shortcuts.pug
@@ -1,13 +1,4 @@
--
- sysrq = {
- "R": "Turn off keyboard raw mode. Set it to XLATE.",
- "E": "Send a SIGTERM to all processes, except for init.",
- "I": "Send a SIGKILL to all processes, except for init.",
- "S": "Attempt to sync all mounted filesystems.",
- "U": "Attempt to remount all mounted filesystems read-only.",
- "B": "Immediately reboot the system without syncing or unmounting your disks."
- }
-
+
li(class="right")
a(class="menu-button" href="#") Shortcuts
div(data-dont-hide-menu class="menu")
@@ -43,5 +34,14 @@ li(class="right")
hr
div(class="buttons")
div(class="buttons-row")
- each val, key in sysrq
- button(data-shortcut=`AltLeft PrintScreen Key${key}` class="row16" title=`${val}`) #{key}
+ -
+ let sysrq = {
+ "R": "Turn off keyboard raw mode, set it to XLATE",
+ "E": "Send a SIGTERM to all processes, except for init",
+ "I": "Send a SIGKILL to all processes, except for init",
+ "S": "Attempt to sync all mounted filesystems",
+ "U": "Attempt to remount all mounted filesystems read-only",
+ "B": "Immediately reboot the system without syncing or unmounting your disks",
+ }
+ each title, key in sysrq
+ button(data-shortcut=`AltLeft PrintScreen Key${key}` class="row16" title=`${title}`) #{key}