##// END OF EJS Templates
two column quickhelp dialog, closes #3895...
Paul Ivanov -
Show More
@@ -52,7 +52,7 b' var IPython = (function (IPython) {'
52 {key: 'Ctrl-m h', help: 'show keyboard shortcuts'}
52 {key: 'Ctrl-m h', help: 'show keyboard shortcuts'}
53 ];
53 ];
54 for (var i=0; i<shortcuts.length; i++) {
54 for (var i=0; i<shortcuts.length; i++) {
55 body.append($('<div>').
55 body.append($('<div>').addClass('quickhelp').
56 append($('<span/>').addClass('shortcut_key').html(shortcuts[i].key)).
56 append($('<span/>').addClass('shortcut_key').html(shortcuts[i].key)).
57 append($('<span/>').addClass('shortcut_descr').html(' : ' + shortcuts[i].help))
57 append($('<span/>').addClass('shortcut_descr').html(' : ' + shortcuts[i].help))
58 );
58 );
@@ -6,4 +6,10 b''
6 }
6 }
7
7
8 .shortcut_descr {
8 .shortcut_descr {
9 display: inline-block;
10 }
11
12 div.quickhelp {
13 float: left;
14 width: 50%;
9 }
15 }
@@ -159,6 +159,8 b' div#pager_splitter{height:8px;}'
159 #pager-container{position:relative;padding:15px 0px;}
159 #pager-container{position:relative;padding:15px 0px;}
160 div#pager{overflow:auto;display:none;}div#pager pre{font-size:13px;line-height:1.231em;color:#000000;background-color:#f7f7f7;padding:0.4em;}
160 div#pager{overflow:auto;display:none;}div#pager pre{font-size:13px;line-height:1.231em;color:#000000;background-color:#f7f7f7;padding:0.4em;}
161 .shortcut_key{display:inline-block;width:15ex;text-align:right;font-family:monospace;}
161 .shortcut_key{display:inline-block;width:15ex;text-align:right;font-family:monospace;}
162 .shortcut_descr{display:inline-block;}
163 div.quickhelp{float:left;width:50%;}
162 .rendered_html{color:black;}.rendered_html em{font-style:italic;}
164 .rendered_html{color:black;}.rendered_html em{font-style:italic;}
163 .rendered_html strong{font-weight:bold;}
165 .rendered_html strong{font-weight:bold;}
164 .rendered_html u{text-decoration:underline;}
166 .rendered_html u{text-decoration:underline;}
@@ -1526,6 +1526,8 b' div#pager_splitter{height:8px;}'
1526 #pager-container{position:relative;padding:15px 0px;}
1526 #pager-container{position:relative;padding:15px 0px;}
1527 div#pager{overflow:auto;display:none;}div#pager pre{font-size:13px;line-height:1.231em;color:#000000;background-color:#f7f7f7;padding:0.4em;}
1527 div#pager{overflow:auto;display:none;}div#pager pre{font-size:13px;line-height:1.231em;color:#000000;background-color:#f7f7f7;padding:0.4em;}
1528 .shortcut_key{display:inline-block;width:15ex;text-align:right;font-family:monospace;}
1528 .shortcut_key{display:inline-block;width:15ex;text-align:right;font-family:monospace;}
1529 .shortcut_descr{display:inline-block;}
1530 div.quickhelp{float:left;width:50%;}
1529 .rendered_html{color:black;}.rendered_html em{font-style:italic;}
1531 .rendered_html{color:black;}.rendered_html em{font-style:italic;}
1530 .rendered_html strong{font-weight:bold;}
1532 .rendered_html strong{font-weight:bold;}
1531 .rendered_html u{text-decoration:underline;}
1533 .rendered_html u{text-decoration:underline;}
General Comments 0
You need to be logged in to leave comments. Login now