www/js/mon_fermenter.js

changeset 251
a7f25be71ba8
parent 193
3cbd81ea9391
child 299
047ead629d4a
equal deleted inserted replaced
250:30e7d6ea119b 251:a7f25be71ba8
202 srcMode = [ "OFF", "NONE", "FRIDGE", "BEER", "PROFILE" ]; 202 srcMode = [ "OFF", "NONE", "FRIDGE", "BEER", "PROFILE" ];
203 srcStage = [ "PRIMARY", "SECONDARY", "TERTIARY", "CARBONATION" ]; 203 srcStage = [ "PRIMARY", "SECONDARY", "TERTIARY", "CARBONATION" ];
204 $("#info_mode").jqxDropDownList({ theme: theme, source: srcMode, width: 100, height: 24, dropDownHeight: 156 }); 204 $("#info_mode").jqxDropDownList({ theme: theme, source: srcMode, width: 100, height: 24, dropDownHeight: 156 });
205 $("#info_stage").jqxDropDownList({ theme: theme, source: srcStage, width: 150, height: 24, dropDownHeight: 125 }); 205 $("#info_stage").jqxDropDownList({ theme: theme, source: srcStage, width: 150, height: 24, dropDownHeight: 125 });
206 206
207 var targetoptions = { 207 var targetoptions = { inputMode: 'simple', theme: theme, width: 70, min: 0, max: 40, decimalDigits: 1, spinButtons: true };
208 inputMode: 'simple',
209 spinMode: 'simple',
210 theme: theme,
211 width: 70,
212 min:0, max: 40,
213 decimalDigits: 1,
214 spinButtons: true,
215 spinButtonsStep: 0.1
216 };
217 $("#target_lo").jqxNumberInput( targetoptions ); 208 $("#target_lo").jqxNumberInput( targetoptions );
218 $("#target_hi").jqxNumberInput( targetoptions ); 209 $("#target_hi").jqxNumberInput( targetoptions );
219 210
220 $("#Profile1").jqxButton({ template: "info", width: '150px', height: 24, theme: theme }); 211 $("#Profile1").jqxButton({ template: "info", width: '150px', height: 24, theme: theme });
221 $("#Profile2").jqxButton({ template: "info", width: '150px', height: 24, theme: theme }); 212 $("#Profile2").jqxButton({ template: "info", width: '150px', height: 24, theme: theme });

mercurial