Show More
@@ -67,6 +67,7 b' define([' | |||||
67 | if (spec) { |
|
67 | if (spec) { | |
68 | display_name = spec.display_name; |
|
68 | display_name = spec.display_name; | |
69 | localStorage.default_kernel_name = kernel_name; |
|
69 | localStorage.default_kernel_name = kernel_name; | |
|
70 | this.element.find("#current-kernel").text(display_name); | |||
70 | } else { |
|
71 | } else { | |
71 | display_name = 'default kernel'; |
|
72 | display_name = 'default kernel'; | |
72 | delete localStorage.default_kernel_name; |
|
73 | delete localStorage.default_kernel_name; |
@@ -49,6 +49,7 b' data-terminals-available="{{terminals_available}}"' | |||||
49 | New Notebook |
|
49 | New Notebook | |
50 | </button> |
|
50 | </button> | |
51 | <button class="dropdown-toggle btn btn-default btn-xs" data-toggle="dropdown"> |
|
51 | <button class="dropdown-toggle btn btn-default btn-xs" data-toggle="dropdown"> | |
|
52 | <span id="current-kernel"></span> | |||
52 | <span class="caret"></span> |
|
53 | <span class="caret"></span> | |
53 | </button> |
|
54 | </button> | |
54 | <ul id="new-notebook-menu" class="dropdown-menu"></ul> |
|
55 | <ul id="new-notebook-menu" class="dropdown-menu"></ul> |
General Comments 0
You need to be logged in to leave comments.
Login now