min and default for engine number

This commit is contained in:
Matthias BUSSONNIER 2013-01-25 18:14:58 +01:00
parent 0996bfffd3
commit cc821b35fc

View File

@ -103,8 +103,11 @@ var IPython = (function (IPython) {
var profile_col = $('<span/>').addClass('profile_col').text(this.data.profile);
var status_col = $('<span/>').addClass('status_col').html('stopped');
var engines_col = $('<span/>').addClass('engines_col');
var input = $('<input/>').attr('type','number').
attr('size',3).addClass('engine_num_input');
var input = $('<input/>').attr('type','number')
.attr('min',1)
.attr('value',2)
.attr('size',3)
.addClass('engine_num_input');
engines_col.append(input);
var action_col = $('<span/>').addClass('action_col');
var start_button = $('<button>Start</button>').button();