-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtodo.html
More file actions
56 lines (47 loc) · 1.96 KB
/
Copy pathtodo.html
File metadata and controls
56 lines (47 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!doctype html>
<html lang="ru">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap css -->
<!--<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossOrigin="anonymous">-->
<script type="text/javascript" src="js/todo.js" defer></script>
<link href="/public/css/bootstrap.min.css" rel="stylesheet">
<script src="/public/js/bootstrap.js"> </script>
<script src="/js/jquery.js"> </script>
<title> Список задач </title>
</head>
<body>
<div class="container">
<h1> Список задач </h1>
<button type="button" id="btnNewTask" class="btn btn-primary" data-toggle="modal" data-target="#newTask">
Add new task
</button>
<div class="modal fade" id="newTask" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<form action="#" name="newTaskForm" method="post">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel"> New task </h5>
</div>
<div class="modal-body">
<input name="newTask"> </input>
</div>
<div class="modal-footer">
<input type="submit" class="btn btn-secondary" data-dismiss="modal" value="Add" autocomplete="off">
</div>
</div>
</div>
</form>
</div>
<ul id="task-list" class="list-group mt-2 mb-2">
</ul>
<div class="btn-group">
<button class="btn btn-light me-2" id="sortBtn">Сортировать </button>
<button class="btn btn-light me-2" id="clearBtn">Очистить </button>
</div>
</div>
<header></header>
<footer></footer>
</body>
</html>