-
Notifications
You must be signed in to change notification settings - Fork 0
/
tasks.php
executable file
·175 lines (173 loc) · 5.92 KB
/
tasks.php
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<?php include('server.php');?>
<!DOCTYPE html>
<html>
<head>
<link href='https://fonts.googleapis.com/css?family=Poppins' rel='stylesheet' type='text/css'>
<link type = "text/css" rel="stylesheet" href="css/style.css" id="theme">
<link type = "text/css" rel="stylesheet" href="css/tasks.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
</head>
<body onload="loadTasks(), setTheme()"><!--find free use image-->
<!--<?php if (isset($_SESSION['success'])): ?>-->
<div class = "content">
<div class="sidenav">
<div class="tooltip">
<a href="home.php">
<center>
<img src="media/home.png" width="47">
</center>
</a>
<span class="tooltiptext">Home</span>
</div>
<div class="tooltip">
<a href="profile.php">
<center>
<img src="media/profile.png" width="45" height="45">
</center>
</a>
<span class="tooltiptext">Profile</span>
</div>
<div class="tooltip">
<a href="settings.php">
<center>
<img src="media/settings.png" width="50">
</center>
</a>
<span class="tooltiptext">Settings</span>
</div>
<center style="margin-top: 50vh;"></center>
<div class="tooltip">
<a href="index.php?logout='1'">
<center>
<img src = "media/logout.png" width="40" style="bottom: 0">
</center>
</a>
<span class="tooltiptext">Logout</span>
</div>
</div>
<div class="task-heading">
<h3 class="task-heading-h3">
</h3>
<h4 class="task-heading-h4">
</h4>
<h5 class="task-heading-h5">
</h5>
<!--<h3>
Project Name
</h3>
<h4 style="color: #48516e">
Due Date: 5/10/2019
</h4>
<h5 style="color: #48516e; font-style: italic;">
Lorem ipsum dlsfjkjdfsdjnfkjdsnfjds nfjsdnfkjsndafkjdsnfkjdnsfk fweagwaggweagwa kdsjnfjkdsnf
jkdsnfkjdsnfjkndsf dshfkjsdna kjdsfjkdnsfkjdsnf gaewgwagwagwagewagewakdjsbfjkdsnfjkndsfjk jhdbshjsvhj jdsnvjkdnsdskjnvdskljfnv kjbdsvhbdfv
</h5>-->
</div>
</div>
<div id="newTask">
<div id="taskContent">
<span id="close-button" onclick="closeWindow()">×</span>
<form method="post">
Create a new task <br>
Task name: <input type="text" name="newTaskName" class = "taskInput" id="task_name" > <br>
<!--People on task: <input type="text" name="newTaskPeople" class = "taskInput" id="task_person"> <br>-->
Due date: <input type="date" name="newTaskDate" class = "taskInput" id="task_date"> <br>
Task description: <input type="text" name="newTaskDescrip" class = "taskInput" id="task_descrip"> <br>
<?php include('errors.php') ?>
<input type="submit" value="Done" id="taskDone" onclick="createTask()"> <!-- ; loadTasks()-->
</form>
</div>
</div>
<div id="taskDetails">
<div id="detailContent">
</div>
</div>
<br>
<div class="main">
<table id="taskTable">
</table>
<img id="taskButton" src="media/new_plus_blue.png" onclick="newTask()" />
</div>
<!-- OLD
<div class="main" style="margin-left:120px">
<table width="100%" style="table-layout: fixed; text-align: center;" id="taskTable">
<tr style="font-size:18px">
<th width="10%">
task
</th>
<th width="15%">
team member
</th>
<th width="25%">
status
</th>
<th width="25%">
priority
</th>
<th width="25%">
due date
</th>
</tr>
<tr>
<td width="10%">
<p style="font-size:30px">
task 1
</p>
</td>
<td width="15%">
<img src = "media/cove.jpg" class="profilepic1" align = center> name
</td>
<td width="25%">
<div class="taskBox" style="background-color:pink">
need help
</div>
</td>
<td width="25%">
<div class="taskBox" style="background-color:orange">
medium
</div>
</td>
<td width="25%">
<div class="taskBox" style="background-color:lightgray">
11/30/18
</div>
</td>
</tr>
<tr class="taskRows">
<td width="10%">
<p style="font-size:30px">
task 2
</p>
</td>
<td width="15%">
<img src = "media/cove.jpg" class="profilepic1" align = center> name
</td>
<td width="25%">
<div class="taskBox" style="background-color:mediumpurple">
brainstorming
</div>
</td>
<td width="25%">
<div class="taskBox" style="background-color:cornflowerblue">
low
</div>
</td>
<td width="25%">
<div class="taskBox" style="background-color:lightgray">
12/16/18
</div>
</td>
</tr>
</table>
<br>
<br><br>-->
<!--<?php else: ?>
<div style="font-size:20px">
You are not logged in!
</div>
<meta http-equiv="refresh" content="2; URL='/index.php">
<?php endif ?>-->
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript" src="js/tasks.js"></script>
</body>
</html>