lobstakit-cloud 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/lobstakit.js +2 -0
- package/lib/config.js +176 -0
- package/lib/gateway.js +104 -0
- package/lib/proxy.js +33 -0
- package/package.json +16 -0
- package/public/css/styles.css +579 -0
- package/public/index.html +507 -0
- package/public/js/app.js +198 -0
- package/public/js/login.js +93 -0
- package/public/js/manage.js +1274 -0
- package/public/js/setup.js +755 -0
- package/public/login.html +73 -0
- package/public/manage.html +734 -0
- package/server.js +1357 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en" class="dark">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>Login - LobstaKit</title>
|
|
7
|
+
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🦞</text></svg>">
|
|
8
|
+
<script src="https://cdn.tailwindcss.com"></script>
|
|
9
|
+
<script>
|
|
10
|
+
tailwind.config = {
|
|
11
|
+
darkMode: 'class',
|
|
12
|
+
theme: {
|
|
13
|
+
extend: {
|
|
14
|
+
colors: {
|
|
15
|
+
lobsta: {
|
|
16
|
+
bg: '#0A0A0A',
|
|
17
|
+
card: '#171717',
|
|
18
|
+
border: '#262626',
|
|
19
|
+
accent: '#DC2626',
|
|
20
|
+
'accent-dark': '#991B1B',
|
|
21
|
+
'accent-light': '#EF4444',
|
|
22
|
+
light: '#FF6B6B',
|
|
23
|
+
success: '#22c55e',
|
|
24
|
+
warning: '#f59e0b',
|
|
25
|
+
error: '#ef4444',
|
|
26
|
+
muted: '#737373',
|
|
27
|
+
gray: '#404040',
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
</script>
|
|
34
|
+
<link rel="stylesheet" href="/css/styles.css">
|
|
35
|
+
</head>
|
|
36
|
+
<body class="bg-lobsta-bg text-gray-100 min-h-screen flex items-center justify-center">
|
|
37
|
+
<div class="w-full max-w-sm mx-auto px-4">
|
|
38
|
+
<!-- Login Card -->
|
|
39
|
+
<div class="card">
|
|
40
|
+
<div class="text-center mb-6">
|
|
41
|
+
<span class="text-5xl block mb-3">🦞</span>
|
|
42
|
+
<h1 class="text-2xl font-bold text-white">LobstaKit</h1>
|
|
43
|
+
<p class="text-lobsta-muted text-sm mt-1">Dashboard Login</p>
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<form id="login-form" onsubmit="event.preventDefault(); login();">
|
|
47
|
+
<div class="space-y-4">
|
|
48
|
+
<div>
|
|
49
|
+
<label class="block text-sm font-medium mb-1">Email</label>
|
|
50
|
+
<input type="email" id="email" class="input w-full" placeholder="you@email.com" autocomplete="email" autofocus>
|
|
51
|
+
</div>
|
|
52
|
+
<div>
|
|
53
|
+
<label class="block text-sm font-medium mb-1">Password</label>
|
|
54
|
+
<input type="password" id="password" class="input w-full" placeholder="Enter password" autocomplete="current-password">
|
|
55
|
+
</div>
|
|
56
|
+
|
|
57
|
+
<p class="text-sm text-lobsta-error hidden" id="login-error"></p>
|
|
58
|
+
|
|
59
|
+
<button type="submit" class="btn btn-primary w-full" id="login-btn">
|
|
60
|
+
Sign In
|
|
61
|
+
</button>
|
|
62
|
+
</div>
|
|
63
|
+
</form>
|
|
64
|
+
|
|
65
|
+
<p class="text-xs text-lobsta-muted text-center mt-6">
|
|
66
|
+
🔒 Protect your AI. Only you should access this.
|
|
67
|
+
</p>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
|
|
71
|
+
<script src="/js/login.js"></script>
|
|
72
|
+
</body>
|
|
73
|
+
</html>
|