Spaces:
Running
Running
Update nutri_call.html
Browse files- nutri_call.html +0 -34
nutri_call.html
CHANGED
@@ -5,31 +5,6 @@
|
|
5 |
|
6 |
|
7 |
<!-- Основные стили -->
|
8 |
-
<link
|
9 |
-
href="node_modules/@pnotify/core/dist/PNotify.css"
|
10 |
-
rel="stylesheet"
|
11 |
-
type="text/css"
|
12 |
-
/>
|
13 |
-
<link
|
14 |
-
href="node_modules/@pnotify/mobile/dist/PNotifyMobile.css"
|
15 |
-
rel="stylesheet"
|
16 |
-
type="text/css"
|
17 |
-
/>
|
18 |
-
<script type="module">
|
19 |
-
import {
|
20 |
-
alert,
|
21 |
-
defaultModules,
|
22 |
-
} from 'node_modules/@pnotify/core/dist/PNotify.js';
|
23 |
-
import * as PNotifyMobile from 'node_modules/@pnotify/mobile/dist/PNotifyMobile.js';
|
24 |
-
|
25 |
-
defaultModules.set(PNotifyMobile, {});
|
26 |
-
|
27 |
-
alert({
|
28 |
-
text: 'Notice me, senpai!',
|
29 |
-
});
|
30 |
-
</script>
|
31 |
-
|
32 |
-
|
33 |
|
34 |
|
35 |
|
@@ -724,16 +699,7 @@ function data_out(response) {
|
|
724 |
|
725 |
|
726 |
|
727 |
-
<button id="testNotify">Тест уведомлений</button>
|
728 |
|
729 |
-
<script>
|
730 |
-
document.getElementById('testNotify').addEventListener('click', () => {
|
731 |
-
showCalculationStatus({ deficits: {} }); // Тест успеха
|
732 |
-
setTimeout(() => {
|
733 |
-
showCalculationStatus({ deficits: { Ca: -5.2, Mg: -1.1 } }); // Тест ошибки
|
734 |
-
}, 3500);
|
735 |
-
});
|
736 |
-
</script>
|
737 |
|
738 |
</body>
|
739 |
</html>
|
|
|
5 |
|
6 |
|
7 |
<!-- Основные стили -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
|
10 |
|
|
|
699 |
|
700 |
|
701 |
|
|
|
702 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
703 |
|
704 |
</body>
|
705 |
</html>
|