mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Add column headings to keymap table
This commit is contained in:
parent
a95727b654
commit
eb027d98aa
@ -263,6 +263,11 @@ RED.keyboard = (function() {
|
|||||||
}
|
}
|
||||||
if (!shortcutDialog) {
|
if (!shortcutDialog) {
|
||||||
shortcutDialog = $('<div id="keyboard-help-dialog" class="hide">'+
|
shortcutDialog = $('<div id="keyboard-help-dialog" class="hide">'+
|
||||||
|
'<div class="keyboard-shortcut-entry keyboard-shortcut-list-header">'+
|
||||||
|
'<div class="keyboard-shortcut-entry-key">shortcut</div>'+
|
||||||
|
'<div class="keyboard-shortcut-entry-key">action</div>'+
|
||||||
|
'<div class="keyboard-shortcut-entry-scope">scope</div>'+
|
||||||
|
'</div>'+
|
||||||
'<ol id="keyboard-shortcut-list"></ol>'+
|
'<ol id="keyboard-shortcut-list"></ol>'+
|
||||||
'</div>')
|
'</div>')
|
||||||
.appendTo("body");
|
.appendTo("body");
|
||||||
|
@ -16,10 +16,18 @@
|
|||||||
|
|
||||||
#keyboard-help-dialog {
|
#keyboard-help-dialog {
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
|
padding-top: 10px;
|
||||||
|
|
||||||
|
}
|
||||||
|
.keyboard-shortcut-entry.keyboard-shortcut-list-header {
|
||||||
|
padding:0 30px 0 5px;
|
||||||
|
div {
|
||||||
|
color: #666 !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#keyboard-shortcut-list {
|
#keyboard-shortcut-list {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top:10px;
|
top:30px;
|
||||||
left:10px;
|
left:10px;
|
||||||
right:10px;
|
right:10px;
|
||||||
bottom:10px;
|
bottom:10px;
|
||||||
|
Loading…
Reference in New Issue
Block a user