-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
112 lines (65 loc) · 3.23 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Taskmanager 1.0</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link id="defaultCSS" rel="stylesheet" href="main.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.11.2/css/solid.css" integrity="sha384-doPVn+s3XZuxfJLS7K1E+sUl25XMZtTVb3O46RyV3JDU2ehfc0Aks4z0ufFpA2WC" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.11.2/css/all.css" integrity="sha384-KA6wR/X5RY4zFAHpv/CnoG2UW1uogYfdnP67Uv7eULvTveboZJg0qUpmJZb5VqzN" crossorigin="anonymous">
</head>
<body>
<nav class="navbar sticky-top bg-dark ">
<a class="navbar-brand " href="/">Taskmanager 1.0</a>
<div class="darkmode ">
<button type="button" id="darkMode"class="btn btn-secondary" > <i class="far fa-lightbulb"></i>
Darkmode
</button>
<button type="button" id="ligtMode"class="btn btn-secondary" > <i class="fas fa-lightbulb"></i>
Lightmode
</button>
</div>
</div>
</nav>
<div class="jumbotron jumbotron-fluid">
<div class="container">
<p class="lead">Enter your task and finish them whenever you want.</p>
<form onsubmit="return false;">
<div class="form-group ">
<label for="exampleFormControlInput1">What do you want to do?</label>
<input type="text" class="form-control " id="createTaskInput" placeholder="Buy milk.."
value="Examle task, to save time while testing">
<input type="text" class="form-control col-md-4" id="dueDateInput" placeholder="Due date">
<button type="submit" id="submitTask" class="btn btn-primary btn-lg">Create task</button>
<div class="taskcounterContainer">
<span class="taskcountSpan">0</span> task(s) left
</div>
</div>
</form>
</div>
</div>
<div class="list-group container mb-3">
<h2 class="container "> You are all done for now, why not add some tasks?</h2>
<ul id="items" class="taskList">
<div class="noTasksLeft ">
<img src="https://svgshare.com/i/Ge8.svg" class="allDoneImg" alt="Sun">
</div>
</ul>
<div id="modalContainer">
<div class="modalContent">
<h3>Change your task</h3>
<input type="text" class="form-control" id="updateTaskInput" placeholder="Change your task...">
<button type="submit" id="updateTask" class="btn update-btn btn-primary btn-md">Update task</button>
<button type="submit" id="closeModal" class="btn close-modal-btn btn-secondary btn-md">Nevermind</button>
</div>
</div>
</div>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.10.1/Sortable.js"></script>
<script src="https://cdn.jsdelivr.net/npm/flatpickr"></script>
<script src="app.js"></script>
</body>
</html>