-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.php
executable file
·86 lines (85 loc) · 3.14 KB
/
home.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
<?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">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
</head>
<body onload="loadProjects(), setTheme(), setButton()">
<!--<?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="heading">
<h1>
your cove
</h1>
</div>
<br>
</div>
<div id="newProject">
<div id="projectContent">
<span id="close-button" onclick="closeWindow1()">×</span>
<form method="post">
Create a new project <br>
Project name: <input type="text" name="newProjectName" class = "taskInput" id="project_name" > <br>
<!--People on task: <input type="text" name="newTaskPeople" class = "taskInput" id="task_person"> <br>-->
Due date: <input type="date" name="newProjectDate" class = "taskInput" id="project_date"> <br>
Project description: <input type="text" name="newProjectDescrip" class = "taskInput" id="project_descrip"> <br>
<?php include('errors.php') ?>
<input type="submit" value="Done" id="projectDone" onclick="createProject()"> <!-- ; loadTasks()-->
</form>
</div>
</div>
<br>
<div class="main">
<ul id="projectTable">
</ul>
<img id="taskButton" src="media/new_plus_blue.png" onclick="newProject()" />
</div>
<!--<?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>