mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
refactoring, regen
This commit is contained in:
@@ -507,7 +507,7 @@
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</li>
|
||||
</li>
|
||||
<li class="right"><a class="menu-button" href="#">Shortcuts</a>
|
||||
<div class="menu" data-dont-hide-menu>
|
||||
<div class="text"><b>Quick keyboard shortcuts<br></b><sub>Also see <i>System → Show keyboard</i></sub></div>
|
||||
@@ -545,12 +545,12 @@
|
||||
<hr>
|
||||
<div class="buttons">
|
||||
<div class="buttons-row">
|
||||
<button class="row16" data-shortcut="AltLeft PrintScreen KeyR">R</button>
|
||||
<button class="row16" data-shortcut="AltLeft PrintScreen KeyE">E</button>
|
||||
<button class="row16" data-shortcut="AltLeft PrintScreen KeyI">I</button>
|
||||
<button class="row16" data-shortcut="AltLeft PrintScreen KeyS">S</button>
|
||||
<button class="row16" data-shortcut="AltLeft PrintScreen KeyU">U</button>
|
||||
<button class="row16" data-shortcut="AltLeft PrintScreen KeyB">B</button>
|
||||
<button class="row16" data-shortcut="AltLeft PrintScreen KeyR" title="Turn off keyboard raw mode, set it to XLATE">R</button>
|
||||
<button class="row16" data-shortcut="AltLeft PrintScreen KeyE" title="Send a SIGTERM to all processes, except for init">E</button>
|
||||
<button class="row16" data-shortcut="AltLeft PrintScreen KeyI" title="Send a SIGKILL to all processes, except for init">I</button>
|
||||
<button class="row16" data-shortcut="AltLeft PrintScreen KeyS" title="Attempt to sync all mounted filesystems">S</button>
|
||||
<button class="row16" data-shortcut="AltLeft PrintScreen KeyU" title="Attempt to remount all mounted filesystems read-only">U</button>
|
||||
<button class="row16" data-shortcut="AltLeft PrintScreen KeyB" title="Immediately reboot the system without syncing or unmounting your disks">B</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user