-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
135 lines (128 loc) · 4.29 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!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" />
<script
src="https://kit.fontawesome.com/31c6079382.js"
crossorigin="anonymous"
></script>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-aFq/bzH65dt+w6FI2ooMVUpc+21e0SRygnTpmBvdBgSdnuTN7QbdgL+OapgHtvPp"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="./Style/style.css" />
<title>Task Manager</title>
</head>
<body>
<header>
<h1>Task Manager Page</h1>
</header>
<main>
<section id="list">
<h3>Your tasks</h3>
<button class="btn btn-dark btn-delete" id="btnDeleteAll">
Delete All
</button>
<button class="btn btn-dark btn-details" id="btnShowPanel">
Show/Hide Sidebar
</button>
<div id="pendingTasks">
<!-- tasks will be rendered here -->
</div>
</section>
<section id="form">
<h3 class="card-header">Task Info</h3>
<div class="form">
<!-- Success panel -->
<div id="pnlSuccess" class="alert alert-success hide" role="alert">
Task saved successfully.
</div>
<!-- Error panel -->
<div id="pnlError" class="alert alert-danger hide" role="alert">
Task not saved. Check your inputs.
</div>
<div class="mb-2">
<i id="iImportant" class="fa-regular fa-bookmark notImp"></i>
</div>
<div class="mb-2">
<label for="exampleFormControlInput1" class="form-label"
>Title</label
>
<input type="text" class="form-control" id="txtTask" />
</div>
<div class="mb-2">
<label for="exampleFormControlTextarea1" class="form-label"
>Description</label
>
<textarea class="form-control" id="txtDescript" rows="3"></textarea>
</div>
<div class="mb-2">
<label for="exampleFormControlInput1" class="form-label"
>Due Date</label
>
<input type="date" class="form-control" id="selDue" />
</div>
<div class="mb-2">
<label for="exampleFormControlInput1" class="form-label"
>Duration</label
>
<input
type="number"
class="form-control"
id="txtDuration"
placeholder="(days)"
/>
</div>
<div class="mb-3">
<label for="exampleFormControlInput1" class="form-label"
>Status</label
>
<select class="form-select" id="selStatus">
<option></option>
<option>Pending</option>
<option>Active</option>
<option>Completed</option>
<option>Cancelled</option>
</select>
</div>
<div class="mb-3">
<label for="exampleFormControlInput1" class="form-label"
>Color</label
>
<input type="color" class="form-control" id="txtColor" />
</div>
<div class="mb-2">
<label for="exampleFormControlInput1" class="form-label"
>Budget</label
>
<input
type="number"
class="form-control"
id="txtBudget"
placeholder="Dollars"
/>
</div>
<div class="mb-3">
<button class="btn btn-dark" id="saveBtn">Save Task</button>
</div>
</div>
</section>
</main>
<script
src="https://code.jquery.com/jquery-3.6.4.min.js"
integrity="sha256-oP6HI9z1XaZNBrJURtCoUT5SUnxFr8s3BzRl+cbzUq8="
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-qKXV1j0HvMUeCBQ+QVp7JcfGl760yU08IQ+GpUo5hlbpg51QRiuqHAJz8+BrxE/N"
crossorigin="anonymous"
></script>
<script src="./Script/script.js"></script>
<script src="./Script/task.js"></script>
</body>
</html>