mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Removing Kernel menu.
This commit is contained in:
parent
bc7b51d1b0
commit
953da90a98
@ -267,13 +267,6 @@ var IPython = (function (IPython) {
|
||||
this.element.find('#clear_all_output').click(function () {
|
||||
IPython.notebook.clear_all_output();
|
||||
});
|
||||
// Kernel
|
||||
this.element.find('#int_kernel').click(function () {
|
||||
IPython.notebook.session.interrupt_kernel();
|
||||
});
|
||||
this.element.find('#restart_kernel').click(function () {
|
||||
IPython.notebook.restart_kernel();
|
||||
});
|
||||
// Help
|
||||
this.element.find('#keyboard_shortcuts').click(function () {
|
||||
IPython.quick_help.show_keyboard_shortcuts();
|
||||
|
@ -188,16 +188,6 @@ class="notebook_app"
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Kernel</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li id="int_kernel"
|
||||
title="Send KeyboardInterrupt (CTRL-C) to the Kernel">
|
||||
<a href="#">Interrupt</a></li>
|
||||
<li id="restart_kernel"
|
||||
title="Restart the Kernel">
|
||||
<a href="#">Restart</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Help</a>
|
||||
<ul class="dropdown-menu" title="Opens in a new window">
|
||||
<li><a href="http://ipython.org/documentation.html" target="_blank">IPython Help</a></li>
|
||||
|
Loading…
Reference in New Issue
Block a user