1
0
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:
Nick O'Leary 2017-01-11 14:15:29 +00:00
parent a95727b654
commit eb027d98aa
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
2 changed files with 14 additions and 1 deletions

View File

@ -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");

View File

@ -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;