DmitrMakeev
commited on
Commit
•
947141a
1
Parent(s):
d4952da
Update index.html
Browse files- index.html +95 -14
index.html
CHANGED
@@ -1,14 +1,95 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
<
|
6 |
-
|
7 |
-
</
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
<
|
12 |
-
<
|
13 |
-
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="ru">
|
3 |
+
|
4 |
+
<head>
|
5 |
+
<meta charset="UTF-8">
|
6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7 |
+
<title>TODO</title>
|
8 |
+
|
9 |
+
|
10 |
+
|
11 |
+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/sweetalert2.min.js"></script>
|
12 |
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/sweetalert2.min.css">
|
13 |
+
|
14 |
+
|
15 |
+
|
16 |
+
|
17 |
+
|
18 |
+
|
19 |
+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
|
20 |
+
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
|
21 |
+
<script defer src="https://mackorlab.github.io/tester/jsd.js"></script>
|
22 |
+
|
23 |
+
|
24 |
+
<style>
|
25 |
+
.todoList {
|
26 |
+
height: 450px;
|
27 |
+
overflow-y: auto;
|
28 |
+
width: 100%;
|
29 |
+
margin-bottom: 20px;
|
30 |
+
}
|
31 |
+
|
32 |
+
.list-group-item {
|
33 |
+
margin-left: -5%;
|
34 |
+
|
35 |
+
}
|
36 |
+
|
37 |
+
|
38 |
+
</style>
|
39 |
+
|
40 |
+
|
41 |
+
|
42 |
+
|
43 |
+
|
44 |
+
<!-- Запускаем приложение -->
|
45 |
+
|
46 |
+
</head>
|
47 |
+
|
48 |
+
<body>
|
49 |
+
|
50 |
+
|
51 |
+
<script>
|
52 |
+
|
53 |
+
|
54 |
+
document.addEventListener('DOMContentLoaded', function() {
|
55 |
+
let defArray = [
|
56 |
+
{
|
57 |
+
id: 1,
|
58 |
+
name: 'Заметка',
|
59 |
+
done: true
|
60 |
+
},
|
61 |
+
{
|
62 |
+
id: 2,
|
63 |
+
name: 'Промт',
|
64 |
+
done: true
|
65 |
+
}
|
66 |
+
];
|
67 |
+
|
68 |
+
createTodoApp(
|
69 |
+
document.getElementById('todo-app'),
|
70 |
+
'Органайзер',
|
71 |
+
'my-list',
|
72 |
+
defArray
|
73 |
+
);
|
74 |
+
});
|
75 |
+
|
76 |
+
|
77 |
+
|
78 |
+
|
79 |
+
</script>
|
80 |
+
|
81 |
+
|
82 |
+
|
83 |
+
|
84 |
+
|
85 |
+
|
86 |
+
<div id="todo-app" class="container"></div>
|
87 |
+
|
88 |
+
|
89 |
+
|
90 |
+
|
91 |
+
|
92 |
+
|
93 |
+
|
94 |
+
</body>
|
95 |
+
</html>
|