-
Notifications
You must be signed in to change notification settings - Fork 0
/
task.html
154 lines (142 loc) · 6.19 KB
/
task.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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE html>
<html lang="en" style="font-family: 'Slabo 27px', serif;background-color:#D8BFD8;">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Task Manager</title>
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css'>
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.css'>
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css'>
<link rel='stylesheet' href='https://rawgit.com/wenzhixin/bootstrap-table/master/src/bootstrap-table.css'>
<link href="https://fonts.googleapis.com/css2?family=Slabo+27px&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/task1.css">
<link rel="stylesheet" href="css/tab.css">
</head>
<body style="font-family: 'Slabo 27px', serif;background-color:#D8BFD8; padding: 0 0; margin: 0 0">
<!--nav tab -->
<div class="buttons-container" style="text-align:center;">
<ul class="buttons" style="display:inline-block;">
<li>
<a id="home" name="home" href="index.html" title="Jot down!">
<img src="static/icons/home.png" alt="">
</a>
</li>
<li>
<a id="Dashboard" name="Dashboard" href="https://assistant-dashboard.herokuapp.com/" title="Onestop Dashboard!">
<img src="static/icons/dash.png" alt="">
</a>
</li>
<li>
<a id="Task Manager" name="Task Manager" href="task.html" title="Task Manager">
<img src="static/icons/todo.png" alt="">
</a>
</li>
<li>
<a id="note" name="note" href="note.html" title="Jot down!">
<img src="static/icons/note.png" alt="">
</a>
</li>
<li>
<a id="budget" name="budget" href="budget.html" title="budget">
<img src="static/icons/budget.png" alt="">
</a>
</li>
<li>
<a id="travel" name="travel" href="#" title="travel">
<img src="static/icons/travel.png" alt="">
</a>
<ul class="dropdown-content">
<li><a href="flight.html">Flights</a></li>
<li><a href="trains.html">Trains</a></li>
</ul>
</li>
<li>
<a id="Relax" name="Relax" href="relax.html" title="Relax">
<img src="static/icons/heart.png" alt="">
</a>
</li>
</ul>
</div>
<!-- end of nav tab -->
<br>
<br>
<br>
<div class="container-fluid cover" style="width:100%; padding:0 0 0 0; margin: 0 0">
<div class="header">
<h2 style="margin-top:10px">Task Manager</h2>
</div>
<!-- task input form -->
<div class = "col-sm-12" id = "addTask">
<h4 style="text-align:center; color:white"><b>** Rest if you must but don't you quit! **</b></h4>
<br>
<div class="col-sm-12">
<label for="dueDate" style="font-size:20px">Due Date</label>
<input type="text" id = "dueDate" style="width:30%; height:40px"></input>
</div>
<div class="col-sm-12">
<label for="status" style="font-size:20px">Details</label>
<input type="text" id = "status" style="width:30%; height:40px"></input>
</div>
<div class="col-sm-12">
<label for="priority" style="font-size:20px">Priority</label>
<input type="number" id = "priority" style="width:30%; height:40px"></input>
</div>
<!--task input form ends -->
</div>
<!-- Tadk add button -->
<div class = "col-sm-12" style="text-align:center">
<input id = "pushTask" type = "button" style="width:100px; height:50px; background-color:#9370DB;color:white; border-radius:10px" value = "Add"></input>
</div>
<!-- task List -->
<div class = "col-sm-12" id = "tasksContainer" style="padding:0; margin:0">
<table data-toggle="table" class = "table table-hover" id= "tasksTable">
<thead>
<tr>
<th data-field="dueDate" data-sortable="false">Due Date</th>
<th data-field="status" data-sortable="false">Details</th>
<th data-field="priority" data-sortable="false">Priority</th>
<th data-field="createdAt" data-sortable="false">Created At</th>
<th data-field="operations" data-sortable="false">Operations</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<!-- Edit task modal -->
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Edit Task</h4>
</div>
<div class="modal-body">
<div class="">
<label for="editdueDate">Due Date</label>
<input type="text" id = "editdueDate"></input>
</div>
<div class="">
<label for="editstatus">Details</label>
<input type="text" id = "editstatus"></input>
</div>
<div class="">
<label for="editpriority">Priority</label>
<input type="number" id = "editpriority"></input>
</div>
</div>
<div class="modal-footer">
<button id = "editSave" type="button" class="btn btn-default" data-dismiss="modal">Save</button>
</div>
</div>
</div>
</div>
</div>
<!-- javascripts -->
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js'></script>
<script src='https://rawgit.com/wenzhixin/bootstrap-table/master/src/bootstrap-table.js'></script>
<script src="js/task1.js"></script>
</body>
</html>