-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (76 loc) · 3.31 KB
/
index.html
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tasks</title>
<script src="./libs/jquery/jquery-3.6.4.min.js"></script>
<link rel="stylesheet" href="./libs/bootstrap/css/bootstrap.min.css">
<script src="./libs/bootstrap/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="style.css">
<script src="main.js"></script>
</head>
<body>
<div class="container">
<h2 class="mt-5 mb-5">Task management Application</h2>
<div class="mb-5">
<div class="row">
<div class="form-group col-md-6 mb-3">
<label for="title">Title</label>
<input id="title" type="text" name="title" class="form-control"
placeholder="Enter the task title" />
</div>
<div class="form-group col-md-6 mb-3">
<label for="description">Description</label>
<input id="description" type="text" name="description" class="form-control"
placeholder="Enter the task description" />
</div>
<div class="form-group col-md-6 mb-3">
<label for="priority">Priority</label>
<input id="priority" type="text" name="priority" class="form-control"
placeholder="Enter the task priority" />
</div>
<div class="form-group col-md-6 mb-3">
<label for="status">Status</label>
<input id="status" type="text" name="status" class="form-control"
placeholder="Enter the task status" />
</div>
<div class="form-group col-md-6 mb-3">
<label for="enddate">End date</label>
<input id="enddate" type="text" name="enddate" class="form-control"
placeholder="Enter the task enddate" />
</div>
<div class="form-group col-md-6 mb-3">
<label for="teamsize">Team size</label>
<input id="teamsize" type="number" name="teamsize" class="form-control"
placeholder="Enter the teamsize" />
</div>
<div class="col-lg-12 mb-5">
<button class="btn btn-success" id="Submit" onclick="createTask()">Add data</button>
<button class="btn btn-primary" id="Update">Update data</button>
</div>
</div>
</div>
<hr>
<div class="row mt-5">
<div class="col-12">
<table class="table table-bordered">
<thead>
<tr>
<th>ID</th>
<th>Title</th>
<th>Description</th>
<th>Priority</th>
<th>Status</th>
<th>End date</th>
<th>Team size</th>
<th>Actions</th>
</tr>
</thead>
<tbody id="data"></tbody>
</table>
</div>
</div>
</div>
</body>
</html>