forked from Jitpomi/HelloPears
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
122 lines (113 loc) · 4.56 KB
/
index.html
File metadata and controls
122 lines (113 loc) · 4.56 KB
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
<!DOCTYPE html>
<html lang="en-us">
<head>
<style>
body > h1:nth-of-type(1) {
cursor: pointer
}
body {
--title-bar-height: 42px;
padding-top: var(--title-bar-height);
}
#bar {
background: rgba(55, 60, 72, 0.6);
backdrop-filter: blur(64px);
-webkit-app-region: drag;
height: var(--title-bar-height);
padding: 0;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
color: #FFF;
white-space: nowrap;
box-sizing: border-box;
position: fixed;
z-index: 2;
width: 100%;
left: 0;
top: 0;
}
pear-ctrl[data-platform=darwin] {
margin-top: 18px;
margin-left: 12px;
}
</style>
<link rel="icon" type="image/svg+xml" href="/h.png"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Hello Todo| Hypercore, Hyperbee, Autobase, Hyperdeebee, Hyperswarm, HyperDHT</title>
<link href="public/styles/output.css" rel="stylesheet">
<script type="module" src="scripts/app.js"></script>
</head>
<body>
<div id="bar"><pear-ctrl></pear-ctrl></div>
<section class="p-10">
<dialog id="todo-dialog" class="rounded-2xl shadow-2xl">
<div class="bg-[#2A2C35] text-white p-10 min-w-[300px] relative">
<svg id="todo-dialog-close-button"
xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
class="h-6 w-6 absolute right-1 top-1 cursor-pointer">
<path stroke-linecap="round" stroke-linejoin="round"
d="M9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/>
</svg>
<div class="flex flex-col gap-2">
<h3 class="text-2xl">Add Item</h3>
<form id="todo-form">
<div>
<label>
<textarea
id="todo-text"
class="focus:ring-2 focus:ring-gray-950 focus:outline-none appearance-none w-full text-sm leading-6 text-slate-900 placeholder-slate-400 rounded-md py-2 pl-10 ring-1 ring-slate-200 shadow-sm"
>
</textarea>
</label>
<div class='text-red-400' id="todo-error"></div>
</div>
<div class="flex justify-end mt-5">
<button type="submit"
class="h-5 px-5 py-4 font-semibold rounded-md text-white bg-[#131315] flex items-center cursor-pointer shadow-2xl hover:shadow">
Add
</button>
</div>
</form>
</div>
</div>
</dialog>
<div class=" pt-12 pr-0 pb-12 pl-0 mt-0 mr-auto mb-0 ml-auto sm:py-16 lg:py-20">
<div class="pt-0 pr-4 pb-0 pl-4 mt-0 mr-auto mb-0 ml-auto max-w-7xl sm:px-6 lg:px-8">
<div class=" pt-0 pr-4 pb-0 pl-4 mt-0 mr-auto mb-0 ml-auto max-w-4xl sm:px-6 lg:px-8">
<div class=" pt-0 pr-4 pb-0 pl-4 mt-0 mr-auto mb-0 ml-auto sm:flex sm:items-center sm:justify-between">
<div>
<p class="text-xl font-bold text-white">Today's Tasks</p>
</div>
<button
class="h-5 px-5 py-4 font-semibold rounded-md bg-[#2A2C35] text-white flex items-center cursor-pointer shadow-2xl hover:shadow"
id="todo-dialog-open-button"
>
Add Task
</button>
<!-- <div class="mt-4 mr-0 mb-0 ml-0 sm:mt-0">
<p class="sr-only">Search Tasks</p>
<div class="relative">
<div class="flex items-center pt-0 pr-0 pb-0 pl-3 absolute inset-y-0 left-0 pointer-events-none">
<p>
<svg class="w-5 h-5 text-gray-400" xmlns="http://www.w3.org/2000/svg" fill="none" viewbox="0 0 24 24"
stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M21
21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"/></svg>
</p>
</div>
<label>
<input placeholder="Search Tasks " type="search" class="border block pt-2 pr-0 pb-2 pl-10 w-full py-2
pl-10 border border-gray-300 rounded-lg focus:ring-indigo-600 focus:border-indigo-600 sm:text-sm"/>
</label>
</div>
</div>-->
</div>
<div class="text-white bg-[#2A2C35] shadow-xl mt-8 mr-0 mb-0 ml-0 pt-4 pr-10 pb-4 pl-10 flow-root rounded-lg sm:py-2">
<div class="pt--10 pr-0 pb-10 pl-0" id="todo-list">
</div>
</div>
</div>
</div>
</div>
</section>
</body>
</html>