-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtask.html
More file actions
47 lines (46 loc) · 1.6 KB
/
task.html
File metadata and controls
47 lines (46 loc) · 1.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- favicon -->
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
<!-- normalize -->
<link rel="stylesheet" href="./normalize.css" />
<!-- main -->
<link rel="stylesheet" href="./main.css" />
<title>Edit Task</title>
</head>
<body>
<div class="container">
<form class="single-task-form">
<h4>Edit Task</h4>
<div class="form-control">
<label>Task ID</label>
<p class="task-edit-id"></p>
</div>
<div class="form-control">
<label for="name">Name</label>
<input type="text" name="name" class="task-edit-name" />
</div>
<div class="form-control">
<label for="completed">completed</label>
<input type="checkbox" name="completed" class="task-edit-completed" />
</div>
<button type="submit" class="block btn task-edit-btn">edit</button>
<div class="form-alert"></div>
</form>
<a href="index.html" class="btn back-link">back to tasks</a>
</div>
<!-- axios -->
<script
src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.21.1/axios.min.js"
integrity="sha512-bZS47S7sPOxkjU/4Bt0zrhEtWx0y0CRkhEp8IckzK+ltifIIE9EMIMTuT/mEzoIMewUINruDBIR/jJnbguonqQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<!-- js -->
<script src="./edit-task.js"></script>
</body>
</html>