Spaces:
Sleeping
Sleeping
Update nutri_call.html
Browse files- nutri_call.html +23 -2
nutri_call.html
CHANGED
@@ -1,8 +1,13 @@
|
|
|
|
1 |
<!DOCTYPE html>
|
2 |
-
<html lang="
|
3 |
<head>
|
|
|
|
|
4 |
|
5 |
|
|
|
|
|
6 |
|
7 |
<!-- Основные стили PNotify -->
|
8 |
<link href="https://cdn.jsdelivr.net/npm/notyf@3/notyf.min.css" rel="stylesheet">
|
@@ -711,7 +716,7 @@ legend {
|
|
711 |
|
712 |
<!-- Строки с удобрениями -->
|
713 |
<div class="fert-row">
|
714 |
-
<span class="fert-name">Ca(NO₃)₂</span>
|
715 |
<span class="fert-cell">-</span>
|
716 |
<input class="fert-input" type="number" value="11.863" step="0.001" id="fert_ca_no3" readonly />
|
717 |
<span class="fert-cell">-</span>
|
@@ -1592,5 +1597,21 @@ const calculator = new NutrientCalculator(INPUT_DATA);
|
|
1592 |
const results = calculator.calculate();
|
1593 |
console.log(calculator.generateReport(results));
|
1594 |
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1595 |
</body>
|
1596 |
</html>
|
|
|
1 |
+
|
2 |
<!DOCTYPE html>
|
3 |
+
<html lang="en">
|
4 |
<head>
|
5 |
+
<meta charset="UTF-8">
|
6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7 |
|
8 |
|
9 |
+
<link rel="stylesheet" href="https://unpkg.com/tippy.js @6/dist/tippy.css">
|
10 |
+
<script src="https://unpkg.com/tippy.js @6/dist/tippy-bundle.umd.js"></script>
|
11 |
|
12 |
<!-- Основные стили PNotify -->
|
13 |
<link href="https://cdn.jsdelivr.net/npm/notyf@3/notyf.min.css" rel="stylesheet">
|
|
|
716 |
|
717 |
<!-- Строки с удобрениями -->
|
718 |
<div class="fert-row">
|
719 |
+
<span id="myCaNO" class="fert-name">Ca(NO₃)₂</span>
|
720 |
<span class="fert-cell">-</span>
|
721 |
<input class="fert-input" type="number" value="11.863" step="0.001" id="fert_ca_no3" readonly />
|
722 |
<span class="fert-cell">-</span>
|
|
|
1597 |
const results = calculator.calculate();
|
1598 |
console.log(calculator.generateReport(results));
|
1599 |
</script>
|
1600 |
+
|
1601 |
+
|
1602 |
+
|
1603 |
+
|
1604 |
+
<script>
|
1605 |
+
tippy('#myCaNO', {
|
1606 |
+
content: 'Нитрат Кальция (кальциевая селитра)',
|
1607 |
+
placement: 'top', // Расположение: top, bottom, left, right
|
1608 |
+
arrow: true, // Добавить стрелку
|
1609 |
+
theme: 'light', // Тема: light, dark, tomato и т.д.
|
1610 |
+
});
|
1611 |
+
</script>
|
1612 |
+
|
1613 |
+
|
1614 |
+
|
1615 |
+
|
1616 |
</body>
|
1617 |
</html>
|