Skip to content

Commit

Permalink
Adding minor help strings for keyboard shortcuts.
Browse files Browse the repository at this point in the history
  • Loading branch information
ellisonbg committed Aug 10, 2011
1 parent 89e253a commit ddb901b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
11 changes: 11 additions & 0 deletions IPython/frontend/html/notebook/static/css/notebook.css
Expand Up @@ -83,6 +83,17 @@ span.section_row_buttons > button {
float: right; float: right;
} }


.help_string {
float: right;
width: 170px;
padding: 0px 5px;
text-align: center;
}

.help_string_label {
float: right;
}

#autoindent_span { #autoindent_span {
float: right; float: right;
} }
Expand Down
8 changes: 8 additions & 0 deletions IPython/frontend/html/notebook/templates/notebook.html
Expand Up @@ -165,6 +165,14 @@ <h3 class="section_header">Help</h3>
<button id="sympy_help"><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></button> <button id="sympy_help"><a href="http://docs.sympy.org/dev/index.html" target="_blank">SymPy</a></button>
</span> </span>
</div> </div>
<div class="section_row">
<span class="help_string">run selected cell</span>
<span class="help_string_label">Shift-Enter |</span>
</div>
<div class="section_row">
<span class="help_string">run in terminal mode</span>
<span class="help_string_label">Ctrl-Enter |</span>
</div>
</div> </div>
</div> </div>


Expand Down

0 comments on commit ddb901b

Please sign in to comment.