21 *****************************************************************************/ |
21 *****************************************************************************/ |
22 |
22 |
23 |
23 |
24 $(document).ready(function () { |
24 $(document).ready(function () { |
25 |
25 |
26 // tooltips |
26 var recipe_type = 2; |
|
27 var style_type = 0; |
|
28 var tun_material = 0; |
|
29 |
|
30 // Tab 1, base |
27 $("#name").jqxTooltip({ content: 'De naam voor dit brouw project.' }); |
31 $("#name").jqxTooltip({ content: 'De naam voor dit brouw project.' }); |
|
32 $("#name").jqxInput({ theme: theme, width: 640, height: 23 }); |
28 $("#code").jqxTooltip({ content: 'Het unieke code nummer van dit brouw project.' }); |
33 $("#code").jqxTooltip({ content: 'Het unieke code nummer van dit brouw project.' }); |
|
34 $("#code").jqxInput({ theme: theme, width: 100, height: 23 }); |
29 $("#notes").jqxTooltip({ content: 'De uitgebreide opmerkingen over dit project.' }); |
35 $("#notes").jqxTooltip({ content: 'De uitgebreide opmerkingen over dit project.' }); |
30 $("#type").jqxTooltip({ content: 'Het brouw type van bier in dit brouw project.' }); |
|
31 |
|
32 // editers |
|
33 var srcType = [ "All Grain", "Partial Mash", "Extract" ]; |
|
34 $("#name").jqxInput({ theme: theme, width: 640, height: 23 }); |
|
35 $("#code").jqxInput({ theme: theme, width: 100, height: 23 }); |
|
36 $("#notes").jqxInput({ theme: theme, width: 960, height: 200 }); |
36 $("#notes").jqxInput({ theme: theme, width: 960, height: 200 }); |
37 $("#type").jqxDropDownList({ theme: theme, source: srcType, width: 125, height: 23, dropDownHeight: 95 }); |
37 $("#type").jqxDropDownList({ |
38 |
38 theme: theme, |
|
39 source: RecipeTypeAdapter, |
|
40 valueMember: 'id', |
|
41 displayMember: 'nl', |
|
42 width: 180, |
|
43 height: 23, |
|
44 autoDropDownHeight: true |
|
45 }); |
|
46 $("#type").jqxDropDownList('selectItem', 2); |
|
47 $("#type").on('select', function (event) { |
|
48 if (event.args) { |
|
49 recipe_type = event.args.index; |
|
50 } |
|
51 }); |
|
52 |
|
53 // Tab 2, style |
|
54 $("#st_name").jqxTooltip({ content: 'De bierstijl naam voor dit recept.'}); |
39 $("#st_name").jqxInput({ theme: theme, width: 250, height: 23 }); |
55 $("#st_name").jqxInput({ theme: theme, width: 250, height: 23 }); |
|
56 $("#st_category").jqxTooltip({ content: 'De Amerikaanse bierstijl categorie.'}); |
40 $("#st_category").jqxInput({ theme: theme, width: 250, height: 23 }); |
57 $("#st_category").jqxInput({ theme: theme, width: 250, height: 23 }); |
|
58 $("#st_category_number").jqxTooltip({ content: 'De Amerikaanse bierstijl categorie sub nummer.'}); |
41 $("#st_category_number").jqxInput({ theme: theme, width: 70, height: 23 }); |
59 $("#st_category_number").jqxInput({ theme: theme, width: 70, height: 23 }); |
|
60 $("#st_letter").jqxTooltip({ content: 'De bierstijl letter voor dit recept.'}); |
42 $("#st_letter").jqxInput({ theme: theme, width: 250, height: 23 }); |
61 $("#st_letter").jqxInput({ theme: theme, width: 250, height: 23 }); |
|
62 $("#st_guide").jqxTooltip({ content: 'De bierstijl gids voor dit recept.'}); |
43 $("#st_guide").jqxInput({ theme: theme, width: 250, height: 23 }); |
63 $("#st_guide").jqxInput({ theme: theme, width: 250, height: 23 }); |
44 $("#st_notes").jqxInput({ theme: theme, width: 800, height: 100 }); |
64 $("#st_notes").jqxInput({ theme: theme, width: 800, height: 100 }); |
45 $("#st_type").jqxInput({ theme: theme, width: 90, height: 23 }); |
65 $("#st_type").jqxTooltip({ content: 'Het bierstijl type.'}); |
46 $("#st_og_min").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 50, height: 23, decimalDigits: 3, readOnly: true }); |
66 $("#st_type").jqxInput({ theme: theme, width: 250, height: 23 }); |
47 $("#st_og_max").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 50, height: 23, decimalDigits: 3, readOnly: true }); |
67 $("#st_og_min").jqxTooltip({ content: 'Het minimum begin SG voor deze bierstijl.'}); |
48 $("#st_fg_min").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 50, height: 23, decimalDigits: 3, readOnly: true }); |
68 $("#st_og_min").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 90, height: 23, decimalDigits: 3, readOnly: true }); |
49 $("#st_fg_max").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 50, height: 23, decimalDigits: 3, readOnly: true }); |
69 $("#st_og_max").jqxTooltip({ content: 'Het maximum begin SG voor deze bierstijl.'}); |
50 $("#st_ibu_min").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 50, height: 23, decimalDigits: 0, readOnly: true }); |
70 $("#st_og_max").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 90, height: 23, decimalDigits: 3, readOnly: true }); |
51 $("#st_ibu_max").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 50, height: 23, decimalDigits: 0, readOnly: true }); |
71 $("#st_fg_min").jqxTooltip({ content: 'Het minimum eind SG voor deze bierstijl.'}); |
52 $("#st_color_min").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 50, height: 23, decimalDigits: 0, readOnly: true }); |
72 $("#st_fg_min").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 90, height: 23, decimalDigits: 3, readOnly: true }); |
53 $("#st_color_max").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 50, height: 23, decimalDigits: 0, readOnly: true }); |
73 $("#st_fg_max").jqxTooltip({ content: 'Het maximum eind SG voor deze bierstijl.'}); |
54 $("#st_carb_min").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 50, height: 23, decimalDigits: 1, readOnly: true }); |
74 $("#st_fg_max").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 90, height: 23, decimalDigits: 3, readOnly: true }); |
55 $("#st_carb_max").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 50, height: 23, decimalDigits: 1, readOnly: true }); |
75 $("#st_ibu_min").jqxTooltip({ content: 'De minimum bitterheid voor deze bierstijl.'}); |
56 $("#st_abv_min").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 50, height: 23, decimalDigits: 1, readOnly: true }); |
76 $("#st_ibu_min").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 90, height: 23, decimalDigits: 0, readOnly: true }); |
57 $("#st_abv_max").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 50, height: 23, decimalDigits: 1, readOnly: true }); |
77 $("#st_ibu_max").jqxTooltip({ content: 'De maximum bitterheid voor deze bierstijl.'}); |
|
78 $("#st_ibu_max").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 90, height: 23, decimalDigits: 0, readOnly: true }); |
|
79 $("#st_color_min").jqxTooltip({ content: 'De minimum kleur voor deze bierstijl.'}); |
|
80 $("#st_color_min").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 90, height: 23, decimalDigits: 0, readOnly: true }); |
|
81 $("#st_color_max").jqxTooltip({ content: 'De maximum kleur voor deze bierstijl.'}); |
|
82 $("#st_color_max").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 90, height: 23, decimalDigits: 0, readOnly: true }); |
|
83 $("#st_carb_min").jqxTooltip({ content: 'Het minimum koolzuur volume voor deze bierstijl.'}); |
|
84 $("#st_carb_min").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 90, height: 23, decimalDigits: 1, readOnly: true }); |
|
85 $("#st_carb_max").jqxTooltip({ content: 'Het maximum koolzuur volume voor deze bierstijl.'}); |
|
86 $("#st_carb_max").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 90, height: 23, decimalDigits: 1, readOnly: true }); |
|
87 $("#st_abv_min").jqxTooltip({ content: 'Het minimum alcohol volume % voor deze bierstijl.'}); |
|
88 $("#st_abv_min").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 90, height: 23, decimalDigits: 1, readOnly: true }); |
|
89 $("#st_abv_max").jqxTooltip({ content: 'Het maximum alcohol volume % voor deze bierstijl.'}); |
|
90 $("#st_abv_max").jqxNumberInput({ inputMode: 'simple', theme: theme, width: 90, height: 23, decimalDigits: 1, readOnly: true }); |
58 $("#st_profile").jqxInput({ theme: theme, width: 800, height: 48 }); |
91 $("#st_profile").jqxInput({ theme: theme, width: 800, height: 48 }); |
59 $("#st_ingredients").jqxInput({ theme: theme, width: 800, height: 23 }); |
92 $("#st_ingredients").jqxInput({ theme: theme, width: 800, height: 23 }); |
60 $("#st_examples").jqxInput({ theme: theme, width: 800, height: 48 }); |
93 $("#st_examples").jqxInput({ theme: theme, width: 800, height: 48 }); |
61 |
|
62 $("#eq_name").jqxTooltip({ content: 'De naam van deze brouw apparatuur.' }); |
|
63 $("#eq_name").jqxInput({ theme: theme, width: 250, height: 23 }); |
|
64 $("#eq_calc_boil_volume").jqxCheckBox({ theme: theme, width: 120, height: 23, disabled: true }); |
|
65 $("#eq_boil_size").jqxTooltip({ content: 'Normaal kook volume in liters' }); |
|
66 $("#eq_boil_size").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 1 }); |
|
67 $("#eq_batch_size").jqxTooltip({ content: 'Berekende batch grootte in liters aan het eind van de kook.' }); |
|
68 $("#eq_batch_size").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 1 }); |
|
69 $("#eq_tun_volume").jqxTooltip({ content: 'Maisch ketel volume.' }); |
|
70 $("#eq_tun_volume").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 1 }); |
|
71 $("#eq_tun_weight").jqxTooltip({ content: 'Maisch ketel gewicht.' }); |
|
72 $("#eq_tun_weight").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 1 }); |
|
73 $("#eq_tun_height").jqxTooltip({ content: 'Maisch ketel hoogte.' }); |
|
74 $("#eq_tun_height").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 1 }); |
|
75 $("#eq_tun_material").jqxTooltip({ content: 'Maisch ketel materiaal.' }); |
|
76 $("#eq_tun_material").jqxInput({ theme: theme, width: 120, height: 23 }); |
|
77 $("#eq_tun_specific_heat").jqxTooltip({ content: 'Maisch ketel warmte geleiding.' }); |
|
78 $("#eq_tun_specific_heat").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 1 }); |
|
79 $("#eq_top_up_water").jqxTooltip({ content: 'Extra water in het gistvat.' }); |
|
80 $("#eq_top_up_water").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 1 }); |
|
81 $("#eq_trub_chiller_loss").jqxTooltip({ content: 'Standaard verlies bij het overbrengen naar het gistvat.' }); |
|
82 $("#eq_trub_chiller_loss").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 1 }); |
|
83 $("#eq_evap_rate").jqxTooltip({ content: 'Verdamping in liters per uur.' }); |
|
84 $("#eq_evap_rate").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 2, }); |
|
85 $("#eq_boil_time").jqxTooltip({ content: 'Normale kooktijd in minuten.' }); |
|
86 $("#eq_boil_time").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 0 }); |
|
87 $("#eq_top_up_kettle").jqxTooltip({ content: 'Extra water toevoegen tijdens de kook.' }); |
|
88 $("#eq_top_up_kettle").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 1 }); |
|
89 $("#eq_hop_utilization").jqxTooltip({ content: '100% voor kleine installaties, hoger voor grote brouwerijen.' }); |
|
90 $("#eq_hop_utilization").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 0 }); |
|
91 $("#eq_notes").jqxTooltip({ content: 'Opmerkingen over deze apparatuur.' }); |
|
92 $("#eq_notes").jqxInput({ theme: theme, width: 960, height: 100 }); |
|
93 $("#eq_lauter_volume").jqxTooltip({ content: 'Filterkuip volume.' }); |
|
94 $("#eq_lauter_volume").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 1 }); |
|
95 $("#eq_lauter_height").jqxTooltip({ content: 'Filterkuip hoogte.' }); |
|
96 $("#eq_lauter_height").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 1 }); |
|
97 $("#eq_lauter_deadspace").jqxTooltip({ content: 'Filterkuip verlies in liters.' }); |
|
98 $("#eq_lauter_deadspace").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 1 }); |
|
99 $("#eq_kettle_volume").jqxTooltip({ content: 'Kook ketel volume in liters.' }); |
|
100 $("#eq_kettle_volume").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 1 }); |
|
101 $("#eq_kettle_height").jqxTooltip({ content: 'Kook ketel hoogte in cm.' }); |
|
102 $("#eq_kettle_height").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 1 }); |
|
103 $("#eq_mash_volume").jqxTooltip({ content: 'Maisch water voor de eerste stap.' }); |
|
104 $("#eq_mash_volume").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 1 }); |
|
105 $("#eq_mash_max").jqxTooltip({ content: 'De maximale moutstort in Kg.' }); |
|
106 $("#eq_mash_max").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 1 }); |
|
107 $("#eq_efficiency").jqxTooltip({ content: 'Gemiddeld brouwzaal rendement.' }); |
|
108 $("#eq_efficiency").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 70, height: 23, decimalDigits: 1 }); |
|
109 |
|
110 // Default values |
|
111 $("#type").val('All Grain'); |
|
112 |
|
113 $("#styleSelect").jqxDropDownList({ |
94 $("#styleSelect").jqxDropDownList({ |
114 placeHolder: "Kies bierstijl:", |
95 placeHolder: "Kies bierstijl:", |
115 theme: theme, |
96 theme: theme, |
116 source: styleslist, |
97 source: styleslist, |
117 displayMember: "name", |
98 displayMember: "name", |
118 width: 150, |
99 width: 250, |
119 height: 27, |
100 height: 27, |
120 dropDownWidth: 500, |
101 dropDownWidth: 500, |
121 dropDownHeight: 500, |
102 dropDownHeight: 500, |
122 renderer: function (index, label, value) { |
103 renderer: function (index, label, value) { |
123 var datarecord = styleslist.records[index]; |
104 var datarecord = styleslist.records[index]; |
124 return datarecord.style_guide + " " + datarecord.style_letter+ " " + datarecord.name; |
105 return datarecord.style_guide + " " + datarecord.style_letter+ " " + datarecord.name; |
125 } |
106 } |
126 }); |
107 }); |
127 $("#styleSelect").on('select', function (event) { |
108 $("#styleSelect").on('select', function (event) { |
128 if (event.args) { |
109 if (event.args) { |
151 $("#st_ingredients").val(datarecord.ingredients); |
133 $("#st_ingredients").val(datarecord.ingredients); |
152 $("#st_examples").val(datarecord.examples); |
134 $("#st_examples").val(datarecord.examples); |
153 } |
135 } |
154 }); |
136 }); |
155 |
137 |
156 // Equipemnt dropdown list |
138 // Tab 3, equipment |
|
139 $("#eq_name").jqxTooltip({ content: 'De naam van deze brouw apparatuur.' }); |
|
140 $("#eq_name").jqxInput({ theme: theme, width: 250, height: 23 }); |
|
141 $("#eq_calc_boil_volume").jqxCheckBox({ theme: theme, width: 120, height: 23, disabled: true }); |
|
142 $("#eq_boil_size").jqxTooltip({ content: 'Normaal kook volume in liters' }); |
|
143 $("#eq_boil_size").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 90, height: 23, decimalDigits: 1 }); |
|
144 $("#eq_batch_size").jqxTooltip({ content: 'Berekende batch grootte in liters aan het eind van de kook.' }); |
|
145 $("#eq_batch_size").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 90, height: 23, decimalDigits: 1 }); |
|
146 $("#eq_tun_volume").jqxTooltip({ content: 'Maisch ketel volume.' }); |
|
147 $("#eq_tun_volume").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 90, height: 23, decimalDigits: 1 }); |
|
148 $("#eq_tun_weight").jqxTooltip({ content: 'Maisch ketel gewicht.' }); |
|
149 $("#eq_tun_weight").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 90, height: 23, decimalDigits: 1 }); |
|
150 $("#eq_tun_height").jqxTooltip({ content: 'Maisch ketel hoogte.' }); |
|
151 $("#eq_tun_height").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 90, height: 23, decimalDigits: 1 }); |
|
152 $("#eq_tun_material").jqxTooltip({ content: 'Maisch ketel materiaal.' }); |
|
153 $("#eq_tun_material").jqxInput({ theme: theme, width: 180, height: 23 }); |
|
154 $("#eq_tun_specific_heat").jqxTooltip({ content: 'Maisch ketel warmte geleiding.' }); |
|
155 $("#eq_tun_specific_heat").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 90, height: 23, decimalDigits: 3 }); |
|
156 $("#eq_top_up_water").jqxTooltip({ content: 'Extra water in het gistvat.' }); |
|
157 $("#eq_top_up_water").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 90, height: 23, decimalDigits: 1 }); |
|
158 $("#eq_trub_chiller_loss").jqxTooltip({ content: 'Standaard verlies bij het overbrengen naar het gistvat.' }); |
|
159 $("#eq_trub_chiller_loss").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 90, height: 23, decimalDigits: 1 }); |
|
160 $("#eq_evap_rate").jqxTooltip({ content: 'Verdamping in liters per uur.' }); |
|
161 $("#eq_evap_rate").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 90, height: 23, decimalDigits: 2, }); |
|
162 $("#eq_boil_time").jqxTooltip({ content: 'Normale kooktijd in minuten.' }); |
|
163 $("#eq_boil_time").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 90, height: 23, decimalDigits: 0 }); |
|
164 $("#eq_top_up_kettle").jqxTooltip({ content: 'Extra water toevoegen tijdens de kook.' }); |
|
165 $("#eq_top_up_kettle").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 90, height: 23, decimalDigits: 1 }); |
|
166 $("#eq_hop_utilization").jqxTooltip({ content: '100% voor kleine installaties, hoger voor grote brouwerijen.' }); |
|
167 $("#eq_hop_utilization").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 90, height: 23, decimalDigits: 0 }); |
|
168 $("#eq_notes").jqxTooltip({ content: 'Opmerkingen over deze apparatuur.' }); |
|
169 $("#eq_notes").jqxInput({ theme: theme, width: 960, height: 100 }); |
|
170 $("#eq_lauter_volume").jqxTooltip({ content: 'Filterkuip volume.' }); |
|
171 $("#eq_lauter_volume").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 90, height: 23, decimalDigits: 1 }); |
|
172 $("#eq_lauter_height").jqxTooltip({ content: 'Filterkuip hoogte.' }); |
|
173 $("#eq_lauter_height").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 90, height: 23, decimalDigits: 1 }); |
|
174 $("#eq_lauter_deadspace").jqxTooltip({ content: 'Filterkuip verlies in liters.' }); |
|
175 $("#eq_lauter_deadspace").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 90, height: 23, decimalDigits: 1 }); |
|
176 $("#eq_kettle_volume").jqxTooltip({ content: 'Kook ketel volume in liters.' }); |
|
177 $("#eq_kettle_volume").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 90, height: 23, decimalDigits: 1 }); |
|
178 $("#eq_kettle_height").jqxTooltip({ content: 'Kook ketel hoogte in cm.' }); |
|
179 $("#eq_kettle_height").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 90, height: 23, decimalDigits: 1 }); |
|
180 $("#eq_mash_volume").jqxTooltip({ content: 'Maisch water voor de eerste stap.' }); |
|
181 $("#eq_mash_volume").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 90, height: 23, decimalDigits: 1 }); |
|
182 $("#eq_mash_max").jqxTooltip({ content: 'De maximale moutstort in Kg.' }); |
|
183 $("#eq_mash_max").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 90, height: 23, decimalDigits: 1 }); |
|
184 $("#eq_efficiency").jqxTooltip({ content: 'Gemiddeld brouwzaal rendement.' }); |
|
185 $("#eq_efficiency").jqxNumberInput({ inputMode: 'simple', readOnly: true, theme: theme, width: 90, height: 23, decimalDigits: 1 }); |
157 $("#equipmentSelect").jqxDropDownList({ |
186 $("#equipmentSelect").jqxDropDownList({ |
158 placeHolder: "Kies apparatuur:", |
187 placeHolder: "Kies apparatuur:", |
159 theme: theme, |
188 theme: theme, |
160 source: equipmentlist, |
189 source: equipmentlist, |
161 displayMember: "name", |
190 displayMember: "name", |
162 width: 150, |
191 width: 250, |
163 height: 27, |
192 height: 27, |
164 dropDownWidth: 300, |
193 dropDownWidth: 300, |
165 renderer: function (index, label, value) { |
194 renderer: function (index, label, value) { |
166 var datarecord = equipmentlist.records[index]; |
195 var datarecord = equipmentlist.records[index]; |
167 return datarecord.batch_size + " liter " + datarecord.name; |
196 return datarecord.batch_size + " liter " + datarecord.name; |