-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
192 lines (190 loc) · 7 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
<!DOCTYPE html>
<html lang="en" data-theme="light">
<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" />
<link rel="shortcut icon" href="./src/client/assets/favicon.ico" type="image/x-icon">
<title>Wurkspaces.dev Boilerplate</title>
</head>
<body>
<div class="float-right top-0 right-0 h-screen w-[300px]" data-theme="dark">
<div class="container flex flex-col min-h-screen">
<!-- HEADER START -->
<div class="navbar bg-base-100" x-data="{ showMenu: false }">
<div class="flex-none">
<!-- <button class="btn btn-square btn-ghost drawer-button"> -->
<label for="sidebar-drawer" class="drawer-button btn">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
class="inline-block w-5 h-5 stroke-current"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M4 6h16M4 12h16M4 18h16"
></path>
</svg>
<!-- </button> -->
</label>
</div>
<div class="flex-1">
<a
href="https://wurkspaces.dev"
target="_blank"
class="link link-hover"
>Wurkspaces.dev</a
>
</div>
<!-- drop-down menu start -->
<div class="flex-none">
<button
class="btn btn-square btn-ghost"
@click="showMenu = !showMenu"
>
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
class="inline-block w-5 h-5 stroke-current"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M5 12h.01M12 12h.01M19 12h.01M6 12a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0z"
></path>
</svg>
</button>
<div
class="fixed right-0 top-14"
x-show="showMenu"
@click.away="showMenu = false"
x-transition
>
<ul class="menu bg-base-200 rounded-box">
<li>
<a class="tooltip tooltip-right" data-tip="Home">
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-5 w-5"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"
/>
</svg>
</a>
</li>
<li>
<a class="tooltip tooltip-right" data-tip="Details">
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-5 w-5"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
/>
</svg>
</a>
</li>
<li>
<a class="tooltip tooltip-right" data-tip="Stats">
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-5 w-5"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"
/>
</svg>
</a>
</li>
</ul>
</div>
</div>
<!-- drop-down menu end -->
</div>
<!-- HEADER END -->
<!-- DRAWER START -->
<div class="drawer drawer-end">
<input id="sidebar-drawer" type="checkbox" class="drawer-toggle" />
<div class="drawer-content">
<!-- Page content here -->
</div>
<div class="drawer-side">
<ul class="menu p-4 w-[300px] h-full bg-base-200 text-base-content">
<!-- Sidebar content here -->
<li>
<label for="sidebar-drawer" class="drawer-overlay"
><svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
strokeWidth="{1.5}"
stroke="currentColor"
class="w-6 h-6"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
d="M6 18L18 6M6 6l12 12"
/>
</svg>
</label>
</li>
<li><a>Settings ⚙️</a></li>
<li><a>Feedback 📧</a></li>
</ul>
</div>
</div>
<!-- DRAWER -->
<!-- MAIN APP START -->
<main class="flex-grow mx-2">
<div
x-data="colorRandomizer"
>
<button :disabled="!isReady" class="btn btn-primary" @click="runRandomize();" x-cloak>
<span
x-show="!isReady"
class="loading loading-dots loading-xs text-info"
></span
><span x-text="isReady ? ready : loading" :class="isReady ? 'text-base' : 'text-info'">Button</span>
</button>
</div>
</main>
<!-- MAIN APP end -->
<!-- FOOTER START -->
<footer class="footer footer-center p-4 bg-base-300 text-base-content">
<div>
<p>
Copyright © 2023 - All right reserved by Wurkspaces.dev OÜ
</p>
</div>
</footer>
<!-- FOOTER END -->
</div>
</div>
<script src="./src/client/app.js" type="module"></script>
</body>
</html>