Spaces:
Running
Running
Add 3 files
Browse files- README.md +7 -5
- index.html +411 -19
- prompts.txt +0 -0
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: static
|
7 |
pinned: false
|
|
|
|
|
8 |
---
|
9 |
|
10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
+
title: test
|
3 |
+
emoji: 🐳
|
4 |
+
colorFrom: blue
|
5 |
+
colorTo: blue
|
6 |
sdk: static
|
7 |
pinned: false
|
8 |
+
tags:
|
9 |
+
- deepsite
|
10 |
---
|
11 |
|
12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
@@ -1,19 +1,411 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Cosmic Explorer Dashboard</title>
|
7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
9 |
+
<style>
|
10 |
+
@keyframes float {
|
11 |
+
0%, 100% { transform: translateY(0); }
|
12 |
+
50% { transform: translateY(-10px); }
|
13 |
+
}
|
14 |
+
.floating {
|
15 |
+
animation: float 4s ease-in-out infinite;
|
16 |
+
}
|
17 |
+
.gradient-bg {
|
18 |
+
background: linear-gradient(135deg, #1e1b4b 0%, #3b0764 50%, #7e22ce 100%);
|
19 |
+
}
|
20 |
+
.card-glow:hover {
|
21 |
+
box-shadow: 0 0 20px rgba(124, 58, 237, 0.7);
|
22 |
+
}
|
23 |
+
.custom-scrollbar::-webkit-scrollbar {
|
24 |
+
width: 6px;
|
25 |
+
}
|
26 |
+
.custom-scrollbar::-webkit-scrollbar-track {
|
27 |
+
background: #1e1b4b;
|
28 |
+
}
|
29 |
+
.custom-scrollbar::-webkit-scrollbar-thumb {
|
30 |
+
background: #7e22ce;
|
31 |
+
border-radius: 3px;
|
32 |
+
}
|
33 |
+
</style>
|
34 |
+
</head>
|
35 |
+
<body class="gradient-bg min-h-screen text-white font-sans">
|
36 |
+
<div class="container mx-auto px-4 py-8">
|
37 |
+
<!-- Header -->
|
38 |
+
<header class="flex justify-between items-center mb-12">
|
39 |
+
<div class="flex items-center space-x-4">
|
40 |
+
<div class="w-12 h-12 rounded-full bg-purple-600 flex items-center justify-center floating">
|
41 |
+
<i class="fas fa-rocket text-xl"></i>
|
42 |
+
</div>
|
43 |
+
<h1 class="text-3xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-purple-400 to-pink-300">
|
44 |
+
Cosmic Explorer
|
45 |
+
</h1>
|
46 |
+
</div>
|
47 |
+
<div class="flex items-center space-x-6">
|
48 |
+
<button class="relative group">
|
49 |
+
<i class="fas fa-bell text-xl text-purple-300"></i>
|
50 |
+
<span class="absolute -top-1 -right-1 w-4 h-4 bg-pink-500 rounded-full flex items-center justify-center text-xs">3</span>
|
51 |
+
<div class="absolute right-0 mt-2 w-64 bg-gray-800 rounded-lg shadow-lg opacity-0 group-hover:opacity-100 transition-opacity duration-300 z-10 p-2">
|
52 |
+
<p class="text-sm p-2 border-b border-gray-700">New cosmic event detected</p>
|
53 |
+
<p class="text-sm p-2 border-b border-gray-700">System update available</p>
|
54 |
+
<p class="text-sm p-2">Exploration team check-in</p>
|
55 |
+
</div>
|
56 |
+
</button>
|
57 |
+
<div class="flex items-center space-x-2 cursor-pointer group">
|
58 |
+
<div class="w-10 h-10 rounded-full bg-purple-500 flex items-center justify-center">
|
59 |
+
<i class="fas fa-user-astronaut"></i>
|
60 |
+
</div>
|
61 |
+
<span class="group-hover:text-purple-300 transition-colors">Commander</span>
|
62 |
+
</div>
|
63 |
+
</div>
|
64 |
+
</header>
|
65 |
+
|
66 |
+
<!-- Main Dashboard -->
|
67 |
+
<main>
|
68 |
+
<!-- Stats Cards -->
|
69 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
|
70 |
+
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-6 card-glow transition-all duration-300 hover:bg-opacity-70">
|
71 |
+
<div class="flex justify-between items-start">
|
72 |
+
<div>
|
73 |
+
<p class="text-purple-300 text-sm">Light Years Traveled</p>
|
74 |
+
<h3 class="text-2xl font-bold mt-1">12,748</h3>
|
75 |
+
</div>
|
76 |
+
<div class="w-12 h-12 rounded-lg bg-purple-900 bg-opacity-50 flex items-center justify-center">
|
77 |
+
<i class="fas fa-lightbulb text-purple-300"></i>
|
78 |
+
</div>
|
79 |
+
</div>
|
80 |
+
<div class="mt-4 h-2 bg-gray-700 rounded-full">
|
81 |
+
<div class="h-full bg-purple-500 rounded-full" style="width: 75%"></div>
|
82 |
+
</div>
|
83 |
+
</div>
|
84 |
+
|
85 |
+
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-6 card-glow transition-all duration-300 hover:bg-opacity-70">
|
86 |
+
<div class="flex justify-between items-start">
|
87 |
+
<div>
|
88 |
+
<p class="text-blue-300 text-sm">Planets Discovered</p>
|
89 |
+
<h3 class="text-2xl font-bold mt-1">428</h3>
|
90 |
+
</div>
|
91 |
+
<div class="w-12 h-12 rounded-lg bg-blue-900 bg-opacity-50 flex items-center justify-center">
|
92 |
+
<i class="fas fa-globe text-blue-300"></i>
|
93 |
+
</div>
|
94 |
+
</div>
|
95 |
+
<div class="mt-4 h-2 bg-gray-700 rounded-full">
|
96 |
+
<div class="h-full bg-blue-500 rounded-full" style="width: 60%"></div>
|
97 |
+
</div>
|
98 |
+
</div>
|
99 |
+
|
100 |
+
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-6 card-glow transition-all duration-300 hover:bg-opacity-70">
|
101 |
+
<div class="flex justify-between items-start">
|
102 |
+
<div>
|
103 |
+
<p class="text-green-300 text-sm">Life Signs Detected</p>
|
104 |
+
<h3 class="text-2xl font-bold mt-1">17</h3>
|
105 |
+
</div>
|
106 |
+
<div class="w-12 h-12 rounded-lg bg-green-900 bg-opacity-50 flex items-center justify-center">
|
107 |
+
<i class="fas fa-leaf text-green-300"></i>
|
108 |
+
</div>
|
109 |
+
</div>
|
110 |
+
<div class="mt-4 h-2 bg-gray-700 rounded-full">
|
111 |
+
<div class="h-full bg-green-500 rounded-full" style="width: 30%"></div>
|
112 |
+
</div>
|
113 |
+
</div>
|
114 |
+
|
115 |
+
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-6 card-glow transition-all duration-300 hover:bg-opacity-70">
|
116 |
+
<div class="flex justify-between items-start">
|
117 |
+
<div>
|
118 |
+
<p class="text-yellow-300 text-sm">Fuel Reserves</p>
|
119 |
+
<h3 class="text-2xl font-bold mt-1">84%</h3>
|
120 |
+
</div>
|
121 |
+
<div class="w-12 h-12 rounded-lg bg-yellow-900 bg-opacity-50 flex items-center justify-center">
|
122 |
+
<i class="fas fa-gas-pump text-yellow-300"></i>
|
123 |
+
</div>
|
124 |
+
</div>
|
125 |
+
<div class="mt-4 h-2 bg-gray-700 rounded-full">
|
126 |
+
<div class="h-full bg-yellow-500 rounded-full" style="width: 84%"></div>
|
127 |
+
</div>
|
128 |
+
</div>
|
129 |
+
</div>
|
130 |
+
|
131 |
+
<!-- Main Content -->
|
132 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
133 |
+
<!-- Star Map -->
|
134 |
+
<div class="lg:col-span-2 bg-gray-800 bg-opacity-50 rounded-xl p-6">
|
135 |
+
<div class="flex justify-between items-center mb-6">
|
136 |
+
<h2 class="text-xl font-bold">Galactic Star Map</h2>
|
137 |
+
<div class="flex space-x-2">
|
138 |
+
<button class="px-3 py-1 bg-purple-700 rounded-lg text-sm hover:bg-purple-600">3D View</button>
|
139 |
+
<button class="px-3 py-1 bg-gray-700 rounded-lg text-sm hover:bg-gray-600">Grid</button>
|
140 |
+
</div>
|
141 |
+
</div>
|
142 |
+
<div class="relative h-96 rounded-lg overflow-hidden">
|
143 |
+
<div id="starMap" class="absolute inset-0 bg-gradient-to-br from-purple-900 to-blue-900 flex items-center justify-center">
|
144 |
+
<!-- Stars will be added by JavaScript -->
|
145 |
+
</div>
|
146 |
+
<div class="absolute bottom-4 left-4 right-4 bg-gray-900 bg-opacity-70 rounded-lg p-3">
|
147 |
+
<div class="flex justify-between items-center">
|
148 |
+
<div>
|
149 |
+
<p class="text-sm text-purple-300">Current Sector</p>
|
150 |
+
<p class="font-medium">Andromeda Quadrant</p>
|
151 |
+
</div>
|
152 |
+
<button class="px-3 py-1 bg-purple-600 rounded-lg text-sm hover:bg-purple-500">
|
153 |
+
<i class="fas fa-expand mr-1"></i> Fullscreen
|
154 |
+
</button>
|
155 |
+
</div>
|
156 |
+
</div>
|
157 |
+
</div>
|
158 |
+
</div>
|
159 |
+
|
160 |
+
<!-- Recent Discoveries -->
|
161 |
+
<div class="bg-gray-800 bg-opacity-50 rounded-xl p-6">
|
162 |
+
<h2 class="text-xl font-bold mb-6">Recent Discoveries</h2>
|
163 |
+
<div class="space-y-4 max-h-96 overflow-y-auto custom-scrollbar pr-2">
|
164 |
+
<div class="flex items-start space-x-3 p-3 bg-gray-700 bg-opacity-30 rounded-lg hover:bg-opacity-50 transition-colors">
|
165 |
+
<div class="w-10 h-10 rounded-full bg-blue-600 flex items-center justify-center mt-1">
|
166 |
+
<i class="fas fa-water"></i>
|
167 |
+
</div>
|
168 |
+
<div>
|
169 |
+
<h4 class="font-medium">Oceanic Exoplanet</h4>
|
170 |
+
<p class="text-sm text-gray-300">Found in Kepler-442 system with potential for aquatic life</p>
|
171 |
+
<div class="flex items-center mt-1 text-xs text-blue-300">
|
172 |
+
<i class="fas fa-clock mr-1"></i>
|
173 |
+
<span>2 hours ago</span>
|
174 |
+
</div>
|
175 |
+
</div>
|
176 |
+
</div>
|
177 |
+
|
178 |
+
<div class="flex items-start space-x-3 p-3 bg-gray-700 bg-opacity-30 rounded-lg hover:bg-opacity-50 transition-colors">
|
179 |
+
<div class="w-10 h-10 rounded-full bg-purple-600 flex items-center justify-center mt-1">
|
180 |
+
<i class="fas fa-gem"></i>
|
181 |
+
</div>
|
182 |
+
<div>
|
183 |
+
<h4 class="font-medium">Crystalline Formation</h4>
|
184 |
+
<p class="text-sm text-gray-300">Massive crystal structures detected on asteroid XJ-449</p>
|
185 |
+
<div class="flex items-center mt-1 text-xs text-purple-300">
|
186 |
+
<i class="fas fa-clock mr-1"></i>
|
187 |
+
<span>1 day ago</span>
|
188 |
+
</div>
|
189 |
+
</div>
|
190 |
+
</div>
|
191 |
+
|
192 |
+
<div class="flex items-start space-x-3 p-3 bg-gray-700 bg-opacity-30 rounded-lg hover:bg-opacity-50 transition-colors">
|
193 |
+
<div class="w-10 h-10 rounded-full bg-green-600 flex items-center justify-center mt-1">
|
194 |
+
<i class="fas fa-seedling"></i>
|
195 |
+
</div>
|
196 |
+
<div>
|
197 |
+
<h4 class="font-medium">Bioluminescent Flora</h4>
|
198 |
+
<p class="text-sm text-gray-300">Plant life emitting light discovered on TRAPPIST-1e</p>
|
199 |
+
<div class="flex items-center mt-1 text-xs text-green-300">
|
200 |
+
<i class="fas fa-clock mr-1"></i>
|
201 |
+
<span>3 days ago</span>
|
202 |
+
</div>
|
203 |
+
</div>
|
204 |
+
</div>
|
205 |
+
|
206 |
+
<div class="flex items-start space-x-3 p-3 bg-gray-700 bg-opacity-30 rounded-lg hover:bg-opacity-50 transition-colors">
|
207 |
+
<div class="w-10 h-10 rounded-full bg-yellow-600 flex items-center justify-center mt-1">
|
208 |
+
<i class="fas fa-meteor"></i>
|
209 |
+
</div>
|
210 |
+
<div>
|
211 |
+
<h4 class="font-medium">Rare Mineral Comet</h4>
|
212 |
+
<p class="text-sm text-gray-300">Comet with unusual mineral composition passing nearby</p>
|
213 |
+
<div class="flex items-center mt-1 text-xs text-yellow-300">
|
214 |
+
<i class="fas fa-clock mr-1"></i>
|
215 |
+
<span>5 days ago</span>
|
216 |
+
</div>
|
217 |
+
</div>
|
218 |
+
</div>
|
219 |
+
|
220 |
+
<div class="flex items-start space-x-3 p-3 bg-gray-700 bg-opacity-30 rounded-lg hover:bg-opacity-50 transition-colors">
|
221 |
+
<div class="w-10 h-10 rounded-full bg-red-600 flex items-center justify-center mt-1">
|
222 |
+
<i class="fas fa-fire"></i>
|
223 |
+
</div>
|
224 |
+
<div>
|
225 |
+
<h4 class="font-medium">Volcanic Activity</h4>
|
226 |
+
<p class="text-sm text-gray-300">Unprecedented volcanic eruptions on Io-analog moon</p>
|
227 |
+
<div class="flex items-center mt-1 text-xs text-red-300">
|
228 |
+
<i class="fas fa-clock mr-1"></i>
|
229 |
+
<span>1 week ago</span>
|
230 |
+
</div>
|
231 |
+
</div>
|
232 |
+
</div>
|
233 |
+
</div>
|
234 |
+
</div>
|
235 |
+
</div>
|
236 |
+
|
237 |
+
<!-- Mission Log -->
|
238 |
+
<div class="mt-8 bg-gray-800 bg-opacity-50 rounded-xl p-6">
|
239 |
+
<div class="flex justify-between items-center mb-6">
|
240 |
+
<h2 class="text-xl font-bold">Mission Log</h2>
|
241 |
+
<button id="addLogBtn" class="px-4 py-2 bg-purple-600 rounded-lg hover:bg-purple-500 flex items-center">
|
242 |
+
<i class="fas fa-plus mr-2"></i> Add Entry
|
243 |
+
</button>
|
244 |
+
</div>
|
245 |
+
<div class="overflow-x-auto">
|
246 |
+
<table class="w-full">
|
247 |
+
<thead>
|
248 |
+
<tr class="text-left border-b border-gray-700">
|
249 |
+
<th class="pb-3">Date</th>
|
250 |
+
<th class="pb-3">Event</th>
|
251 |
+
<th class="pb-3">Status</th>
|
252 |
+
<th class="pb-3">Actions</th>
|
253 |
+
</tr>
|
254 |
+
</thead>
|
255 |
+
<tbody>
|
256 |
+
<tr class="border-b border-gray-700 hover:bg-gray-700 hover:bg-opacity-30">
|
257 |
+
<td class="py-4">Stardate 57894.3</td>
|
258 |
+
<td>Entered Andromeda Quadrant</td>
|
259 |
+
<td><span class="px-2 py-1 bg-green-900 bg-opacity-50 text-green-300 rounded-full text-xs">Completed</span></td>
|
260 |
+
<td>
|
261 |
+
<button class="p-1 text-gray-400 hover:text-white">
|
262 |
+
<i class="fas fa-ellipsis-h"></i>
|
263 |
+
</button>
|
264 |
+
</td>
|
265 |
+
</tr>
|
266 |
+
<tr class="border-b border-gray-700 hover:bg-gray-700 hover:bg-opacity-30">
|
267 |
+
<td class="py-4">Stardate 57892.1</td>
|
268 |
+
<td>First contact with Kepler-442 civilization</td>
|
269 |
+
<td><span class="px-2 py-1 bg-blue-900 bg-opacity-50 text-blue-300 rounded-full text-xs">In Progress</span></td>
|
270 |
+
<td>
|
271 |
+
<button class="p-1 text-gray-400 hover:text-white">
|
272 |
+
<i class="fas fa-ellipsis-h"></i>
|
273 |
+
</button>
|
274 |
+
</td>
|
275 |
+
</tr>
|
276 |
+
<tr class="border-b border-gray-700 hover:bg-gray-700 hover:bg-opacity-30">
|
277 |
+
<td class="py-4">Stardate 57889.7</td>
|
278 |
+
<td>Warp core maintenance</td>
|
279 |
+
<td><span class="px-2 py-1 bg-yellow-900 bg-opacity-50 text-yellow-300 rounded-full text-xs">Pending</span></td>
|
280 |
+
<td>
|
281 |
+
<button class="p-1 text-gray-400 hover:text-white">
|
282 |
+
<i class="fas fa-ellipsis-h"></i>
|
283 |
+
</button>
|
284 |
+
</td>
|
285 |
+
</tr>
|
286 |
+
<tr class="hover:bg-gray-700 hover:bg-opacity-30">
|
287 |
+
<td class="py-4">Stardate 57886.5</td>
|
288 |
+
<td>Sample collection from TRAPPIST-1e</td>
|
289 |
+
<td><span class="px-2 py-1 bg-purple-900 bg-opacity-50 text-purple-300 rounded-full text-xs">Analyzing</span></td>
|
290 |
+
<td>
|
291 |
+
<button class="p-1 text-gray-400 hover:text-white">
|
292 |
+
<i class="fas fa-ellipsis-h"></i>
|
293 |
+
</button>
|
294 |
+
</td>
|
295 |
+
</tr>
|
296 |
+
</tbody>
|
297 |
+
</table>
|
298 |
+
</div>
|
299 |
+
</div>
|
300 |
+
</main>
|
301 |
+
</div>
|
302 |
+
|
303 |
+
<!-- Add Log Modal (hidden by default) -->
|
304 |
+
<div id="logModal" class="fixed inset-0 bg-black bg-opacity-70 flex items-center justify-center z-50 hidden">
|
305 |
+
<div class="bg-gray-800 rounded-xl p-6 w-full max-w-md">
|
306 |
+
<div class="flex justify-between items-center mb-4">
|
307 |
+
<h3 class="text-xl font-bold">Add Mission Log</h3>
|
308 |
+
<button id="closeModalBtn" class="text-gray-400 hover:text-white">
|
309 |
+
<i class="fas fa-times"></i>
|
310 |
+
</button>
|
311 |
+
</div>
|
312 |
+
<form id="logForm" class="space-y-4">
|
313 |
+
<div>
|
314 |
+
<label class="block text-sm text-gray-300 mb-1">Date</label>
|
315 |
+
<input type="text" class="w-full bg-gray-700 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-purple-500" placeholder="Stardate...">
|
316 |
+
</div>
|
317 |
+
<div>
|
318 |
+
<label class="block text-sm text-gray-300 mb-1">Event</label>
|
319 |
+
<input type="text" class="w-full bg-gray-700 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-purple-500" placeholder="Event description...">
|
320 |
+
</div>
|
321 |
+
<div>
|
322 |
+
<label class="block text-sm text-gray-300 mb-1">Status</label>
|
323 |
+
<select class="w-full bg-gray-700 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-purple-500">
|
324 |
+
<option>Completed</option>
|
325 |
+
<option>In Progress</option>
|
326 |
+
<option>Pending</option>
|
327 |
+
<option>Analyzing</option>
|
328 |
+
</select>
|
329 |
+
</div>
|
330 |
+
<div class="pt-2">
|
331 |
+
<button type="submit" class="w-full bg-purple-600 hover:bg-purple-500 py-2 rounded-lg font-medium">
|
332 |
+
Add Log Entry
|
333 |
+
</button>
|
334 |
+
</div>
|
335 |
+
</form>
|
336 |
+
</div>
|
337 |
+
</div>
|
338 |
+
|
339 |
+
<script>
|
340 |
+
// Create stars for the star map
|
341 |
+
document.addEventListener('DOMContentLoaded', function() {
|
342 |
+
const starMap = document.getElementById('starMap');
|
343 |
+
const starCount = 150;
|
344 |
+
|
345 |
+
for (let i = 0; i < starCount; i++) {
|
346 |
+
const star = document.createElement('div');
|
347 |
+
star.className = 'absolute rounded-full bg-white';
|
348 |
+
|
349 |
+
// Random size between 1px and 3px
|
350 |
+
const size = Math.random() * 2 + 1;
|
351 |
+
star.style.width = `${size}px`;
|
352 |
+
star.style.height = `${size}px`;
|
353 |
+
|
354 |
+
// Random position
|
355 |
+
star.style.left = `${Math.random() * 100}%`;
|
356 |
+
star.style.top = `${Math.random() * 100}%`;
|
357 |
+
|
358 |
+
// Random opacity for twinkling effect
|
359 |
+
star.style.opacity = Math.random();
|
360 |
+
|
361 |
+
starMap.appendChild(star);
|
362 |
+
}
|
363 |
+
|
364 |
+
// Add a few larger "stars" (planets)
|
365 |
+
for (let i = 0; i < 5; i++) {
|
366 |
+
const planet = document.createElement('div');
|
367 |
+
planet.className = 'absolute rounded-full';
|
368 |
+
|
369 |
+
const size = Math.random() * 10 + 5;
|
370 |
+
planet.style.width = `${size}px`;
|
371 |
+
planet.style.height = `${size}px`;
|
372 |
+
|
373 |
+
planet.style.left = `${Math.random() * 90 + 5}%`;
|
374 |
+
planet.style.top = `${Math.random() * 90 + 5}%`;
|
375 |
+
|
376 |
+
// Random planet colors
|
377 |
+
const colors = ['bg-blue-400', 'bg-purple-400', 'bg-red-400', 'bg-yellow-400', 'bg-green-400'];
|
378 |
+
planet.classList.add(colors[Math.floor(Math.random() * colors.length)]);
|
379 |
+
|
380 |
+
starMap.appendChild(planet);
|
381 |
+
}
|
382 |
+
|
383 |
+
// Modal functionality
|
384 |
+
const addLogBtn = document.getElementById('addLogBtn');
|
385 |
+
const closeModalBtn = document.getElementById('closeModalBtn');
|
386 |
+
const logModal = document.getElementById('logModal');
|
387 |
+
|
388 |
+
addLogBtn.addEventListener('click', () => {
|
389 |
+
logModal.classList.remove('hidden');
|
390 |
+
});
|
391 |
+
|
392 |
+
closeModalBtn.addEventListener('click', () => {
|
393 |
+
logModal.classList.add('hidden');
|
394 |
+
});
|
395 |
+
|
396 |
+
logModal.addEventListener('click', (e) => {
|
397 |
+
if (e.target === logModal) {
|
398 |
+
logModal.classList.add('hidden');
|
399 |
+
}
|
400 |
+
});
|
401 |
+
|
402 |
+
document.getElementById('logForm').addEventListener('submit', (e) => {
|
403 |
+
e.preventDefault();
|
404 |
+
// In a real app, you would handle form submission here
|
405 |
+
alert('Log entry added!');
|
406 |
+
logModal.classList.add('hidden');
|
407 |
+
});
|
408 |
+
});
|
409 |
+
</script>
|
410 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Ibrahemqasim/test" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
411 |
+
</html>
|
prompts.txt
ADDED
File without changes
|