-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaddTask.html
More file actions
96 lines (95 loc) · 3.16 KB
/
addTask.html
File metadata and controls
96 lines (95 loc) · 3.16 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
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
<!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" />
<title>Add Task</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap"
rel="stylesheet"
/>
<!--CSS-FILES-->
<link rel="stylesheet" href="css/addTask.css" />
<link rel="stylesheet" href="css/nav.css" />
<link rel="stylesheet" href="css/overall.css" />
<link rel="stylesheet" href="css/footer.css" />
<!--JS-FILES-->
<script src="js/include.js"></script>
<script src="js/addTask.js"></script>
<script src="js/overall.js"></script>
<script src="js/mini_backend.js"></script>
</head>
<body onload="initAddTask()">
<div w3-include-html="templates/nav.html"></div>
<h1 class="addTask">Add Task</h1>
<h2 class="addTask">Learning Management System Project</h2>
<form onsubmit="addTask(event)" id="addTask-form">
<div class="form-left">
<div class="title-box">
<h3>TITLE</h3>
<input
type="text"
class="title-input"
id="title-field"
placeholder="Create a title"
minlength="3"
required
/>
</div>
<div class="category-box">
<h3>CATEGORY</h3>
<select id="task-category" class="form-control" required>
<option selected>Management</option>
<option>Marketing</option>
<option>Product</option>
<option>Sales</option>
</select>
</div>
<div class="description-box">
<h3>DESCRIPTION</h3>
<textarea
type="text"
class="longInput"
id="description-field"
cols="30"
rows="10"
minlength="5"
required
></textarea>
</div>
</div>
<div class="form-right">
<div class="date-box">
<h3>DUE DATE</h3>
<input type="date" id="date-field" required />
</div>
<div class="urgency-box">
<h3>URGENCY</h3>
<select id="urgency-category" class="form-control" required>
<option selected>High</option>
<option>Medium</option>
<option>Low</option>
</select>
</div>
<h3>ASSIGNED TO</h3>
<div class="assigned-to" id="assigned-to"></div>
</div>
<div>
<div class="assignment-box">
<span class="box-title">List of all registered Users</span>
<div class="assignment-box-assets" id="assignment-box"></div>
<div class="button-box">
<button onclick="resetAddTask()" class="cancel-button">
CANCEL
</button>
<button type="submit" class="create-button">CREATE TASK</button>
</div>
</div>
</div>
</form>
<div w3-include-html="templates/footer.html"></div>
</body>
</html>