From a2a368b090a4b28599d3cc236e8543d5f99a6467 2014-01-11 00:43:30 From: Brian E. Granger Date: 2014-01-11 00:43:30 Subject: [PATCH] Updating CSS for UI example. --- diff --git a/examples/notebooks/User Interface.ipynb b/examples/notebooks/User Interface.ipynb index bc0fbc4..5c4199e 100644 --- a/examples/notebooks/User Interface.ipynb +++ b/examples/notebooks/User Interface.ipynb @@ -163,7 +163,7 @@ "outputs": [ { "html": [ - "
esc : command mode
ctrl+m : command mode
shift+enter : run cell
ctrl+enter : run cell, select below
alt+enter : run cell, insert below
up : select previous cell
down : select next cell
alt+- : split cell
meta+s : save notebook
ctrl+s : save notebook
" + "
esc : command mode
ctrl+m : command mode
shift+enter : run cell
ctrl+enter : run cell, select below
alt+enter : run cell, insert below
alt+- : split cell
meta+s : save notebook
ctrl+s : save notebook
" ], "output_type": "display_data" }, @@ -176,7 +176,7 @@ "metadata": {}, "output_type": "display_data", "text": [ - "" + "" ] } ], @@ -223,7 +223,7 @@ "metadata": {}, "output_type": "display_data", "text": [ - "" + "" ] } ], @@ -281,7 +281,7 @@ "\n", "IPython.keyboard_manager.command_shortcuts.add_shortcut('r', {\n", " help : 'run cell',\n", - " help_index : 'aa',\n", + " help_index : 'zz',\n", " handler : function (event) {\n", " IPython.notebook.execute_cell();\n", " return false;\n", @@ -291,11 +291,11 @@ "metadata": {}, "output_type": "display_data", "text": [ - "" + "" ] } ], - "prompt_number": 6 + "prompt_number": 7 }, { "cell_type": "markdown", @@ -365,7 +365,7 @@ "metadata": {}, "output_type": "display_data", "text": [ - "" + "" ] } ], @@ -397,7 +397,7 @@ "cell_type": "code", "collapsed": false, "input": [ - "from IPython.display import Javascript, display\n", + "from IPython.display import Javascript, display, HTML\n", "\n", "t = \"\"\"var help = IPython.quick_help.build_{0}_help();\n", "help.children().first().remove();\n", @@ -407,12 +407,34 @@ " display(Javascript(t.format('command')))\n", "\n", "def display_edit_shortcuts():\n", - " display(Javascript(t.format('edit'))) " + " display(Javascript(t.format('edit')))\n", + "\n", + "display(HTML(\"\"\"\n", + "\n", + "\"\"\"))" ], "language": "python", "metadata": {}, - "outputs": [], - "prompt_number": 2 + "outputs": [ + { + "html": [ + "\n", + "\n" + ], + "metadata": {}, + "output_type": "display_data", + "text": [ + "" + ] + } + ], + "prompt_number": 13 } ], "metadata": {}