From 3f4940846b3f05c3d92034e4c90d318ef6d87293 2012-05-31 20:08:30 From: Brian Granger Date: 2012-05-31 20:08:30 Subject: [PATCH] Adding engine selection UI control to DirectViewWidget. --- diff --git a/IPython/frontend/html/notebook/widgets/directview.js b/IPython/frontend/html/notebook/widgets/directview.js index 14aa014..7489a96 100644 --- a/IPython/frontend/html/notebook/widgets/directview.js +++ b/IPython/frontend/html/notebook/widgets/directview.js @@ -28,6 +28,19 @@ DirectViewWidget.prototype.create_element = function () { this.element.addClass('cell border-box-sizing code_cell vbox'); this.element.attr('tabindex','2'); this.element.css('padding-right',0); + + var control = $('
').addClass('dv_control').height('30px'); + var control_label = $('').html('Select engine(s) to run code on interactively: '); + control_label.css('line-height','30px'); + var select = $('