-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
214 lines (186 loc) · 7.93 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
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<!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">
<link rel="stylesheet" href="css/global.css">
<title>Elekere</title>
</head>
<body>
<!----------------------------------------------
Modals
-------------------------------------------- -->
<!-- Settings modal -->
<div class="modal" id="settings-modal">
<div class="modal-container">
<div class="modal-header">
<h2>Settings</h2>
<button id="close-settings-modal">X</button>
</div>
<form>
<label for="">Name</label>
<input type="text" placeholder="Your display name">
<div class="modal-footer">
<button>Save</button>
</div>
</form>
</div>
</div>
<!-- Note modal -->
<div class="modal" id="note-modal">
<div class="modal-container">
<div class="modal-header">
<h2>Ndetu</h2>
<button id="close-note-modal">X</button>
</div>
<form>
<label for="">Text</label>
<textarea rows="7" placeholder="Write your note here"></textarea>
<div class="modal-footer">
<button>Add</button>
<button>Edit</button>
<button>Delete</button>
</div>
</form>
</div>
</div>
<!-- Todo modal -->
<div class="modal" id="todo-modal">
<div class="modal-container">
<div class="modal-header">
<h2>Todo</h2>
<button id="close-todo-modal">X</button>
</div>
<form>
<label for="">Text</label>
<textarea rows="7" placeholder="Write your todo here"></textarea>
<div class="modal-footer">
<button>Check</button>
<button>Uncheck</button>
<button>Add</button>
<button>Edit</button>
<button>Delete</button>
</div>
</form>
</div>
</div>
<!-- Event modal -->
<div class="modal" id="event-modal">
<div class="modal-container">
<div class="modal-header">
<h2>Events</h2>
<button id="close-event-modal">X</button>
</div>
<form>
<label for="">Title</label>
<input type="text" placeholder="Write your title here">
<label for="">Date</label>
<input type="date">
<label for="">Time</label>
<input type="time">
<div class="modal-footer">
<button>Add</button>
<button>Edit</button>
<button>Delete</button>
</div>
</form>
</div>
</div>
<!----------------------------------------------
Main section
-------------------------------------------- -->
<main>
<!-- Greeting -->
<h1 class="greet"><span id="greeting-period"></span> ọma, Ifedili</h1>
<!-- Main container -->
<div class="main-wrapper">
<!-----------------------------------------------
Left Section
--------------------------------------------- -->
<div class="main-l">
<!-- <div class="search-bar-container">
<input id="google-search" class="search-bar" type="text" placeholder="Search with google"
autofocus>
<button class="search-bar-but"></button>
</div> -->
<div class="time-container">
<div id="date"></div>
<h1 id="time">00:00:00</h1>
<p id="elekere"></p>
</div>
</div>
<!-----------------------------------------------
Right Section
--------------------------------------------- -->
<div class="main-r">
<!-- All Tabs -->
<div class="tabs-buts">
<div id="notes-but" class="tabs-but active">
Ndetu
</div>
<div id="todos-but" class="tabs-but">
Todos
<span class="tabs-badge">4</span>
</div class="tabs-but">
<div id="events-but" class="tabs-but">
Events
<span class="tabs-badge">14</span>
</div>
</div>
<div class="all-tabs-section">
<!-- Notes section -->
<section id="notes-sect" class="tabs-sec active">
<div class="sec-input-cont">
<input id="note-text" type="text" placeholder="Chota ihe...">
<span></span>
<button id="open-note-modal">+</button>
</div>
<ul id="notes"></ul>
</section>
<!-- Todos section -->
<section id="todos-sect" class="tabs-sec">
<div class="sec-input-cont">
<input id="todo-text" type="text" placeholder="Todo...">
<span></span>
<button id="open-todo-modal">+</button>
</div>
<ul id="todos">
<li class="sect-unit">
<input type="checkbox" name="" id="" checked>
<p class="sect-unit-text"> coolk </p>
<div class="sect-unit-buts">
<button class="sect-unit-buts-del"></button>
</div>
</li>
</ul>
</section>
<!-- Events section -->
<section id="events-sect" class="tabs-sec">
<div class="sec-input-cont">
<input id="event-text" type="text" placeholder="Dee ihe...">
<span></span>
<button id="open-event-modal">+</button>
</div>
<ul id="events"></ul>
</section>
</div>
</div>
</div>
</main>
<!----------------------------------------------
Footer
-------------------------------------------- -->
<footer>
<span>Created by <a href="ifedili.com">Ifedili</a></span>
<span class="settings-but" id="open-settings-modal"></span>
</footer>
<!----------------------------------------------
Scripts
-------------------------------------------- -->
<script src="./js/global.js"></script>
<script src="./js/time.js"></script>
<script src="./js/notes.js"></script>
<script src="./js/index.js"></script>
</body>
</html>