From 3db4e8967d38de07ad82257981e3c66b3d4f93c0 2013-01-26 10:05:35 From: Matthias BUSSONNIER Date: 2013-01-26 10:05:35 Subject: [PATCH] change to cluster list fix css and make engine input of type number --- diff --git a/IPython/frontend/html/notebook/static/css/projectdashboard.css b/IPython/frontend/html/notebook/static/css/projectdashboard.css index 446a6d0..fb0694f 100644 --- a/IPython/frontend/html/notebook/static/css/projectdashboard.css +++ b/IPython/frontend/html/notebook/static/css/projectdashboard.css @@ -87,3 +87,11 @@ padding : 0; background-color: transparent; } + +input.engine_num_input { + height: 20px; + margin-bottom:2px; + padding-top:0; + padding-bottom:0; + width: 90px; +} diff --git a/IPython/frontend/html/notebook/static/js/clusterlist.js b/IPython/frontend/html/notebook/static/js/clusterlist.js index 8cd5d11..2707d0f 100644 --- a/IPython/frontend/html/notebook/static/js/clusterlist.js +++ b/IPython/frontend/html/notebook/static/js/clusterlist.js @@ -103,7 +103,7 @@ var IPython = (function (IPython) { var profile_col = $('').addClass('profile_col').text(this.data.profile); var status_col = $('').addClass('status_col').html('stopped'); var engines_col = $('').addClass('engines_col'); - var input = $('').attr('type','text'). + var input = $('').attr('type','number'). attr('size',3).addClass('engine_num_input'); engines_col.append(input); var action_col = $('').addClass('action_col'); diff --git a/IPython/frontend/html/notebook/templates/projectdashboard.html b/IPython/frontend/html/notebook/templates/projectdashboard.html index a81a939..eafb598 100644 --- a/IPython/frontend/html/notebook/templates/projectdashboard.html +++ b/IPython/frontend/html/notebook/templates/projectdashboard.html @@ -3,9 +3,9 @@ {% block title %}IPython Dashboard{% endblock %} {% block stylesheet %} - + {% endblock %}