-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
76 lines (73 loc) · 3.75 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>HimaTodo Web App</title>
<meta name="description" content="HimaTodo is a web app to manage to do lists in the browser made by Hima-Pro." />
<meta name="author" content="Hima-Pro" />
<meta name="theme-color" content="#ffffff" />
<meta name="keywords" content="HimaTodo, Hima-Pro, To Do, Todo, To Do List, Todo List" />
<meta property="og:title" content="HimaTodo Web App" />
<meta property="og:description" content="HimaTodo is a web app to manage to do lists in the browser made by Hima-Pro." />
<meta property="og:url" content="https://hima-pro.github.io/HimaTodo/" />
<meta property="og:image" content="https://hima-pro.github.io/HimaTodo/favicon.ico" />
<link rel="apple-touch-startup-image" href="assets/images/logo.svg" />
<link rel="apple-touch-icon" href="favicon.ico" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="manifest" href="assets/manifest.json" />
<link rel="stylesheet" href="assets/css/style.css" />
<link rel="stylesheet" href="assets/css/small.css" media="(max-width: 600px)" />
<!-- <link rel="stylesheet" href="https://bit.ly/3goJURh"> -->
<link rel="stylesheet" href="assets/css/icons/style.css">
<script>
if ("serviceWorker" in navigator) {
navigator.serviceWorker.register("sw.js");
}
</script>
</head>
<body>
<center class="container">
<header>
<h1 class="logo">
<img height="50px" src="assets/images/logo.svg" alt="HimaTodo" />
<span> <span class="text-primary">Hima</span>Todo </span>
</h1>
<div id="nav">
<button class="tab home" onclick="switchView('home')" title="Home"><i class="fas fa-home"></i></button>
<button class="tab tags" onclick="switchView('tags')" title="Manage Tags"><i class="fas fa-tags"></i></button>
<button class="tab plus" onclick="switchView('plus')" title="Add new todo"><i class="fas fa-plus"></i></button>
<button class="theme" onclick="themeManager.switch()" title="Switch theme"><i class="fas fa-moon-over-sun"></i></button>
</div>
</header>
<select id="tag-selector" title="Select a tag"></select>
<section class="plus">
<input id="name" placeholder="Todo name" />
<br />
<textarea id="content" placeholder="Todo content"></textarea>
<br />
<button onclick="todoManager.add()">Add</button>
</section>
<section class="tags">
<input id="tag" placeholder="Tag name" />
<br />
<button onclick="tagManager.add()">Add</button>
<div id="tag-list">
<button onclick="tagManager.getAll()">Get Tags</button>
</div>
</section>
<section id="todo-list" class="home">
<button onclick="todoManager.getAll()">Get Todos</button>
</section>
</center>
<center>
<footer>
<p>Made with <i class="fas fa-heart"></i> by <a target="_blank" href="https://hima-pro.github.io/Hima-Pro">Hima-Pro</a></p>
</footer>
</center>
<script src="assets/js/idb.js"></script>
<script src="assets/js/helpers.js"></script>
<script src="assets/js/script.js"></script>
</body>
</html>