forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhotkeys.html
More file actions
107 lines (107 loc) · 3.05 KB
/
hotkeys.html
File metadata and controls
107 lines (107 loc) · 3.05 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<?php
function Keyboard_Shortcut($num, $name, $keys) {
$return =
' <tr>
<td colspan="2"><br /><br /><br /><a name="' . $num . '">' . $num . '. ' . $name . '</a><br /><br /></td>
</tr>
';
foreach ($keys as $key=>$text) {
$return .=
' <tr>
<td class=\'shortcut\'><span class="kbd">' . str_replace(['^', '#'], ['Ctrl</span> + <span class="kbd">', 'Shift</span> + <span class="kbd">'], $key) . '</span></td>
<td>' . $text . '</td>
</tr>
';
}
return $return;
}
?>
<style>
table span.kbd {
background: #fafafa none repeat scroll 0 0;
border: 1px solid #aaa;
border-radius: 4px;
line-height: 1.8em;
margin: 0;
padding: 0 3px 1px;
vertical-align: baseline;
white-space: nowrap;
}
h2 {
color: #ffcc00;
}
body {
background: #777;
font-family: Arial;
}
</style>
<title>Hestia Keyboard Shortcuts</title>
<center>
<h2>Keyboard Shortcuts</h2>
<table cellspacing="3" width="500px">
<?=
Keyboard_Shortcut(1, 'Control Panel', [
'↑'=>'Move cursor up',
'↓'=>'Move cursor down',
'1'=>'List user accounts / USER',
'2'=>'List web domains / WEB',
'3'=>'List dns domains / DNS',
'4'=>'List mail domains / MAIL',
'5'=>'List databases / DB',
'6'=>'List cron jobs / CRON',
'7'=>'List user backups / BACKUP',
'^1'=>'List hosting packages / Packages',
'^2'=>'List IP addresses / IP',
'^3'=>'List rrd graphs / Grapsh',
'^4'=>'List user stats / Statistics',
'^5'=>'List user action log / Log',
'^6'=>'List software updates / Updates',
'^7'=>'List firewall rules / Firewall',
'^8'=>'List services / Server',
'^9'=>'List server status / CPU MEM NET DISK',
'^0'=>'List user files / File Manager',
'f'=>'Find user objects / Focus on search bar',
'h'=>'Show help / Help',
'n'=>'Add new object',
'e'=>'Edit selected object',
's'=>'Suspend selected object',
'd'=>'Delete selected object',
'^a'=>'Select/deselect all objects',
'#↑'=>'Select/deselect object above cursor',
'#↓'=>'Select/deselect object below cursor',
'^Enter'=>'Save form',
'^Backspace'=>'Go back to previous listing',
]).
Keyboard_Shortcut(2, 'File Manager', [
'Tab'=>'Switch between left and right file list',
'←'=>'Switch between left and right file list',
'→'=>'Switch between left and right file list',
'↑'=>'Move cursor up',
'↓'=>'Move cursor down',
'Insert'=>'Select file or directory',
'Space'=>'Select file or directory (as INSERT)',
'#↑'=>' Select/deselect file above cursor',
'#↓'=>'Select/deselect file below cursor',
'Enter'=>'Change directory / run association action',
'^a'=>'Select all files and directories',
'^c'=>'Copy selected files from active tab to inactive',
'^x'=>'Cut selected files to clipboard',
'^v'=>'Paste from clipboard to current dir',
'^m'=>'Move selected files from active tab to inactive',
'^d'=>'Delete selected files',
'Del'=>'Delete selected files',
'n'=>'Create new file',
'e'=>'Edit selected file',
'r'=>'Rename selected file',
'm'=>'Move selected file',
'd'=>'Delete selected file',
'g'=>'Download selected file',
'f'=>'Search file',
]).
Keyboard_Shortcut(3, 'File Editor', [
'^s'=>'Save file',
'^n'=>'New file',
'^o'=>'Open file',
])
?>
</table>