mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-15 04:00:34 +08:00
Merge pull request #664 from Carreau/2-box
quickhelp usability: 2 boxes
This commit is contained in:
commit
376bc4db73
@ -191,11 +191,13 @@ define([
|
|||||||
'border. <b>Command mode</b> binds the keyboard to notebook level actions '+
|
'border. <b>Command mode</b> binds the keyboard to notebook level actions '+
|
||||||
'and is indicated by a grey cell border.'
|
'and is indicated by a grey cell border.'
|
||||||
);
|
);
|
||||||
|
element.append(doc);
|
||||||
if (platform === 'MacOS') {
|
if (platform === 'MacOS') {
|
||||||
|
doc = $('<div/>').addClass('alert alert-info');
|
||||||
var key_div = this.build_key_names();
|
var key_div = this.build_key_names();
|
||||||
doc.append(key_div);
|
doc.append(key_div);
|
||||||
|
element.append(doc);
|
||||||
}
|
}
|
||||||
element.append(doc);
|
|
||||||
|
|
||||||
// Command mode
|
// Command mode
|
||||||
var cmd_div = this.build_command_help();
|
var cmd_div = this.build_command_help();
|
||||||
|
Loading…
Reference in New Issue
Block a user