From ddb901b3d71022de8924c9241fe02ce52519b087 Mon Sep 17 00:00:00 2001 From: "Brian E. Granger" Date: Tue, 9 Aug 2011 21:12:44 -0700 Subject: [PATCH] Adding minor help strings for keyboard shortcuts. --- .../frontend/html/notebook/static/css/notebook.css | 11 +++++++++++ .../frontend/html/notebook/templates/notebook.html | 8 ++++++++ 2 files changed, 19 insertions(+) diff --git a/IPython/frontend/html/notebook/static/css/notebook.css b/IPython/frontend/html/notebook/static/css/notebook.css index ca6b3de4a09..aa1c316d897 100644 --- a/IPython/frontend/html/notebook/static/css/notebook.css +++ b/IPython/frontend/html/notebook/static/css/notebook.css @@ -83,6 +83,17 @@ span.section_row_buttons > button { float: right; } +.help_string { + float: right; + width: 170px; + padding: 0px 5px; + text-align: center; +} + +.help_string_label { + float: right; +} + #autoindent_span { float: right; } diff --git a/IPython/frontend/html/notebook/templates/notebook.html b/IPython/frontend/html/notebook/templates/notebook.html index 717eb1e51d5..17a35c334b9 100644 --- a/IPython/frontend/html/notebook/templates/notebook.html +++ b/IPython/frontend/html/notebook/templates/notebook.html @@ -165,6 +165,14 @@

Help

+
+ run selected cell + Shift-Enter | +
+
+ run in terminal mode + Ctrl-Enter | +