Spaces:
Sleeping
Sleeping
Update nutri_call.html
Browse files- nutri_call.html +9 -9
nutri_call.html
CHANGED
@@ -196,11 +196,11 @@
|
|
196 |
</div>
|
197 |
<div class="profile-element" style="grid-column: 6">
|
198 |
<span class="profile-label">Mg</span>
|
199 |
-
<input id="
|
200 |
</div>
|
201 |
<div class="profile-element" style="grid-column: 7">
|
202 |
<span class="profile-label">S</span>
|
203 |
-
<input id="
|
204 |
</div>
|
205 |
<div class="profile-element" style="grid-column: 8">
|
206 |
<span class="profile-label">EC</span>
|
@@ -366,13 +366,13 @@ document.getElementById('calculate-btn').addEventListener('click', function() {
|
|
366 |
}
|
367 |
},
|
368 |
profileSettings: {
|
369 |
-
'P': getValue('
|
370 |
-
'K': getValue('
|
371 |
-
'Mg': getValue('
|
372 |
-
'Ca': getValue('
|
373 |
-
'S': getValue('
|
374 |
-
'
|
375 |
-
'N (NH4+)': getValue('
|
376 |
'liters': parseInt(document.getElementById('liters-input').value) || 1
|
377 |
}
|
378 |
};
|
|
|
196 |
</div>
|
197 |
<div class="profile-element" style="grid-column: 6">
|
198 |
<span class="profile-label">Mg</span>
|
199 |
+
<input id="profile_mg" type="number" value="24.000" step="0.001"/>
|
200 |
</div>
|
201 |
<div class="profile-element" style="grid-column: 7">
|
202 |
<span class="profile-label">S</span>
|
203 |
+
<input id="profile_s" type="number" value="56.439" step="0.001"/>
|
204 |
</div>
|
205 |
<div class="profile-element" style="grid-column: 8">
|
206 |
<span class="profile-label">EC</span>
|
|
|
366 |
}
|
367 |
},
|
368 |
profileSettings: {
|
369 |
+
'P': getValue('profile_p'),
|
370 |
+
'K': getValue('profile_k'),
|
371 |
+
'Mg': getValue('profile_mg'),
|
372 |
+
'Ca': getValue('profile_ca'),
|
373 |
+
'S': getValue('profile_s'),
|
374 |
+
'NO3_RAT': getValue('profile_no3'),
|
375 |
+
'N (NH4+)': getValue('profile_p'),
|
376 |
'liters': parseInt(document.getElementById('liters-input').value) || 1
|
377 |
}
|
378 |
};
|