diff --git a/IPython/html/static/notebook/js/kernelselector.js b/IPython/html/static/notebook/js/kernelselector.js index 6b4bfc4..a9165b8 100644 --- a/IPython/html/static/notebook/js/kernelselector.js +++ b/IPython/html/static/notebook/js/kernelselector.js @@ -127,7 +127,6 @@ define([ that.current_selection = data.name; $("#kernel_indicator").find('.kernel_indicator_name').text(data.display_name); that.element.find("img.current_kernel_logo").attr("src", that.notebook.base_url + "kernelspecs/" + data.name + "/logo-64x64.png"); - that.element.find("div.current_kernel_logo").text(data.display_name.slice(0,1).toUpperCase()); }); this.events.on('kernel_created.Session', function(event, data) { @@ -141,14 +140,11 @@ define([ }); var logo_img = this.element.find("img.current_kernel_logo"); - var logo_div = this.element.find("div.current_kernel_logo"); logo_img.on("load", function() { - logo_div.hide(); logo_img.show(); }); logo_img.on("error", function() { logo_img.hide(); - logo_div.show(); }); }; diff --git a/IPython/html/static/notebook/less/kernelselector.less b/IPython/html/static/notebook/less/kernelselector.less index cf7bb7f..97d92ae 100644 --- a/IPython/html/static/notebook/less/kernelselector.less +++ b/IPython/html/static/notebook/less/kernelselector.less @@ -8,11 +8,4 @@ width: 32px; height: 32px; } - - div.current_kernel_logo { - background-color: darken(@navbar-default-bg, 10%); - font-size: 24px; - text-align: center; - text-decoration: bold; - } } diff --git a/IPython/html/static/style/style.min.css b/IPython/html/static/style/style.min.css index d9d4785..1a9c872 100644 --- a/IPython/html/static/style/style.min.css +++ b/IPython/html/static/style/style.min.css @@ -9684,12 +9684,6 @@ select[multiple].celltoolbar select { width: 32px; height: 32px; } -#kernel_logo_widget div.current_kernel_logo { - background-color: #dfdfdf; - font-size: 24px; - text-align: center; - text-decoration: bold; -} #menubar { box-sizing: border-box; -moz-box-sizing: border-box; diff --git a/IPython/html/templates/notebook.html b/IPython/html/templates/notebook.html index 8b1e0c6..27e26e2 100644 --- a/IPython/html/templates/notebook.html +++ b/IPython/html/templates/notebook.html @@ -43,8 +43,7 @@ class="notebook_app" - - + {% endblock headercontainer %}