-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
executable file
·63 lines (53 loc) · 2.53 KB
/
index.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
<?php
include_once('includes/init.php');
include_once('includes/session.php');
checkUserSession();
include_once('templates/header.php');
headerIndex();
?>
<body onload="initCalendar()">
<svg viewBox="0 0 0 0" style="position: absolute; z-index: -1; opacity: 0;">
<defs>
<linearGradient id="boxGradient" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="25" y2="25">
<stop offset="0%" stop-color="#80E3D1"/>
<stop offset="100%" stop-color="#53C5B9"/>
</linearGradient>
<linearGradient id="lineGradient">
<stop offset="0%" stop-color="#53C5B9"/>
<stop offset="100%" stop-color="#80E3D1"/>
</linearGradient>
<path id="todo__line" stroke="url(#lineGradient)" d="M4 5h180v0.01z"></path>
<path id="todo__box" stroke="url(#boxGradient)" d="M21 12.7v5c0 1.3-1 2.3-2.3 2.3H8.3C7 20 6 19 6 17.7V7.3C6 6 7 5 8.3 5h10.4C20 5 21 6 21 7.3v5.4"></path>
<path id="todo__check" stroke="url(#boxGradient)" d="M10 13l2 2 5-5"></path>
<circle id="todo__circle" cx="13.5" cy="12.5" r="10"></circle>
</defs>
</svg>
<?php
include_once('templates/nav-bar.php');
userNavBar();
include_once('templates/calendar.php');
?>
<section class="feed-container" id="feed">
<?php include_once('templates/messages.php'); ?>
<div id="addTask" class="rnd-corners shadow-cards">
<form contenteditable>
<input id="addTask_title" type="text" name="AddTask_Title" placeholder="Name">
<input id="addTask_item" type="text" name="AddTask_Item" placeholder="Add Task...">
<input id="addTask_category" type="text" name="AddTaskCategory" placeholder="category">
<input type="submit" value="Submit">
<input id="addTask_date" type="date" name="AddTask_DueDate">
<nav id="select_priority">
<i class="fa fa-circle priority-0 active" aria-hidden="true"></i>
<i class="fa fa-circle priority-1" aria-hidden="true"></i>
<i class="fa fa-circle priority-2" aria-hidden="true"></i>
<i class="fa fa-circle priority-3" aria-hidden="true"></i>
</nav>
</form>
<script src="scripts/addTask.js" async></script>
</div>
<div id="modal" class="modal"></div>
<div class="masonry" id="tasks-list">
<?php include_once('list_tasks.php'); ?>
</div>
</section>
<?php include_once('templates/footer.php') ?>