##// END OF EJS Templates
Use double resolution logo to support hires displays
Thomas Kluyver -
Show More
1 NO CONTENT: new file 100644, binary diff hidden
NO CONTENT: new file 100644, binary diff hidden
@@ -85,7 +85,7 b' define(['
85 this.events.on('spec_changed.Kernel', function(event, data) {
85 this.events.on('spec_changed.Kernel', function(event, data) {
86 that.current_selection = data.name;
86 that.current_selection = data.name;
87 that.element.find("#current_kernel_spec").find('.kernel_name').text(data.display_name);
87 that.element.find("#current_kernel_spec").find('.kernel_name').text(data.display_name);
88 that.element.find("#current_kernel_logo").attr("src", "/kernelspecs/"+data.name+"/logo-32.png");
88 that.element.find("#current_kernel_logo").attr("src", "/kernelspecs/"+data.name+"/logo-64.png");
89 });
89 });
90
90
91 this.events.on('kernel_created.Session', function(event, data) {
91 this.events.on('kernel_created.Session', function(event, data) {
@@ -9,4 +9,9 b''
9 margin-top:0px;
9 margin-top:0px;
10 }
10 }
11 }
11 }
12
13 & > img#current_kernel_logo {
14 width: 32px;
15 height: 32px;
16 }
12 }
17 }
@@ -9680,6 +9680,10 b' fieldset[disabled] #kernel_selector_widget > button.active {'
9680 #kernel_selector_widget > button > span.caret {
9680 #kernel_selector_widget > button > span.caret {
9681 margin-top: 0px;
9681 margin-top: 0px;
9682 }
9682 }
9683 #kernel_selector_widget > img#current_kernel_logo {
9684 width: 32px;
9685 height: 32px;
9686 }
9683 #menubar {
9687 #menubar {
9684 margin-top: 0px;
9688 margin-top: 0px;
9685 box-sizing: border-box;
9689 box-sizing: border-box;
General Comments 0
You need to be logged in to leave comments. Login now