DmitrMakeev commited on
Commit
bc34ac4
·
verified ·
1 Parent(s): 6b83abd

Update nutri_call.html

Browse files
Files changed (1) hide show
  1. nutri_call.html +279 -250
nutri_call.html CHANGED
@@ -4,50 +4,7 @@
4
  <meta charset="UTF-8">
5
  <title>Калькулятор удобрений</title>
6
  <style>
7
- /* Основной контейнер */
8
- /* Общие стили для всех рамок */
9
- fieldset, .calculation-box {
10
- border: 2px solid #2e8b57;
11
- background-color: #eaffea;
12
- padding: 1em;
13
- margin-bottom: 20px;
14
- border-radius: 8px;
15
- width: 1000px; /* Фиксированная ширина как у верхних блоков */
16
- }
17
- /* Стили для основной рамки с кнопкой */
18
- .calculation-box {
19
- width: 1000px; /* Такая же ширина как у верхних блоков */
20
- }
21
- /* Контейнер для элементов управления */
22
- .main-controls {
23
- display: flex;
24
- flex-direction: column;
25
- gap: 25px;
26
- min-width: 120px;
27
- }
28
- /* Стили для группы усиления */
29
- .enhancement-block {
30
- display: flex;
31
- flex-direction: column;
32
- gap: 10px;
33
- }
34
- /* Стили для строк ввода */
35
- .enhancement-input {
36
- display: flex;
37
- align-items: center;
38
- gap: 15px; /* Увеличил отступ между надписью и полем ввода */
39
- margin-bottom: 8px;
40
- }
41
- .enhancement-input label {
42
- min-width: 120px; /* Фиксированная ширина для всех надписей */
43
- text-align: right;
44
- padding-right: 10px;
45
- }
46
- .enhancement-input input[type="number"] {
47
- width: 80px;
48
- flex-shrink: 0; /* Запрещаем уменьшение ширины поля ввода */
49
- }
50
- /* Остальные стили остаются без изменений */
51
  body {
52
  margin: 0 auto;
53
  width: 1000px;
@@ -55,39 +12,69 @@ body {
55
  background-color: #f0f0f0;
56
  font-family: Arial, sans-serif;
57
  }
58
- h1 {
 
 
 
59
  background-color: #2e8b57;
60
  color: white;
61
  text-align: center;
62
  padding: 1em;
63
  border-radius: 10px;
64
  margin-bottom: 20px;
65
- width: 1000px; /* Фиксированная ширина как у рамок */
 
 
 
 
 
 
 
 
 
 
 
66
  box-sizing: border-box;
67
  }
 
68
  legend {
69
  font-weight: bold;
70
  color: #2e8b57;
71
  padding: 0 10px;
72
  }
 
 
73
  .main-container {
74
  display: grid;
75
- grid-template-columns: 120px repeat(8, 90px);
76
- gap: 20px;
77
  padding: 10px;
78
  }
 
79
  .profile-container {
80
  display: contents;
81
  }
 
82
  .profile-element {
83
  display: flex;
84
  flex-direction: column;
85
  align-items: center;
 
86
  }
 
87
  .profile-label {
88
  font-weight: bold;
89
- margin-bottom: 5px;
90
  }
 
 
 
 
 
 
 
 
 
91
  .nitrogen-container {
92
  grid-column: 1 / -1;
93
  display: flex;
@@ -95,301 +82,343 @@ legend {
95
  padding-left: 120px;
96
  margin-top: 10px;
97
  }
 
98
  .nitrogen-group {
99
  display: flex;
100
  align-items: center;
101
  gap: 5px;
102
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  .fertilisers-container {
104
  display: flex;
105
  flex-direction: column;
106
  }
 
107
  .fert-row {
108
  display: flex;
109
  align-items: center;
110
- margin-bottom: 10px;
111
  }
 
112
  .fert-header {
113
  font-weight: bold;
114
  text-align: center;
115
- min-width: 90px;
116
  padding: 5px;
 
117
  }
 
118
  .fert-name {
119
  font-weight: bold;
120
- min-width: 120px;
121
  text-align: left;
122
- padding-right: 10px;
123
  }
 
124
  .fert-cell {
125
  text-align: center;
126
- min-width: 90px;
127
  padding: 5px;
 
128
  }
 
129
  .fert-input {
130
- width: 80px;
 
 
 
 
131
  margin: 0 5px;
 
132
  }
 
 
133
  .calculation-container {
134
  display: flex;
135
- gap: 30px;
136
  align-items: flex-start;
137
  }
138
- .enhancement-title {
139
- font-weight: bold;
140
- color: #2e8b57;
141
- margin-bottom: 5px;
142
- }
143
- .enhancement-controls {
144
- display: flex;
145
- flex-direction: column;
146
- gap: 8px;
147
- }
148
- #calculate-btn {
149
- background-color: #2e8b57;
150
- color: white;
151
- border: none;
152
- padding: 8px 16px;
153
- font-size: 16px;
154
- border-radius: 5px;
155
- cursor: pointer;
156
- transition: background-color 0.3s;
157
- margin-bottom: 5px;
158
- }
159
- #calculate-btn:hover {
160
- background-color: #3cb371;
161
- }
162
  .compensation-section {
163
  display: flex;
164
  flex-direction: column;
165
  gap: 10px;
166
  }
 
 
 
 
 
 
 
167
  .compensation-weights {
168
  display: flex;
169
  flex-direction: column;
170
  gap: 8px;
171
  }
 
172
  .weight-input-group {
173
  display: flex;
174
  align-items: center;
175
  gap: 10px;
176
  }
 
177
  .weight-input-group label {
178
- min-width: 80px;
179
  text-align: right;
 
 
180
  }
 
181
  .weight-input-group input {
182
- width: 80px;
183
  padding: 5px;
184
  border: 1px solid #ccc;
185
  border-radius: 4px;
186
  }
 
187
  .input-column {
188
  display: flex;
189
  flex-direction: column;
190
  gap: 10px;
191
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192
  .input-group {
193
  display: flex;
194
  align-items: center;
195
  gap: 10px;
196
  }
 
197
  .input-group label {
198
- min-width: 80px;
199
  text-align: right;
 
 
200
  }
 
201
  .input-group input {
202
- width: 80px;
203
  padding: 5px;
204
  border: 1px solid #ccc;
205
  border-radius: 4px;
206
  }
207
  </style>
208
- </head>
209
 
210
  <body>
 
 
 
211
 
212
- <h1>Калькулятор удобрений</h1>
213
-
214
-
215
- <fieldset>
216
- <legend>Макропрофиль в мг/л (ppm)</legend>
217
- <div class="main-container">
218
- <!-- Основные элементы -->
219
- <div class="profile-container">
220
- <div class="profile-element" style="grid-column: 2">
221
- <span class="profile-label">N</span>
222
- <input id="profile_n" type="number" value="125.000" step="0.001"/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
223
  </div>
224
- <div class="profile-element" style="grid-column: 3">
225
- <span class="profile-label">P</span>
226
- <input id="profile_p" type="number" value="31.000" step="0.001"/>
 
 
 
 
 
 
 
 
227
  </div>
228
- <div class="profile-element" style="grid-column: 4">
229
- <span class="profile-label">K</span>
230
- <input id="profile_k" type="number" value="210.000" step="0.001"/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
231
  </div>
232
- <div class="profile-element" style="grid-column: 5">
233
- <span class="profile-label">Ca</span>
234
- <input id="profile_ca" type="number" value="84.000" step="0.001"/>
 
 
 
 
 
 
 
 
 
235
  </div>
236
- <div class="profile-element" style="grid-column: 6">
237
- <span class="profile-label">Mg</span>
238
- <input id="profile_mg" type="number" value="24.000" step="0.001"/>
 
 
 
 
 
 
 
 
239
  </div>
240
- <div class="profile-element" style="grid-column: 7">
241
- <span class="profile-label">S</span>
242
- <input id="profile_s" type="number" value="56.439" step="0.001"/>
 
 
 
 
 
 
 
 
243
  </div>
244
- <div class="profile-element" style="grid-column: 8">
245
- <span class="profile-label">EC</span>
246
- <input id="profile_ec" type="number" value="0.0" step="0.001"/>
 
 
 
 
 
 
 
 
247
  </div>
248
- </div>
249
-
250
- <!-- Азотные элементы -->
251
- <div class="nitrogen-container">
252
- <div class="nitrogen-group">
253
- <label for="profile_nh4">NH4:</label>
254
- <input id="profile_nh4" type="number" value="1.0" step="1.0" readonly style="background-color: #f0f0f0; border: 1px solid #ccc; color: #666;">
 
 
 
 
255
  </div>
256
- <div class="nitrogen-group">
257
- <label for="profile_no3">NO3:</label>
258
- <input id="profile_no3" type="number" value="10.0" step="0.01" min="5" max="10.001"/>
 
 
 
 
 
 
 
 
259
  </div>
260
  </div>
261
- </div>
262
- </fieldset>
263
-
264
- <fieldset>
265
- <legend>Составы солей</legend>
266
- <div class="fertilisers-container">
267
- <!-- Заголовки -->
268
- <div class="fert-row">
269
- <span class="fert-name">Удобрение</span>
270
- <span class="fert-header">NH4</span>
271
- <span class="fert-header">NO3</span>
272
- <span class="fert-header">P</span>
273
- <span class="fert-header">K</span>
274
- <span class="fert-header">Ca</span>
275
- <span class="fert-header">Mg</span>
276
- <span class="fert-header">S</span>
277
- <span class="fert-header">Грамм</span>
278
- </div>
279
-
280
- <!-- Строки с удобрениями -->
281
- <div class="fert-row">
282
- <span class="fert-name">CaN2O6</span>
283
- <span class="fert-cell">-</span>
284
- <input class="fert-input" type="number" value="11.863" step="0.001" id="fert_ca_no3"/>
285
- <span class="fert-cell">-</span>
286
- <span class="fert-cell">-</span>
287
- <input class="fert-input" type="number" value="16.972" step="0.001" id="fert_ca_ca"/>
288
- <span class="fert-cell">-</span>
289
- <span class="fert-cell">-</span>
290
- <input class="fert-input" type="number" step="0.001" id="calcium_nitrate"/>
291
- </div>
292
-
293
- <div class="fert-row">
294
- <span class="fert-name">KNO3</span>
295
- <span class="fert-cell">-</span>
296
- <input class="fert-input" type="number" value="13.854" step="0.001" id="fert_kno3_no3"/>
297
- <span class="fert-cell">-</span>
298
- <input class="fert-input" type="number" value="36.672" step="0.001" id="fert_kno3_k"/>
299
- <span class="fert-cell">-</span>
300
- <span class="fert-cell">-</span>
301
- <span class="fert-cell">-</span>
302
- <input class="fert-input" type="number" step="0.001" id="potassium_nitrate"/>
303
- </div>
304
-
305
- <div class="fert-row">
306
- <span class="fert-name">NH4NO3</span>
307
- <input class="fert-input" type="number" value="17.499" step="0.001" id="fert_nh4no3_nh4"/>
308
- <input class="fert-input" type="number" value="17.499" step="0.001" id="fert_nh4no3_no3"/>
309
- <span class="fert-cell">-</span>
310
- <span class="fert-cell">-</span>
311
- <span class="fert-cell">-</span>
312
- <span class="fert-cell">-</span>
313
- <span class="fert-cell">-</span>
314
- <input class="fert-input" type="number" step="0.001" id="ammonium_nitrate"/>
315
- </div>
316
-
317
- <div class="fert-row">
318
- <span class="fert-name">MgSO4</span>
319
- <span class="fert-cell">-</span>
320
- <span class="fert-cell">-</span>
321
- <span class="fert-cell">-</span>
322
- <span class="fert-cell">-</span>
323
- <span class="fert-cell">-</span>
324
- <input class="fert-input" type="number" value="10.22" step="0.001" id="fert_mgso4_mg"/>
325
- <input class="fert-input" type="number" value="13.483" step="0.001" id="fert_mgso4_s"/>
326
- <input class="fert-input" type="number" step="0.001" id="magnesium_sulfate"/>
327
- </div>
328
-
329
- <div class="fert-row">
330
- <span class="fert-name">KH2PO4</span>
331
- <span class="fert-cell">-</span>
332
- <span class="fert-cell">-</span>
333
- <input class="fert-input" type="number" value="22.761" step="0.001" id="fert_kh2po4_p"/>
334
- <input class="fert-input" type="number" value="28.731" step="0.001" id="fert_kh2po4_k"/>
335
- <span class="fert-cell">-</span>
336
- <span class="fert-cell">-</span>
337
- <span class="fert-cell">-</span>
338
- <input class="fert-input" type="number" step="0.001" id="monopotassium_phosphate"/>
339
- </div>
340
-
341
- <div class="fert-row">
342
- <span class="fert-name">K2SO4</span>
343
- <span class="fert-cell">-</span>
344
- <span class="fert-cell">-</span>
345
- <span class="fert-cell">-</span>
346
- <input class="fert-input" type="number" value="44.874" step="0.001" id="fert_k2so4_k"/>
347
- <span class="fert-cell">-</span>
348
- <span class="fert-cell">-</span>
349
- <input class="fert-input" type="number" value="18.401" step="0.001" id="fert_k2so4_s"/>
350
- <input class="fert-input" type="number"" value="0.0000000" step="0.001" id="potassium_sulfate"/>
351
- </div>
352
- </div>
353
- </fieldset>
354
 
355
-
356
- <fieldset class="calculation-box">
357
- <legend>Расчёт удобрений</legend>
358
- <div class="calculation-container">
359
- <!-- Блок с заголовком "Усиление" -->
360
- <div class="compensation-section">
361
- <div class="enhancement-title">Усиление:</div>
362
-
363
- <!-- Веса компенсации -->
364
- <div class="compensation-weights">
365
- <div class="weight-input-group">
366
- <label for="weight-k2so4">K₂SO₄:</label>
367
- <input type="number" id="weight-k2so4" value="0.23" step="0.01" min="-1" max="1">
 
 
 
 
 
 
 
 
368
  </div>
369
- <div class="weight-input-group">
370
- <label for="weight-mgso4">MgSO₄:</label>
371
- <input type="number" id="weight-mgso4" value="-0.10" step="0.01" min="-1" max="1">
 
 
 
 
372
  </div>
373
- <div class="weight-input-group">
374
- <label for="weight-kh2po4">KH₂PO₄:</label>
375
- <input type="number" id="weight-kh2po4" value="0.14" step="0.01" min="-1" max="1">
376
  </div>
377
  </div>
378
  </div>
379
-
380
- <div class="input-column">
381
- <button id="calculate-btn">Рассчитать</button>
382
- <div class="input-group">
383
- <label for="liters-input">Литры:</label>
384
- <input type="number" id="liters-input" value="100" min="1" step="1">
385
- </div>
386
- <div class="input-group">
387
- <label for="rounding-precision">Точность:</label>
388
- <input type="number" id="rounding-precision" value="3" min="0" max="3" step="1">
389
- </div>
390
- </div>
391
- </div>
392
- </fieldset>
393
 
394
 
395
  <script>
 
4
  <meta charset="UTF-8">
5
  <title>Калькулятор удобрений</title>
6
  <style>
7
+ /* Общие стили */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  body {
9
  margin: 0 auto;
10
  width: 1000px;
 
12
  background-color: #f0f0f0;
13
  font-family: Arial, sans-serif;
14
  }
15
+
16
+ /* Стили для заголовка */
17
+ .header-box {
18
+ border: 2px solid #2e8b57;
19
  background-color: #2e8b57;
20
  color: white;
21
  text-align: center;
22
  padding: 1em;
23
  border-radius: 10px;
24
  margin-bottom: 20px;
25
+ width: 1000px;
26
+ box-sizing: border-box;
27
+ }
28
+
29
+ /* Общие стили для всех рамок */
30
+ fieldset, .calculation-box {
31
+ border: 2px solid #2e8b57;
32
+ background-color: #eaffea;
33
+ padding: 1em;
34
+ margin-bottom: 20px;
35
+ border-radius: 8px;
36
+ width: 1000px;
37
  box-sizing: border-box;
38
  }
39
+
40
  legend {
41
  font-weight: bold;
42
  color: #2e8b57;
43
  padding: 0 10px;
44
  }
45
+
46
+ /* Стили для блока профиля */
47
  .main-container {
48
  display: grid;
49
+ grid-template-columns: 120px repeat(7, 110px);
50
+ gap: 10px;
51
  padding: 10px;
52
  }
53
+
54
  .profile-container {
55
  display: contents;
56
  }
57
+
58
  .profile-element {
59
  display: flex;
60
  flex-direction: column;
61
  align-items: center;
62
+ gap: 5px;
63
  }
64
+
65
  .profile-label {
66
  font-weight: bold;
67
+ font-size: 0.9em;
68
  }
69
+
70
+ .profile-element input {
71
+ width: 80px;
72
+ padding: 5px;
73
+ border: 1px solid #ccc;
74
+ border-radius: 4px;
75
+ text-align: center;
76
+ }
77
+
78
  .nitrogen-container {
79
  grid-column: 1 / -1;
80
  display: flex;
 
82
  padding-left: 120px;
83
  margin-top: 10px;
84
  }
85
+
86
  .nitrogen-group {
87
  display: flex;
88
  align-items: center;
89
  gap: 5px;
90
  }
91
+
92
+ .nitrogen-group label {
93
+ font-weight: bold;
94
+ font-size: 0.9em;
95
+ }
96
+
97
+ .nitrogen-group input {
98
+ width: 60px;
99
+ padding: 5px;
100
+ border: 1px solid #ccc;
101
+ border-radius: 4px;
102
+ }
103
+
104
+ /* Стили для таблицы удобрений */
105
  .fertilisers-container {
106
  display: flex;
107
  flex-direction: column;
108
  }
109
+
110
  .fert-row {
111
  display: flex;
112
  align-items: center;
113
+ margin-bottom: 8px;
114
  }
115
+
116
  .fert-header {
117
  font-weight: bold;
118
  text-align: center;
119
+ width: 80px;
120
  padding: 5px;
121
+ font-size: 0.9em;
122
  }
123
+
124
  .fert-name {
125
  font-weight: bold;
126
+ width: 120px;
127
  text-align: left;
128
+ font-size: 0.9em;
129
  }
130
+
131
  .fert-cell {
132
  text-align: center;
133
+ width: 80px;
134
  padding: 5px;
135
+ font-size: 0.9em;
136
  }
137
+
138
  .fert-input {
139
+ width: 70px;
140
+ padding: 5px;
141
+ border: 1px solid #ccc;
142
+ border-radius: 4px;
143
+ text-align: center;
144
  margin: 0 5px;
145
+ font-size: 0.9em;
146
  }
147
+
148
+ /* Стили для блока расчета */
149
  .calculation-container {
150
  display: flex;
151
+ gap: 40px;
152
  align-items: flex-start;
153
  }
154
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
155
  .compensation-section {
156
  display: flex;
157
  flex-direction: column;
158
  gap: 10px;
159
  }
160
+
161
+ .enhancement-title {
162
+ font-weight: bold;
163
+ color: #2e8b57;
164
+ margin-bottom: 5px;
165
+ }
166
+
167
  .compensation-weights {
168
  display: flex;
169
  flex-direction: column;
170
  gap: 8px;
171
  }
172
+
173
  .weight-input-group {
174
  display: flex;
175
  align-items: center;
176
  gap: 10px;
177
  }
178
+
179
  .weight-input-group label {
180
+ width: 80px;
181
  text-align: right;
182
+ font-weight: bold;
183
+ font-size: 0.9em;
184
  }
185
+
186
  .weight-input-group input {
187
+ width: 70px;
188
  padding: 5px;
189
  border: 1px solid #ccc;
190
  border-radius: 4px;
191
  }
192
+
193
  .input-column {
194
  display: flex;
195
  flex-direction: column;
196
  gap: 10px;
197
  }
198
+
199
+ #calculate-btn {
200
+ background-color: #2e8b57;
201
+ color: white;
202
+ border: none;
203
+ padding: 8px 16px;
204
+ font-size: 16px;
205
+ border-radius: 5px;
206
+ cursor: pointer;
207
+ transition: background-color 0.3s;
208
+ margin-bottom: 5px;
209
+ font-weight: bold;
210
+ }
211
+
212
+ #calculate-btn:hover {
213
+ background-color: #3cb371;
214
+ }
215
+
216
  .input-group {
217
  display: flex;
218
  align-items: center;
219
  gap: 10px;
220
  }
221
+
222
  .input-group label {
223
+ width: 80px;
224
  text-align: right;
225
+ font-weight: bold;
226
+ font-size: 0.9em;
227
  }
228
+
229
  .input-group input {
230
+ width: 70px;
231
  padding: 5px;
232
  border: 1px solid #ccc;
233
  border-radius: 4px;
234
  }
235
  </style>
 
236
 
237
  <body>
238
+ <div class="header-box">
239
+ <h1>Калькулятор удобрений</h1>
240
+ </div>
241
 
242
+ <fieldset>
243
+ <legend>Макропрофиль в мг/л (ppm)</legend>
244
+ <div class="main-container">
245
+ <!-- Основные элементы -->
246
+ <div class="profile-container">
247
+ <div class="profile-element" style="grid-column: 2">
248
+ <span class="profile-label">N</span>
249
+ <input id="profile_n" type="number" value="125.000" step="0.001"/>
250
+ </div>
251
+ <div class="profile-element" style="grid-column: 3">
252
+ <span class="profile-label">P</span>
253
+ <input id="profile_p" type="number" value="31.000" step="0.001"/>
254
+ </div>
255
+ <div class="profile-element" style="grid-column: 4">
256
+ <span class="profile-label">K</span>
257
+ <input id="profile_k" type="number" value="210.000" step="0.001"/>
258
+ </div>
259
+ <div class="profile-element" style="grid-column: 5">
260
+ <span class="profile-label">Ca</span>
261
+ <input id="profile_ca" type="number" value="84.000" step="0.001"/>
262
+ </div>
263
+ <div class="profile-element" style="grid-column: 6">
264
+ <span class="profile-label">Mg</span>
265
+ <input id="profile_mg" type="number" value="24.000" step="0.001"/>
266
+ </div>
267
+ <div class="profile-element" style="grid-column: 7">
268
+ <span class="profile-label">S</span>
269
+ <input id="profile_s" type="number" value="56.439" step="0.001"/>
270
+ </div>
271
+ <div class="profile-element" style="grid-column: 8">
272
+ <span class="profile-label">EC</span>
273
+ <input id="profile_ec" type="number" value="0.0" step="0.001"/>
274
+ </div>
275
  </div>
276
+
277
+ <!-- Азотные элементы -->
278
+ <div class="nitrogen-container">
279
+ <div class="nitrogen-group">
280
+ <label for="profile_nh4">NH4:</label>
281
+ <input id="profile_nh4" type="number" value="1.0" step="1.0" readonly style="background-color: #f0f0f0; color: #666;">
282
+ </div>
283
+ <div class="nitrogen-group">
284
+ <label for="profile_no3">NO3:</label>
285
+ <input id="profile_no3" type="number" value="10.0" step="0.01" min="5" max="10.001"/>
286
+ </div>
287
  </div>
288
+ </div>
289
+ </fieldset>
290
+
291
+ <fieldset>
292
+ <legend>Составы солей</legend>
293
+ <div class="fertilisers-container">
294
+ <!-- Заголовки -->
295
+ <div class="fert-row">
296
+ <span class="fert-name">Удобрение</span>
297
+ <span class="fert-header">NH4</span>
298
+ <span class="fert-header">NO3</span>
299
+ <span class="fert-header">P</span>
300
+ <span class="fert-header">K</span>
301
+ <span class="fert-header">Ca</span>
302
+ <span class="fert-header">Mg</span>
303
+ <span class="fert-header">S</span>
304
+ <span class="fert-header">Грамм</span>
305
  </div>
306
+
307
+ <!-- Строки с удобрениями -->
308
+ <div class="fert-row">
309
+ <span class="fert-name">CaN2O6</span>
310
+ <span class="fert-cell">-</span>
311
+ <input class="fert-input" type="number" value="11.863" step="0.001" id="fert_ca_no3"/>
312
+ <span class="fert-cell">-</span>
313
+ <span class="fert-cell">-</span>
314
+ <input class="fert-input" type="number" value="16.972" step="0.001" id="fert_ca_ca"/>
315
+ <span class="fert-cell">-</span>
316
+ <span class="fert-cell">-</span>
317
+ <input class="fert-input" type="number" step="0.001" id="calcium_nitrate"/>
318
  </div>
319
+
320
+ <div class="fert-row">
321
+ <span class="fert-name">KNO3</span>
322
+ <span class="fert-cell">-</span>
323
+ <input class="fert-input" type="number" value="13.854" step="0.001" id="fert_kno3_no3"/>
324
+ <span class="fert-cell">-</span>
325
+ <input class="fert-input" type="number" value="36.672" step="0.001" id="fert_kno3_k"/>
326
+ <span class="fert-cell">-</span>
327
+ <span class="fert-cell">-</span>
328
+ <span class="fert-cell">-</span>
329
+ <input class="fert-input" type="number" step="0.001" id="potassium_nitrate"/>
330
  </div>
331
+
332
+ <div class="fert-row">
333
+ <span class="fert-name">NH4NO3</span>
334
+ <input class="fert-input" type="number" value="17.499" step="0.001" id="fert_nh4no3_nh4"/>
335
+ <input class="fert-input" type="number" value="17.499" step="0.001" id="fert_nh4no3_no3"/>
336
+ <span class="fert-cell">-</span>
337
+ <span class="fert-cell">-</span>
338
+ <span class="fert-cell">-</span>
339
+ <span class="fert-cell">-</span>
340
+ <span class="fert-cell">-</span>
341
+ <input class="fert-input" type="number" step="0.001" id="ammonium_nitrate"/>
342
  </div>
343
+
344
+ <div class="fert-row">
345
+ <span class="fert-name">MgSO4</span>
346
+ <span class="fert-cell">-</span>
347
+ <span class="fert-cell">-</span>
348
+ <span class="fert-cell">-</span>
349
+ <span class="fert-cell">-</span>
350
+ <span class="fert-cell">-</span>
351
+ <input class="fert-input" type="number" value="10.22" step="0.001" id="fert_mgso4_mg"/>
352
+ <input class="fert-input" type="number" value="13.483" step="0.001" id="fert_mgso4_s"/>
353
+ <input class="fert-input" type="number" step="0.001" id="magnesium_sulfate"/>
354
  </div>
355
+
356
+ <div class="fert-row">
357
+ <span class="fert-name">KH2PO4</span>
358
+ <span class="fert-cell">-</span>
359
+ <span class="fert-cell">-</span>
360
+ <input class="fert-input" type="number" value="22.761" step="0.001" id="fert_kh2po4_p"/>
361
+ <input class="fert-input" type="number" value="28.731" step="0.001" id="fert_kh2po4_k"/>
362
+ <span class="fert-cell">-</span>
363
+ <span class="fert-cell">-</span>
364
+ <span class="fert-cell">-</span>
365
+ <input class="fert-input" type="number" step="0.001" id="monopotassium_phosphate"/>
366
  </div>
367
+
368
+ <div class="fert-row">
369
+ <span class="fert-name">K2SO4</span>
370
+ <span class="fert-cell">-</span>
371
+ <span class="fert-cell">-</span>
372
+ <span class="fert-cell">-</span>
373
+ <input class="fert-input" type="number" value="44.874" step="0.001" id="fert_k2so4_k"/>
374
+ <span class="fert-cell">-</span>
375
+ <span class="fert-cell">-</span>
376
+ <input class="fert-input" type="number" value="18.401" step="0.001" id="fert_k2so4_s"/>
377
+ <input class="fert-input" type="number" value="0.0000000" step="0.001" id="potassium_sulfate"/>
378
  </div>
379
  </div>
380
+ </fieldset>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
381
 
382
+ <fieldset class="calculation-box">
383
+ <legend>Расчёт удобрений</legend>
384
+ <div class="calculation-container">
385
+ <!-- Блок с заголовком "Усиление" -->
386
+ <div class="compensation-section">
387
+ <div class="enhancement-title">Усиление:</div>
388
+
389
+ <!-- Веса компенсации -->
390
+ <div class="compensation-weights">
391
+ <div class="weight-input-group">
392
+ <label for="weight-k2so4">K₂SO₄:</label>
393
+ <input type="number" id="weight-k2so4" value="0.23" step="0.01" min="-1" max="1">
394
+ </div>
395
+ <div class="weight-input-group">
396
+ <label for="weight-mgso4">MgSO₄:</label>
397
+ <input type="number" id="weight-mgso4" value="-0.10" step="0.01" min="-1" max="1">
398
+ </div>
399
+ <div class="weight-input-group">
400
+ <label for="weight-kh2po4">KH₂PO₄:</label>
401
+ <input type="number" id="weight-kh2po4" value="0.14" step="0.01" min="-1" max="1">
402
+ </div>
403
  </div>
404
+ </div>
405
+
406
+ <div class="input-column">
407
+ <button id="calculate-btn">Рассчитать</button>
408
+ <div class="input-group">
409
+ <label for="liters-input">Литры:</label>
410
+ <input type="number" id="liters-input" value="100" min="1" step="1">
411
  </div>
412
+ <div class="input-group">
413
+ <label for="rounding-precision">Точность:</label>
414
+ <input type="number" id="rounding-precision" value="3" min="0" max="3" step="1">
415
  </div>
416
  </div>
417
  </div>
418
+ </fieldset>
419
+ </body>
420
+
421
+
 
 
 
 
 
 
 
 
 
 
422
 
423
 
424
  <script>