DmitrMakeev commited on
Commit
e4a9cdf
·
verified ·
1 Parent(s): 9868d92

Update nutri_call.html

Browse files
Files changed (1) hide show
  1. nutri_call.html +141 -45
nutri_call.html CHANGED
@@ -109,6 +109,56 @@ legend {
109
  border-radius: 4px;
110
  }
111
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  /* Стили для таблицы удобрений */
113
  .fertilisers-container {
114
  display: flex;
@@ -279,54 +329,100 @@ legend {
279
  <h1>Калькулятор удобрений</h1>
280
  </div>
281
 
282
- <fieldset>
283
- <legend>Макропрофиль в мг/л (ppm)</legend>
284
- <div class="main-container">
285
- <!-- Основные элементы -->
286
- <div class="profile-container">
287
- <div class="profile-element" style="grid-column: 2">
288
- <span class="profile-label">N</span>
289
- <input id="profile_n" type="number" value="125.000" step="0.001"/>
290
- </div>
291
- <div class="profile-element" style="grid-column: 3">
292
- <span class="profile-label">P</span>
293
- <input id="profile_p" type="number" value="31.000" step="0.001"/>
294
- </div>
295
- <div class="profile-element" style="grid-column: 4">
296
- <span class="profile-label">K</span>
297
- <input id="profile_k" type="number" value="210.000" step="0.001"/>
298
- </div>
299
- <div class="profile-element" style="grid-column: 5">
300
- <span class="profile-label">Ca</span>
301
- <input id="profile_ca" type="number" value="84.000" step="0.001"/>
302
- </div>
303
- <div class="profile-element" style="grid-column: 6">
304
- <span class="profile-label">Mg</span>
305
- <input id="profile_mg" type="number" value="24.000" step="0.001"/>
306
- </div>
307
- <div class="profile-element" style="grid-column: 7">
308
- <span class="profile-label">S</span>
309
- <input id="profile_s" type="number" value="56.439" step="0.001"/>
310
- </div>
311
- <div class="profile-element" style="grid-column: 8">
312
- <span class="profile-label">EC</span>
313
- <input id="profile_ec" type="number" value="0.0" step="0.001"/>
314
- </div>
315
  </div>
316
-
317
- <!-- Азотные элементы -->
318
- <div class="nitrogen-container">
319
- <div class="nitrogen-group">
320
- <label for="profile_nh4">NH4:</label>
321
- <input id="profile_nh4" type="number" value="1.0" step="1.0" readonly style="background-color: #f0f0f0; color: #666;">
322
- </div>
323
- <div class="nitrogen-group">
324
- <label for="profile_no3">NO3:</label>
325
- <input id="profile_no3" type="number" value="8.25" step="0.01" min="5" max="100.001"/>
326
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
327
  </div>
328
  </div>
329
- </fieldset>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
330
 
331
  <fieldset>
332
  <legend>Составы солей</legend>
 
109
  border-radius: 4px;
110
  }
111
 
112
+
113
+
114
+
115
+
116
+
117
+
118
+ /* Стили для информационного блока */
119
+ .info-block {
120
+ display: flex;
121
+ flex-direction: column;
122
+ gap: 8px;
123
+ font-size: 0.9em;
124
+ }
125
+
126
+ .info-row {
127
+ display: flex;
128
+ align-items: center;
129
+ gap: 10px;
130
+ }
131
+
132
+ .info-label {
133
+ font-weight: bold;
134
+ min-width: 150px;
135
+ text-align: right;
136
+ }
137
+
138
+ /* Стили для поля ввода температуры */
139
+ .temperature-input {
140
+ display: flex;
141
+ align-items: center;
142
+ gap: 10px;
143
+ font-size: 0.9em;
144
+ }
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
  /* Стили для таблицы удобрений */
163
  .fertilisers-container {
164
  display: flex;
 
329
  <h1>Калькулятор удобрений</h1>
330
  </div>
331
 
332
+ <fieldset>
333
+ <legend>Макропрофиль в мг/л (ppm)</legend>
334
+ <div class="main-container">
335
+ <!-- Основные элементы -->
336
+ <div class="profile-container">
337
+ <div class="profile-element" style="grid-column: 2">
338
+ <span class="profile-label">N</span>
339
+ <input id="profile_n" type="number" value="125.000" step="0.001"/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
340
  </div>
341
+ <div class="profile-element" style="grid-column: 3">
342
+ <span class="profile-label">P</span>
343
+ <input id="profile_p" type="number" value="31.000" step="0.001"/>
344
+ </div>
345
+ <div class="profile-element" style="grid-column: 4">
346
+ <span class="profile-label">K</span>
347
+ <input id="profile_k" type="number" value="210.000" step="0.001"/>
348
+ </div>
349
+ <div class="profile-element" style="grid-column: 5">
350
+ <span class="profile-label">Ca</span>
351
+ <input id="profile_ca" type="number" value="84.000" step="0.001"/>
352
+ </div>
353
+ <div class="profile-element" style="grid-column: 6">
354
+ <span class="profile-label">Mg</span>
355
+ <input id="profile_mg" type="number" value="24.000" step="0.001"/>
356
+ </div>
357
+ <div class="profile-element" style="grid-column: 7">
358
+ <span class="profile-label">S</span>
359
+ <input id="profile_s" type="number" value="56.439" step="0.001"/>
360
+ </div>
361
+ <div class="profile-element" style="grid-column: 8">
362
+ <span class="profile-label">EC</span>
363
+ <input id="profile_ec" type="number" value="0.0" step="0.001"/>
364
  </div>
365
  </div>
366
+
367
+ <!-- Азотные элементы -->
368
+ <div class="nitrogen-container">
369
+ <div class="nitrogen-group">
370
+ <label for="profile_nh4">NH4:</label>
371
+ <input id="profile_nh4" type="number" value="1.0" step="1.0" readonly style="background-color: #f0f0f0; color: #666;">
372
+ </div>
373
+ <div class="nitrogen-group">
374
+ <label for="profile_no3">NO3:</label>
375
+ <input id="profile_no3" type="number" value="8.25" step="0.01" min="5" max="100.001"/>
376
+ </div>
377
+ </div>
378
+
379
+ <!-- Новый блок: Рассчитанные значения NH4 и NO3 -->
380
+ <div class="calculated-nitrogen-container" style="margin-top: 20px;">
381
+ <div class="nitrogen-group">
382
+ <label for="calculated_nh4">Calculated NH4:</label>
383
+ <input id="calculated_nh4" type="number" value="0.000" step="0.001" readonly style="background-color: #f0f0f0; color: #666;">
384
+ </div>
385
+ <div class="nitrogen-group">
386
+ <label for="calculated_no3">Calculated NO3:</label>
387
+ <input id="calculated_no3" type="number" value="0.000" step="0.001" readonly style="background-color: #f0f0f0; color: #666;">
388
+ </div>
389
+ </div>
390
+
391
+ <!-- Информационный блок справа -->
392
+ <div class="info-block" style="grid-column: 9 / -1; margin-left: 20px;">
393
+ <div class="info-row">
394
+ <span class="info-label">Соотношение NPK:</span>
395
+ <span id="npk-ratio">0:0:0</span>
396
+ </div>
397
+ <div class="info-row">
398
+ <span class="info-label">K (%):</span>
399
+ <span id="k-percentage">0%</span>
400
+ </div>
401
+ <div class="info-row">
402
+ <span class="info-label">Mg (%):</span>
403
+ <span id="mg-percentage">0%</span>
404
+ </div>
405
+ <div class="info-row">
406
+ <span class="info-label">S (%):</span>
407
+ <span id="s-percentage">0%</span>
408
+ </div>
409
+ <div class="info-row">
410
+ <span class="info-label">PPM:</span>
411
+ <span id="total-ppm">0 ppm</span>
412
+ </div>
413
+ <div class="info-row">
414
+ <span class="info-label">Баланс катионов/анионов:</span>
415
+ <span id="ion-balance">0</span>
416
+ </div>
417
+ </div>
418
+ </div>
419
+
420
+ <!-- Поле для ввода температуры -->
421
+ <div class="temperature-input" style="margin-top: 20px;">
422
+ <label for="temperature">Температура раствора (°C):</label>
423
+ <input id="temperature" type="number" value="25" step="0.1" min="0" max="50" style="width: 80px; margin-left: 10px;"/>
424
+ </div>
425
+ </fieldset>
426
 
427
  <fieldset>
428
  <legend>Составы солей</legend>