-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex(2).html
More file actions
124 lines (103 loc) · 4.32 KB
/
index(2).html
File metadata and controls
124 lines (103 loc) · 4.32 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
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
<!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" />
<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=Roboto+Slab:wght@800&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="style(2).css" />
<script src="script(2).js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/css/bootstrap.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/2.1.2/sweetalert.min.js"></script>
<title>PROJECT MANAGEMENT TOOL</title>
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="site.webmanifest">
</head>
<body style="background-color: rgb(255, 255, 255);">
<header>
<h1>PROJECT MANAGEMENT TOOL</h1>
</header>
<br><br><br>
<div class="container-wrapper">
<div class="card" style="margin:auto">
<div class="form-group">
<h4>New User</h4>
<div class="new-user">
<input type="text" name="new_project" id="add-project" class="form-control" placeholder="User Name" />
<button type="button" onclick="taskObj.addProject();" class="btn-primary btn" style="width: 10rem;">
Add User
</button>
</div>
</div>
<div class="row" style="margin-bottom: 1rem">
<div class="col-md-12">
<div class="manage-tasks">
<form method="POST" onsubmit="return taskObj.deleteProject(this);" style="display: contents">
<select name="project" class="form-control" style="
display: initial;
width: 200px;
margin-right: 5px;
" id="form-task-hour-calculator-all-projects"></select>
<input type="submit" class="btn btn-danger" value="Delete User" />
</form>
</div>
<hr>
<div class="add-task-btn">
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#addTaskModal"
style="background-color: #4CAF50; border-color: #4CAF50;">
Add Task
</button>
</div>
</div>
</div>
<hr>
<div id="no_tasks">No tasks</div>
<table class="table" id="show-table">
<tr>
<th>Task</th>
<th>User Name</th>
<th>Task Status</th>
<th>Duration</th>
<th>Date</th>
<th>Change Status</th>
</tr>
<tbody id="all-tasks"></tbody>
</table>
</div>
<div class="modal fade" id="addTaskModal" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Add Task</h5>
<button class="close" type="button" data-dismiss="modal">x</button>
</div>
<div class="modal-body">
<form method="POST" onsubmit="return taskObj.addTask(this);" id="form-task-hour-calculator">
<div class="form-group">
<label>User</label>
<select name="project" id="add-task-project" class="form-control" required></select>
</div>
<div class="form-group">
<label>Task</label>
<input type="text" name="task" class="form-control" placeholder="What are you going to do ?" required />
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">
Close
</button>
<button type="submit" form="form-task-hour-calculator" class="btn btn-primary">
Add Task
</button>
</div>
</div>
</div>
</div>
</div>
</body>
</html>