Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files- index.html +710 -610
index.html
CHANGED
|
@@ -4,13 +4,15 @@
|
|
| 4 |
<head>
|
| 5 |
<meta charset="UTF-8">
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 7 |
-
<title>🚀 Studio Workflow Engine Enterprise
|
| 8 |
-
<meta name="description" content="Enterprise AI-Powered Development Platform">
|
| 9 |
|
| 10 |
-
<!-- Google Fonts: Inter
|
| 11 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 12 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 13 |
-
<link
|
|
|
|
|
|
|
| 14 |
|
| 15 |
<!-- FontAwesome for Icons -->
|
| 16 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
|
@@ -19,99 +21,144 @@
|
|
| 19 |
<link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism-tomorrow.min.css" rel="stylesheet" />
|
| 20 |
|
| 21 |
<style>
|
| 22 |
-
/* --- CSS Variables &
|
| 23 |
:root {
|
| 24 |
-
/*
|
| 25 |
-
--
|
| 26 |
-
--
|
| 27 |
-
--
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
--
|
| 31 |
-
|
| 32 |
-
--
|
| 33 |
-
--
|
| 34 |
--danger: #ef4444;
|
| 35 |
--info: #3b82f6;
|
| 36 |
|
| 37 |
-
--gradient-
|
| 38 |
-
--gradient-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
--
|
| 42 |
-
--
|
| 43 |
-
--
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
--
|
| 47 |
-
|
| 48 |
-
--
|
| 49 |
-
|
| 50 |
-
--
|
| 51 |
-
--radius-
|
| 52 |
-
|
| 53 |
-
--
|
| 54 |
-
--
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
--
|
| 58 |
-
--
|
| 59 |
-
--
|
| 60 |
-
}
|
| 61 |
-
|
| 62 |
-
/* Dark Mode Support */
|
| 63 |
-
@media (prefers-color-scheme: dark) {
|
| 64 |
-
:root {
|
| 65 |
-
--bg-body: #0f172a;
|
| 66 |
-
--bg-card: #1e293b;
|
| 67 |
-
--bg-input: #334155;
|
| 68 |
-
--bg-glass: rgba(15, 23, 42, 0.85);
|
| 69 |
-
|
| 70 |
-
--text-main: #f1f5f9;
|
| 71 |
-
--text-muted: #94a3b8;
|
| 72 |
-
--text-light: #64748b;
|
| 73 |
-
|
| 74 |
-
--border: #334155;
|
| 75 |
-
--gradient-card: linear-gradient(to bottom right, #1e293b, #0f172a);
|
| 76 |
-
}
|
| 77 |
}
|
| 78 |
|
| 79 |
/* --- Reset & Base --- */
|
| 80 |
-
* {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
|
| 82 |
body {
|
| 83 |
-
font-family:
|
| 84 |
-
background-color: var(--bg-
|
| 85 |
color: var(--text-main);
|
| 86 |
-
line-height: 1.
|
| 87 |
min-height: 100vh;
|
| 88 |
display: flex;
|
| 89 |
flex-direction: column;
|
| 90 |
overflow-x: hidden;
|
|
|
|
|
|
|
|
|
|
| 91 |
}
|
| 92 |
|
| 93 |
-
/* ---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
#loading-screen {
|
| 95 |
position: fixed;
|
| 96 |
-
top: 0;
|
| 97 |
-
|
|
|
|
|
|
|
|
|
|
| 98 |
display: flex;
|
| 99 |
align-items: center;
|
| 100 |
justify-content: center;
|
| 101 |
z-index: 9999;
|
| 102 |
-
|
| 103 |
-
transition: opacity 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
}
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
|
|
|
| 109 |
border-radius: 50%;
|
| 110 |
-
|
| 111 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
}
|
| 113 |
|
| 114 |
-
/* --- Toast Notifications --- */
|
| 115 |
#toast-container {
|
| 116 |
position: fixed;
|
| 117 |
top: 20px;
|
|
@@ -119,739 +166,792 @@
|
|
| 119 |
z-index: 10000;
|
| 120 |
display: flex;
|
| 121 |
flex-direction: column;
|
| 122 |
-
gap:
|
| 123 |
}
|
|
|
|
| 124 |
.toast {
|
| 125 |
-
background:
|
| 126 |
-
|
|
|
|
| 127 |
padding: 1rem 1.5rem;
|
| 128 |
border-radius: var(--radius-sm);
|
| 129 |
-
box-shadow:
|
| 130 |
display: flex;
|
| 131 |
align-items: center;
|
| 132 |
-
gap:
|
| 133 |
-
min-width:
|
| 134 |
-
|
| 135 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
}
|
|
|
|
| 137 |
.toast.success { border-color: var(--accent); }
|
| 138 |
.toast.error { border-color: var(--danger); }
|
| 139 |
-
.toast.warning { border-color: var(--
|
| 140 |
-
|
| 141 |
-
/* --- Header --- */
|
| 142 |
header {
|
| 143 |
-
background:
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
|
|
|
|
|
|
| 148 |
}
|
| 149 |
|
| 150 |
-
.header-
|
|
|
|
|
|
|
| 151 |
display: flex;
|
| 152 |
justify-content: space-between;
|
| 153 |
align-items: center;
|
| 154 |
-
position: relative;
|
| 155 |
-
z-index: 2;
|
| 156 |
}
|
| 157 |
|
| 158 |
-
.
|
| 159 |
-
font-size: 1.5rem;
|
| 160 |
-
font-weight: 800;
|
| 161 |
-
letter-spacing: -0.025em;
|
| 162 |
display: flex;
|
| 163 |
align-items: center;
|
| 164 |
-
gap:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 165 |
}
|
| 166 |
|
| 167 |
-
.version-
|
| 168 |
-
background: rgba(255,255,255,0.
|
|
|
|
| 169 |
padding: 2px 8px;
|
| 170 |
-
border-radius:
|
| 171 |
font-size: 0.7rem;
|
| 172 |
-
font-
|
| 173 |
-
|
| 174 |
}
|
| 175 |
|
| 176 |
-
.user-
|
| 177 |
display: flex;
|
| 178 |
align-items: center;
|
| 179 |
-
gap:
|
| 180 |
}
|
| 181 |
|
| 182 |
-
.
|
| 183 |
-
|
| 184 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 185 |
}
|
| 186 |
-
@media(min-width: 768px) { .user-info { display: block; } }
|
| 187 |
|
| 188 |
-
.
|
| 189 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 190 |
|
| 191 |
-
.
|
| 192 |
-
background:
|
| 193 |
-
border:
|
| 194 |
-
color:
|
| 195 |
-
width:
|
|
|
|
| 196 |
border-radius: 50%;
|
| 197 |
cursor: pointer;
|
| 198 |
display: flex;
|
| 199 |
align-items: center;
|
| 200 |
justify-content: center;
|
| 201 |
-
|
| 202 |
-
transition: background 0.2s;
|
| 203 |
}
|
| 204 |
-
.user-menu-btn:hover { background: rgba(255,255,255,0.3); }
|
| 205 |
|
| 206 |
-
.
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
border-radius: var(--radius-md);
|
| 211 |
-
box-shadow: var(--shadow-lg);
|
| 212 |
-
width: 200px;
|
| 213 |
-
padding: 0.5rem 0;
|
| 214 |
-
display: none;
|
| 215 |
-
border: 1px solid var(--border);
|
| 216 |
-
color: var(--text-main);
|
| 217 |
-
}
|
| 218 |
-
.user-menu.active { display: block; animation: fadeIn 0.2s; }
|
| 219 |
-
|
| 220 |
-
.user-menu a {
|
| 221 |
-
display: block;
|
| 222 |
-
padding: 0.75rem 1rem;
|
| 223 |
-
text-decoration: none;
|
| 224 |
-
color: var(--text-main);
|
| 225 |
-
font-size: 0.9rem;
|
| 226 |
-
transition: background 0.2s;
|
| 227 |
}
|
| 228 |
-
.user-menu a:hover { background: var(--bg-body); }
|
| 229 |
|
| 230 |
-
/*
|
| 231 |
-
.
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
display: flex;
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
color: rgba(255,255,255,0.9);
|
| 241 |
}
|
| 242 |
-
.status-item { display: flex; align-items: center; gap: 0.5rem; }
|
| 243 |
-
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
|
| 244 |
|
| 245 |
-
/* ---
|
| 246 |
-
.
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
|
|
|
|
|
|
|
|
|
| 251 |
position: relative;
|
| 252 |
-
|
| 253 |
-
flex: 1;
|
| 254 |
}
|
| 255 |
|
| 256 |
-
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
margin-bottom: 1.5rem;
|
| 264 |
-
gap: 0.5rem;
|
| 265 |
-
overflow-x: auto;
|
| 266 |
-
border: 1px solid var(--border);
|
| 267 |
}
|
| 268 |
|
| 269 |
-
.
|
| 270 |
flex: 1;
|
| 271 |
-
padding: 0.85rem 1rem;
|
| 272 |
-
border: none;
|
| 273 |
background: transparent;
|
| 274 |
-
border
|
| 275 |
-
|
| 276 |
color: var(--text-muted);
|
|
|
|
|
|
|
|
|
|
| 277 |
cursor: pointer;
|
| 278 |
-
|
|
|
|
| 279 |
display: flex;
|
| 280 |
align-items: center;
|
| 281 |
justify-content: center;
|
| 282 |
-
gap: 0.
|
| 283 |
-
white-space: nowrap;
|
| 284 |
position: relative;
|
|
|
|
| 285 |
}
|
| 286 |
|
| 287 |
-
.
|
| 288 |
-
|
|
|
|
|
|
|
| 289 |
|
| 290 |
-
.
|
| 291 |
-
background:
|
| 292 |
-
|
| 293 |
-
|
| 294 |
-
font-size: 0.7rem;
|
| 295 |
}
|
| 296 |
-
.tab-btn.active .tab-badge { background: rgba(255,255,255,0.2); color: white; }
|
| 297 |
|
| 298 |
-
|
| 299 |
-
|
| 300 |
-
|
| 301 |
|
| 302 |
-
|
| 303 |
-
|
| 304 |
-
|
|
|
|
|
|
|
| 305 |
|
| 306 |
-
|
| 307 |
-
|
| 308 |
-
|
| 309 |
-
@media (max-width: 1024px) { .grid-2, .grid-1-2 { grid-template-columns: 1fr; } }
|
| 310 |
|
| 311 |
-
/* --- Cards --- */
|
| 312 |
.card {
|
| 313 |
-
background: var(--bg-
|
| 314 |
-
border-radius: var(--radius-xl);
|
| 315 |
border: 1px solid var(--border);
|
| 316 |
-
|
| 317 |
padding: 1.5rem;
|
| 318 |
display: flex;
|
| 319 |
flex-direction: column;
|
| 320 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 321 |
}
|
| 322 |
|
| 323 |
.card-header {
|
| 324 |
display: flex;
|
| 325 |
justify-content: space-between;
|
| 326 |
align-items: center;
|
| 327 |
-
margin-bottom:
|
| 328 |
-
padding-bottom:
|
| 329 |
border-bottom: 1px solid var(--border);
|
| 330 |
}
|
| 331 |
|
| 332 |
.card-title {
|
| 333 |
font-size: 1.1rem;
|
| 334 |
font-weight: 700;
|
| 335 |
-
color: var(--
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 336 |
display: flex;
|
|
|
|
| 337 |
align-items: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 338 |
gap: 0.5rem;
|
| 339 |
}
|
| 340 |
|
| 341 |
-
|
| 342 |
-
.
|
| 343 |
-
|
| 344 |
-
|
| 345 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 346 |
width: 100%;
|
| 347 |
-
|
| 348 |
border: 1px solid var(--border);
|
| 349 |
-
border-radius: var(--radius-
|
| 350 |
-
|
| 351 |
-
font-size: 0.95rem;
|
| 352 |
-
background-color: var(--bg-input);
|
| 353 |
color: var(--text-main);
|
| 354 |
-
|
|
|
|
| 355 |
}
|
| 356 |
|
| 357 |
input:focus, select:focus, textarea:focus {
|
| 358 |
outline: none;
|
| 359 |
border-color: var(--primary);
|
| 360 |
-
box-shadow: 0 0 0
|
| 361 |
}
|
| 362 |
|
| 363 |
-
/* ---
|
| 364 |
-
.
|
| 365 |
-
|
| 366 |
-
flex
|
| 367 |
-
|
| 368 |
-
border-radius: var(--radius-md); resize: none; padding: 1rem;
|
| 369 |
}
|
| 370 |
-
|
| 371 |
-
|
| 372 |
-
|
| 373 |
-
|
|
|
|
| 374 |
}
|
| 375 |
|
| 376 |
-
|
| 377 |
-
|
| 378 |
-
|
| 379 |
-
|
| 380 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 381 |
}
|
| 382 |
-
.btn-primary {
|
| 383 |
-
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 384 |
-
color: white; box-shadow: var(--shadow-glow);
|
| 385 |
-
}
|
| 386 |
-
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5); }
|
| 387 |
-
.btn-secondary { background-color: var(--bg-card); border: 1px solid var(--border); color: var(--text-main); }
|
| 388 |
-
.btn-secondary:hover { background-color: var(--bg-body); border-color: var(--text-light); }
|
| 389 |
-
.btn-group { display: flex; gap: 0.75rem; margin-top: 1rem; }
|
| 390 |
-
|
| 391 |
-
/* --- Report & Markdown --- */
|
| 392 |
-
.report-container {
|
| 393 |
-
background-color: var(--bg-input); border: 1px solid var(--border);
|
| 394 |
-
border-radius: var(--radius-md); padding: 1.5rem; font-size: 0.95rem;
|
| 395 |
-
color: var(--text-main); overflow-y: auto; max-height: 400px;
|
| 396 |
-
}
|
| 397 |
-
.report-container h3 { margin-top: 1rem; color: var(--primary); }
|
| 398 |
-
.report-container ul { padding-left: 1.5rem; }
|
| 399 |
-
.report-container li { margin-bottom: 0.3rem; }
|
| 400 |
-
|
| 401 |
-
/* --- Analytics Stats --- */
|
| 402 |
-
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
|
| 403 |
-
.stat-card {
|
| 404 |
-
background: var(--bg-card); padding: 1rem; border-radius: var(--radius-lg);
|
| 405 |
-
border: 1px solid var(--border); text-align: center;
|
| 406 |
-
}
|
| 407 |
-
.stat-value { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
|
| 408 |
-
.stat-label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
|
| 409 |
-
|
| 410 |
-
/* --- Progress Bar --- */
|
| 411 |
-
.progress-wrapper { margin-top: 1rem; display: none; }
|
| 412 |
-
.progress-label { display: flex; justify-content: space-between; font-size: 0.8rem; margin-bottom: 0.25rem; }
|
| 413 |
-
.progress-track { width: 100%; height: 6px; background: var(--bg-body); border-radius: 3px; overflow: hidden; }
|
| 414 |
-
.progress-fill { height: 100%; background: var(--accent); width: 0%; transition: width 0.3s ease; }
|
| 415 |
|
| 416 |
/* --- Footer --- */
|
| 417 |
-
|
| 418 |
-
|
| 419 |
-
padding:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 420 |
}
|
| 421 |
-
|
| 422 |
-
.footer-links a { color: var(--primary); text-decoration: none; }
|
| 423 |
-
.footer-links a:hover { text-decoration: underline; }
|
| 424 |
|
| 425 |
-
/* ---
|
| 426 |
-
.
|
| 427 |
-
|
| 428 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 429 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 430 |
</style>
|
| 431 |
</head>
|
| 432 |
|
| 433 |
<body>
|
| 434 |
|
| 435 |
-
<!-- Loading Screen -->
|
| 436 |
<div id="loading-screen">
|
| 437 |
-
<div
|
| 438 |
-
|
| 439 |
-
<h2>🚀 Initializing Enterprise Platform...</h2>
|
| 440 |
-
<p style="opacity: 0.8; font-size: 0.9rem; margin-top: 0.5rem;">v2.1.0 • Secure Connection</p>
|
| 441 |
-
</div>
|
| 442 |
</div>
|
| 443 |
|
| 444 |
<!-- Toast Container -->
|
| 445 |
<div id="toast-container"></div>
|
| 446 |
|
| 447 |
<header>
|
| 448 |
-
<div class="header-
|
| 449 |
-
<div class="
|
| 450 |
-
<
|
| 451 |
-
|
| 452 |
-
|
| 453 |
-
|
| 454 |
-
<div class="user-info">
|
| 455 |
-
<div class="user-name" id="userName">Guest User</div>
|
| 456 |
-
<div class="user-role" id="userRole">Viewer</div>
|
| 457 |
-
</div>
|
| 458 |
-
<div style="position: relative;">
|
| 459 |
-
<button class="user-menu-btn" onclick="toggleUserMenu()">
|
| 460 |
-
<i class="fas fa-user-circle"></i>
|
| 461 |
-
</button>
|
| 462 |
-
<div class="user-menu" id="userMenu">
|
| 463 |
-
<a href="#" onclick="showToast('Profile feature coming soon', 'info')"><i class="fas fa-user"></i> Profile</a>
|
| 464 |
-
<a href="#" onclick="showToast('Settings locked by admin', 'warning')"><i class="fas fa-cog"></i> Settings</a>
|
| 465 |
-
<a href="#" onclick="logout()"><i class="fas fa-sign-out-alt"></i> Logout</a>
|
| 466 |
-
</div>
|
| 467 |
</div>
|
| 468 |
</div>
|
| 469 |
-
</div>
|
| 470 |
|
| 471 |
-
|
| 472 |
-
|
| 473 |
-
|
| 474 |
-
|
| 475 |
-
|
| 476 |
-
|
| 477 |
-
|
| 478 |
-
|
|
|
|
| 479 |
</div>
|
| 480 |
</div>
|
| 481 |
</header>
|
| 482 |
|
| 483 |
-
<div class="container">
|
| 484 |
-
|
| 485 |
-
<
|
| 486 |
-
|
| 487 |
-
|
|
|
|
| 488 |
</button>
|
| 489 |
-
<button class="
|
| 490 |
-
<i class="fas fa-
|
| 491 |
</button>
|
| 492 |
-
<button class="
|
| 493 |
-
<i class="fas fa-chart-
|
| 494 |
</button>
|
| 495 |
-
<button class="
|
| 496 |
-
<i class="fas fa-users"></i> <span>
|
| 497 |
</button>
|
| 498 |
</nav>
|
| 499 |
|
| 500 |
<!-- TAB 1: Code Studio -->
|
| 501 |
-
<section id="studio" class="
|
| 502 |
-
<
|
| 503 |
-
|
| 504 |
-
<div class="card">
|
| 505 |
-
<
|
| 506 |
-
|
| 507 |
-
<
|
| 508 |
-
|
| 509 |
-
|
| 510 |
-
|
| 511 |
-
|
| 512 |
-
|
| 513 |
-
<div class="code-editor-wrapper">
|
| 514 |
-
<textarea id="codeInput" class="code-input" spellcheck="false" placeholder="# Paste your enterprise code here..."></textarea>
|
| 515 |
-
</div>
|
| 516 |
-
|
| 517 |
-
<div class="form-group" style="margin-top: 1rem;">
|
| 518 |
-
<label>AI Model Selection</label>
|
| 519 |
-
<select id="aiModel">
|
| 520 |
-
<option value="gpt-4-turbo">GPT-4 Turbo (Recommended)</option>
|
| 521 |
-
<option value="claude-3-opus">Claude 3 Opus</option>
|
| 522 |
-
<option value="gemini-1.5-pro">Gemini 1.5 Pro</option>
|
| 523 |
-
<option value="deepseek-coder">DeepSeek Coder V2</option>
|
| 524 |
-
</select>
|
| 525 |
-
</div>
|
| 526 |
|
| 527 |
-
|
| 528 |
-
<div class="
|
| 529 |
-
<
|
| 530 |
-
|
| 531 |
-
<span id="progressPercent">0%</span>
|
| 532 |
-
</div>
|
| 533 |
-
<div class="progress-track">
|
| 534 |
-
<div class="progress-fill" id="progressFill"></div>
|
| 535 |
-
</div>
|
| 536 |
</div>
|
| 537 |
-
|
| 538 |
-
|
| 539 |
-
<
|
| 540 |
-
|
| 541 |
-
</
|
| 542 |
-
<button class="btn btn-secondary" style="flex: 1;" onclick="runAnalysis('optimize')">
|
| 543 |
-
<i class="fas fa-bolt"></i> Optimize
|
| 544 |
-
</button>
|
| 545 |
-
<button class="btn btn-secondary" style="flex: 1;" onclick="runAnalysis('secure')">
|
| 546 |
-
<i class="fas fa-shield-alt"></i> Secure
|
| 547 |
-
</button>
|
| 548 |
</div>
|
| 549 |
</div>
|
| 550 |
|
| 551 |
-
<
|
| 552 |
-
|
| 553 |
-
<
|
| 554 |
-
<
|
| 555 |
-
<
|
| 556 |
-
|
|
|
|
|
|
|
| 557 |
|
| 558 |
-
|
| 559 |
-
|
| 560 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 561 |
|
| 562 |
-
|
| 563 |
-
|
| 564 |
-
|
| 565 |
-
|
|
|
|
|
|
|
|
|
|
| 566 |
</button>
|
| 567 |
</div>
|
| 568 |
-
<div id="codeOutput" class="output-viewer">// Results will appear here...</div>
|
| 569 |
</div>
|
| 570 |
-
</div>
|
| 571 |
-
</section>
|
| 572 |
|
| 573 |
-
|
| 574 |
-
|
| 575 |
-
|
| 576 |
-
|
| 577 |
-
<div class="card-header">
|
| 578 |
-
<span class="card-title"><i class="fas fa-plus-circle"></i> Create New Project</span>
|
| 579 |
</div>
|
|
|
|
| 580 |
|
| 581 |
-
|
| 582 |
-
|
| 583 |
-
|
| 584 |
-
|
| 585 |
-
<div class="form-group">
|
| 586 |
-
<label>Template</label>
|
| 587 |
-
<select id="projTemplate">
|
| 588 |
-
<option value="enterprise_web">Enterprise Web Application</option>
|
| 589 |
-
<option value="microservice">Microservice Architecture</option>
|
| 590 |
-
<option value="ml_pipeline">ML Pipeline</option>
|
| 591 |
-
</select>
|
| 592 |
-
</div>
|
| 593 |
-
<div class="form-group">
|
| 594 |
-
<label>Description</label>
|
| 595 |
-
<textarea id="projDesc" rows="3" placeholder="Brief project overview..."></textarea>
|
| 596 |
-
</div>
|
| 597 |
-
<button class="btn btn-primary" style="width: 100%; margin-top: 1rem;" onclick="createProject()">
|
| 598 |
-
<i class="fas fa-rocket"></i> Create Enterprise Project
|
| 599 |
</button>
|
| 600 |
</div>
|
| 601 |
-
|
| 602 |
-
|
| 603 |
-
<div class="card-header">
|
| 604 |
-
<span class="card-title"><i class="fas fa-chart-area"></i> Project Dashboard</span>
|
| 605 |
-
</div>
|
| 606 |
-
<div id="projectDashboard" class="report-container" style="max-height: 100%;">
|
| 607 |
-
<div style="text-align: center; padding-top: 3rem; color: var(--text-muted);">
|
| 608 |
-
<i class="fas fa-folder-open" style="font-size: 3rem; margin-bottom: 1rem; opacity: 0.5;"></i>
|
| 609 |
-
<p>No active project selected.</p>
|
| 610 |
-
</div>
|
| 611 |
-
</div>
|
| 612 |
</div>
|
| 613 |
</div>
|
| 614 |
</section>
|
| 615 |
|
| 616 |
-
<!-- TAB
|
| 617 |
-
<section id="
|
| 618 |
<div class="card">
|
| 619 |
<div class="card-header">
|
| 620 |
-
<span class="card-title"><i class="fas fa-
|
| 621 |
-
<span class="badge" style="background: var(--secondary); color: white;">v2.1.0</span>
|
| 622 |
</div>
|
| 623 |
-
<div class="
|
| 624 |
-
<
|
| 625 |
-
|
| 626 |
-
|
| 627 |
-
|
| 628 |
-
<
|
| 629 |
-
|
| 630 |
-
<
|
| 631 |
-
|
| 632 |
-
|
| 633 |
-
|
| 634 |
-
|
| 635 |
-
|
| 636 |
-
<
|
| 637 |
-
|
| 638 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 639 |
</div>
|
| 640 |
</div>
|
| 641 |
</div>
|
|
|
|
| 642 |
|
| 643 |
-
|
|
|
|
|
|
|
| 644 |
<div class="card">
|
| 645 |
-
<div class="card-header">
|
| 646 |
-
|
| 647 |
-
</div>
|
| 648 |
-
<div id="historyList" style="font-size: 0.9rem; color: var(--text-muted);">
|
| 649 |
-
<p style="padding: 1rem; text-align: center;">No recent activity.</p>
|
| 650 |
-
</div>
|
| 651 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 652 |
<div class="card">
|
| 653 |
<div class="card-header">
|
| 654 |
-
<span class="card-title">Model Performance</span>
|
| 655 |
</div>
|
| 656 |
-
<div
|
| 657 |
-
<div>
|
| 658 |
-
<div
|
| 659 |
-
|
| 660 |
-
</div>
|
| 661 |
-
<div style="height: 8px; background: var(--bg-body); border-radius: 4px; overflow: hidden;">
|
| 662 |
-
<div style="width: 98%; height: 100%; background: var(--primary);"></div>
|
| 663 |
-
</div>
|
| 664 |
</div>
|
| 665 |
-
<div>
|
| 666 |
-
<div
|
| 667 |
-
|
| 668 |
-
|
| 669 |
-
|
| 670 |
-
|
| 671 |
-
</div>
|
| 672 |
</div>
|
| 673 |
</div>
|
| 674 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 675 |
</div>
|
| 676 |
</section>
|
| 677 |
|
| 678 |
<!-- TAB 4: Team -->
|
| 679 |
-
<section id="team" class="
|
| 680 |
<div class="card">
|
| 681 |
<div class="card-header">
|
| 682 |
-
<span class="card-title"><i class="fas fa-users"></i>
|
| 683 |
<button class="btn btn-primary" style="padding: 0.4rem 1rem; font-size: 0.8rem;">
|
| 684 |
-
<i class="fas fa-
|
| 685 |
</button>
|
| 686 |
</div>
|
| 687 |
<div class="team-grid">
|
| 688 |
-
<div class="
|
| 689 |
-
<div class="avatar">
|
| 690 |
<div>
|
| 691 |
-
<div style="font-weight:
|
| 692 |
-
<div style="font-size: 0.8rem; color: var(--accent);">Online</div>
|
| 693 |
</div>
|
| 694 |
</div>
|
| 695 |
-
<div class="
|
| 696 |
-
<div class="avatar" style="background: var(--secondary);">JS</div>
|
| 697 |
<div>
|
| 698 |
-
<div style="font-weight:
|
| 699 |
-
<div style="font-size: 0.8rem; color: var(--text-
|
| 700 |
</div>
|
| 701 |
</div>
|
| 702 |
-
<div class="
|
| 703 |
-
<div class="avatar" style="background: var(--
|
| 704 |
<div>
|
| 705 |
-
<div style="font-weight:
|
| 706 |
-
<div style="font-size: 0.8rem; color: var(--text-
|
| 707 |
</div>
|
| 708 |
</div>
|
|
|
|
|
|
|
|
|
|
| 709 |
</div>
|
| 710 |
</div>
|
| 711 |
</section>
|
| 712 |
|
| 713 |
</div>
|
| 714 |
|
| 715 |
-
<footer
|
| 716 |
-
<
|
| 717 |
-
<span>© 2026 Studio Workflow Engine Enterprise</span>
|
| 718 |
-
<div class="footer-links">
|
| 719 |
-
<a href="#" onclick="showToast('Documentation unavailable in demo', 'info')">Documentation</a>
|
| 720 |
-
<a href="#" onclick="showToast('Support ticket created', 'success')">Support</a>
|
| 721 |
-
<a href="#" onclick="showToast('All Systems Operational', 'success')">Status</a>
|
| 722 |
-
</div>
|
| 723 |
-
</div>
|
| 724 |
</footer>
|
| 725 |
|
| 726 |
<!-- Scripts -->
|
| 727 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js"></script>
|
| 728 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-python.min.js"></script>
|
| 729 |
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism
|
| 730 |
-
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
|
| 731 |
-
|
| 732 |
-
<script>
|
| 733 |
-
/**
|
| 734 |
-
* Enterprise Store (State Management)
|
| 735 |
-
* Simulates a Redux-like store pattern
|
| 736 |
-
*/
|
| 737 |
-
class EnterpriseStore {
|
| 738 |
-
constructor() {
|
| 739 |
-
this.state = {
|
| 740 |
-
user: { name: 'Admin User', role: 'Super Admin', token: 'enterprise-token-xyz' },
|
| 741 |
-
projects: [],
|
| 742 |
-
analyses: [],
|
| 743 |
-
currentTab: 'studio'
|
| 744 |
-
};
|
| 745 |
-
this.listeners = [];
|
| 746 |
-
}
|
| 747 |
-
|
| 748 |
-
setState(newState) {
|
| 749 |
-
this.state = { ...this.state, ...newState };
|
| 750 |
-
this.notify();
|
| 751 |
-
}
|
| 752 |
-
|
| 753 |
-
subscribe(listener) {
|
| 754 |
-
this.listeners.push(listener);
|
| 755 |
-
return () => this.listeners = this.listeners.filter(l => l !== listener);
|
| 756 |
-
}
|
| 757 |
-
|
| 758 |
-
notify() {
|
| 759 |
-
this.listeners.forEach(listener => listener(this.state));
|
| 760 |
-
}
|
| 761 |
-
}
|
| 762 |
-
|
| 763 |
-
/**
|
| 764 |
-
* Enterprise API (Simulated Backend)
|
| 765 |
-
*/
|
| 766 |
-
class EnterpriseAPI {
|
| 767 |
-
constructor(store) {
|
| 768 |
-
this.store = store;
|
| 769 |
-
}
|
| 770 |
-
|
| 771 |
-
// Simulate async analyze call
|
| 772 |
-
async analyzeCode(code, model, type, onProgress) {
|
| 773 |
-
// Simulate processing steps
|
| 774 |
-
const steps = [10, 25, 45, 70, 90, 100];
|
| 775 |
-
for (const step of steps) {
|
| 776 |
-
await new Promise(r => setTimeout(r, 300)); // Network latency simulation
|
| 777 |
-
if (onProgress) onProgress(step);
|
| 778 |
-
}
|
| 779 |
-
|
| 780 |
-
const lines = code.split('\n').length;
|
| 781 |
-
const functions = (code.match(/def\s+\w+/g) || code.match(/function\s+\w+/g) || []).length;
|
| 782 |
-
|
| 783 |
-
// Generate mock report
|
| 784 |
-
const report = `
|
| 785 |
-
## 🔍 Enterprise Analysis Report
|
| 786 |
-
|
| 787 |
-
**Type:** \`${type.toUpperCase()}\`
|
| 788 |
-
**Model:** \`${model}\`
|
| 789 |
-
|
| 790 |
-
### 📊 Metrics
|
| 791 |
-
* **Lines:** ${lines}
|
| 792 |
-
* **Functions:** ${functions}
|
| 793 |
-
* **Complexity:** ${(functions * 1.5).toFixed(1)}
|
| 794 |
-
|
| 795 |
-
### 🛡️ Security Scan
|
| 796 |
-
* [x] No eval() detected
|
| 797 |
-
* [x] No hardcoded secrets
|
| 798 |
-
* [x] Input sanitization verified
|
| 799 |
-
|
| 800 |
-
### 💡 Optimization
|
| 801 |
-
* Applied async/await patterns
|
| 802 |
-
* Reduced memory footprint by 15%
|
| 803 |
-
`;
|
| 804 |
-
|
| 805 |
-
const processedCode = `// PROCESSED BY ${model.toUpperCase()} [${type.toUpperCase()}]\n` + code;
|
| 806 |
-
|
| 807 |
-
return { report, processedCode };
|
| 808 |
-
}
|
| 809 |
-
|
| 810 |
-
async createProject(projectData) {
|
| 811 |
-
await new Promise(r => setTimeout(r, 1000));
|
| 812 |
-
const project = { ...projectData, id: 'PROJ-' + Math.random().toString(36).substr(2, 6).toUpperCase() };
|
| 813 |
-
this.store.setState({ projects: [...this.store.state.projects, project] });
|
| 814 |
-
return project;
|
| 815 |
-
}
|
| 816 |
-
}
|
| 817 |
-
|
| 818 |
-
// --- Application Initialization ---
|
| 819 |
-
const store = new EnterpriseStore();
|
| 820 |
-
const api = new EnterpriseAPI(store);
|
| 821 |
-
|
| 822 |
-
// UI References
|
| 823 |
-
const ui = {
|
| 824 |
-
loadingScreen: document.getElementById('loading-screen'),
|
| 825 |
-
toastContainer: document.getElementById('toast-container'),
|
| 826 |
-
userMenu: document.getElementById('userMenu'),
|
| 827 |
-
progressWrapper: document.getElementById('progressWrapper'),
|
| 828 |
-
progressFill: document.getElementById('progressFill'),
|
| 829 |
-
progressPercent: document.getElementById('progressPercent'),
|
| 830 |
-
projectCount: document.getElementById('projectCount'),
|
| 831 |
-
studioBadge: document.getElementById('studioBadge'),
|
| 832 |
-
projectsBadge: document.getElementById('projectsBadge')
|
| 833 |
-
};
|
| 834 |
-
|
| 835 |
-
// --- Core Functions ---
|
| 836 |
-
|
| 837 |
-
function init() {
|
| 838 |
-
// Simulate loading resources
|
| 839 |
-
setTimeout(() => {
|
| 840 |
-
ui.loadingScreen.style.opacity = '0';
|
| 841 |
-
ui.loadingScreen.style.visibility = 'hidden';
|
| 842 |
-
showToast('Welcome back, Admin!', 'success');
|
| 843 |
-
|
| 844 |
-
// Set default code
|
| 845 |
-
const defaultCode = `def process_enterprise_data(data_source: str) -> dict:
|
| 846 |
-
"""
|
| 847 |
-
Processes data from the enterprise source.
|
| 848 |
-
"""
|
| 849 |
-
# Connect to secure database
|
| 850 |
-
connection = connect_db(source=data_source)
|
| 851 |
-
|
| 852 |
-
try:
|
| 853 |
-
raw_data = connection.fetch_all()
|
| 854 |
-
results = [transform(d) for d in raw_data]
|
| 855 |
-
return {"status": "success", "count": len(results)}
|
| 856 |
-
except Exception as e:
|
| 857 |
-
log_error
|
|
|
|
| 4 |
<head>
|
| 5 |
<meta charset="UTF-8">
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 7 |
+
<title>🚀 Studio Workflow Engine Enterprise v3.0 - The Odyssey Edition</title>
|
| 8 |
+
<meta name="description" content="Enterprise AI-Powered Development Platform - Revitalized">
|
| 9 |
|
| 10 |
+
<!-- Google Fonts: Space Grotesk (Headers), Inter (Body), Fira Code (Code) -->
|
| 11 |
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 12 |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 13 |
+
<link
|
| 14 |
+
href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@500;700&display=swap"
|
| 15 |
+
rel="stylesheet">
|
| 16 |
|
| 17 |
<!-- FontAwesome for Icons -->
|
| 18 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
|
|
|
| 21 |
<link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism-tomorrow.min.css" rel="stylesheet" />
|
| 22 |
|
| 23 |
<style>
|
| 24 |
+
/* --- CSS Variables & The Alchemical Palette --- */
|
| 25 |
:root {
|
| 26 |
+
/* The "Wu-Tang" Grit & "Prince" Electric Vibe */
|
| 27 |
+
--bg-deep: #050505;
|
| 28 |
+
--bg-panel: #0f1014;
|
| 29 |
+
--bg-glass: rgba(20, 20, 25, 0.7);
|
| 30 |
+
--bg-glass-hover: rgba(30, 30, 40, 0.8);
|
| 31 |
+
|
| 32 |
+
--primary: #8b5cf6; /* Electric Violet */
|
| 33 |
+
--primary-glow: rgba(139, 92, 246, 0.5);
|
| 34 |
+
--secondary: #f59e0b; /* Amber Gold */
|
| 35 |
+
--accent: #10b981; /* Bioluminescent Green */
|
| 36 |
--danger: #ef4444;
|
| 37 |
--info: #3b82f6;
|
| 38 |
|
| 39 |
+
--gradient-odyssey: linear-gradient(135deg, #4c1d95 0%, #8b5cf6 50%, #c084fc 100%);
|
| 40 |
+
--gradient-text: linear-gradient(to right, #c084fc, #f472b6);
|
| 41 |
+
--gradient-border: linear-gradient(to bottom right, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
|
| 42 |
+
|
| 43 |
+
--text-main: #f3f4f6;
|
| 44 |
+
--text-muted: #9ca3af;
|
| 45 |
+
--text-dim: #6b7280;
|
| 46 |
+
|
| 47 |
+
--border: rgba(255, 255, 255, 0.08);
|
| 48 |
+
--border-active: rgba(139, 92, 246, 0.5);
|
| 49 |
+
|
| 50 |
+
--radius-sm: 4px;
|
| 51 |
+
--radius-md: 8px;
|
| 52 |
+
--radius-lg: 16px;
|
| 53 |
+
--radius-xl: 24px;
|
| 54 |
+
|
| 55 |
+
--shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
|
| 56 |
+
--shadow-glow: 0 0 20px rgba(139, 92, 246, 0.15);
|
| 57 |
+
--shadow-neon: 0 0 10px rgba(245, 158, 11, 0.3);
|
| 58 |
+
|
| 59 |
+
--font-head: 'Space Grotesk', sans-serif;
|
| 60 |
+
--font-body: 'Inter', sans-serif;
|
| 61 |
+
--font-code: 'Fira Code', monospace;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
}
|
| 63 |
|
| 64 |
/* --- Reset & Base --- */
|
| 65 |
+
* {
|
| 66 |
+
box-sizing: border-box;
|
| 67 |
+
margin: 0;
|
| 68 |
+
padding: 0;
|
| 69 |
+
scrollbar-width: thin;
|
| 70 |
+
scrollbar-color: var(--primary) var(--bg-deep);
|
| 71 |
+
}
|
| 72 |
|
| 73 |
body {
|
| 74 |
+
font-family: var(--font-body);
|
| 75 |
+
background-color: var(--bg-deep);
|
| 76 |
color: var(--text-main);
|
| 77 |
+
line-height: 1.6;
|
| 78 |
min-height: 100vh;
|
| 79 |
display: flex;
|
| 80 |
flex-direction: column;
|
| 81 |
overflow-x: hidden;
|
| 82 |
+
background-image:
|
| 83 |
+
radial-gradient(circle at 10% 20%, rgba(76, 29, 149, 0.15) 0%, transparent 40%),
|
| 84 |
+
radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
|
| 85 |
}
|
| 86 |
|
| 87 |
+
/* --- Ambient Animation --- */
|
| 88 |
+
@keyframes drift {
|
| 89 |
+
0% { background-position: 0% 50%; }
|
| 90 |
+
50% { background-position: 100% 50%; }
|
| 91 |
+
100% { background-position: 0% 50%; }
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
/* --- Scrollbar Styling --- */
|
| 95 |
+
::-webkit-scrollbar {
|
| 96 |
+
width: 8px;
|
| 97 |
+
height: 8px;
|
| 98 |
+
}
|
| 99 |
+
::-webkit-scrollbar-track {
|
| 100 |
+
background: var(--bg-deep);
|
| 101 |
+
}
|
| 102 |
+
::-webkit-scrollbar-thumb {
|
| 103 |
+
background: #333;
|
| 104 |
+
border-radius: 4px;
|
| 105 |
+
}
|
| 106 |
+
::-webkit-scrollbar-thumb:hover {
|
| 107 |
+
background: var(--primary);
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
/* --- Typography --- */
|
| 111 |
+
h1, h2, h3, h4 {
|
| 112 |
+
font-family: var(--font-head);
|
| 113 |
+
letter-spacing: -0.02em;
|
| 114 |
+
}
|
| 115 |
+
|
| 116 |
+
/* --- Loading Screen: The Void --- */
|
| 117 |
#loading-screen {
|
| 118 |
position: fixed;
|
| 119 |
+
top: 0;
|
| 120 |
+
left: 0;
|
| 121 |
+
width: 100%;
|
| 122 |
+
height: 100%;
|
| 123 |
+
background: var(--bg-deep);
|
| 124 |
display: flex;
|
| 125 |
align-items: center;
|
| 126 |
justify-content: center;
|
| 127 |
z-index: 9999;
|
| 128 |
+
flex-direction: column;
|
| 129 |
+
transition: opacity 0.8s ease-in-out, visibility 0.8s;
|
| 130 |
+
}
|
| 131 |
+
|
| 132 |
+
.loader-ring {
|
| 133 |
+
width: 80px;
|
| 134 |
+
height: 80px;
|
| 135 |
+
border: 2px solid transparent;
|
| 136 |
+
border-top: 2px solid var(--primary);
|
| 137 |
+
border-right: 2px solid var(--secondary);
|
| 138 |
+
border-radius: 50%;
|
| 139 |
+
animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
|
| 140 |
+
position: relative;
|
| 141 |
}
|
| 142 |
+
|
| 143 |
+
.loader-ring::before {
|
| 144 |
+
content: '';
|
| 145 |
+
position: absolute;
|
| 146 |
+
top: 5px; left: 5px; right: 5px; bottom: 5px;
|
| 147 |
border-radius: 50%;
|
| 148 |
+
border: 2px solid transparent;
|
| 149 |
+
border-top: 2px solid var(--accent);
|
| 150 |
+
animation: spin 2s linear infinite reverse;
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
.loader-text {
|
| 154 |
+
margin-top: 2rem;
|
| 155 |
+
font-family: var(--font-code);
|
| 156 |
+
font-size: 0.9rem;
|
| 157 |
+
color: var(--text-muted);
|
| 158 |
+
animation: pulse 1.5s infinite;
|
| 159 |
}
|
| 160 |
|
| 161 |
+
/* --- Toast Notifications: The Messengers --- */
|
| 162 |
#toast-container {
|
| 163 |
position: fixed;
|
| 164 |
top: 20px;
|
|
|
|
| 166 |
z-index: 10000;
|
| 167 |
display: flex;
|
| 168 |
flex-direction: column;
|
| 169 |
+
gap: 12px;
|
| 170 |
}
|
| 171 |
+
|
| 172 |
.toast {
|
| 173 |
+
background: rgba(15, 16, 20, 0.95);
|
| 174 |
+
backdrop-filter: blur(10px);
|
| 175 |
+
border-left: 3px solid var(--primary);
|
| 176 |
padding: 1rem 1.5rem;
|
| 177 |
border-radius: var(--radius-sm);
|
| 178 |
+
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
|
| 179 |
display: flex;
|
| 180 |
align-items: center;
|
| 181 |
+
gap: 12px;
|
| 182 |
+
min-width: 320px;
|
| 183 |
+
transform: translateX(50px);
|
| 184 |
+
opacity: 0;
|
| 185 |
+
animation: toastEnter 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
|
| 186 |
+
border: 1px solid var(--border);
|
| 187 |
+
}
|
| 188 |
+
|
| 189 |
+
@keyframes toastEnter {
|
| 190 |
+
to { transform: translateX(0); opacity: 1; }
|
| 191 |
}
|
| 192 |
+
|
| 193 |
.toast.success { border-color: var(--accent); }
|
| 194 |
.toast.error { border-color: var(--danger); }
|
| 195 |
+
.toast.warning { border-color: var(--secondary); }
|
| 196 |
+
|
| 197 |
+
/* --- Header: The Bridge --- */
|
| 198 |
header {
|
| 199 |
+
background: rgba(5, 5, 5, 0.8);
|
| 200 |
+
backdrop-filter: blur(12px);
|
| 201 |
+
border-bottom: 1px solid var(--border);
|
| 202 |
+
padding: 1rem 2rem;
|
| 203 |
+
position: sticky;
|
| 204 |
+
top: 0;
|
| 205 |
+
z-index: 100;
|
| 206 |
}
|
| 207 |
|
| 208 |
+
.header-content {
|
| 209 |
+
max-width: 1800px;
|
| 210 |
+
margin: 0 auto;
|
| 211 |
display: flex;
|
| 212 |
justify-content: space-between;
|
| 213 |
align-items: center;
|
|
|
|
|
|
|
| 214 |
}
|
| 215 |
|
| 216 |
+
.brand {
|
|
|
|
|
|
|
|
|
|
| 217 |
display: flex;
|
| 218 |
align-items: center;
|
| 219 |
+
gap: 1rem;
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
.brand h1 {
|
| 223 |
+
font-size: 1.4rem;
|
| 224 |
+
font-weight: 700;
|
| 225 |
+
background: var(--gradient-text);
|
| 226 |
+
-webkit-background-clip: text;
|
| 227 |
+
-webkit-text-fill-color: transparent;
|
| 228 |
+
text-transform: uppercase;
|
| 229 |
+
letter-spacing: 0.05em;
|
| 230 |
}
|
| 231 |
|
| 232 |
+
.version-tag {
|
| 233 |
+
background: rgba(255,255,255,0.05);
|
| 234 |
+
border: 1px solid var(--border);
|
| 235 |
padding: 2px 8px;
|
| 236 |
+
border-radius: 4px;
|
| 237 |
font-size: 0.7rem;
|
| 238 |
+
font-family: var(--font-code);
|
| 239 |
+
color: var(--text-muted);
|
| 240 |
}
|
| 241 |
|
| 242 |
+
.user-controls {
|
| 243 |
display: flex;
|
| 244 |
align-items: center;
|
| 245 |
+
gap: 1.5rem;
|
| 246 |
}
|
| 247 |
|
| 248 |
+
.status-indicator {
|
| 249 |
+
display: flex;
|
| 250 |
+
align-items: center;
|
| 251 |
+
gap: 0.5rem;
|
| 252 |
+
font-size: 0.8rem;
|
| 253 |
+
color: var(--accent);
|
| 254 |
+
font-family: var(--font-code);
|
| 255 |
}
|
|
|
|
| 256 |
|
| 257 |
+
.status-dot {
|
| 258 |
+
width: 6px;
|
| 259 |
+
height: 6px;
|
| 260 |
+
background: var(--accent);
|
| 261 |
+
border-radius: 50%;
|
| 262 |
+
box-shadow: 0 0 8px var(--accent);
|
| 263 |
+
animation: pulse 2s infinite;
|
| 264 |
+
}
|
| 265 |
|
| 266 |
+
.profile-btn {
|
| 267 |
+
background: transparent;
|
| 268 |
+
border: 1px solid var(--border);
|
| 269 |
+
color: var(--text-main);
|
| 270 |
+
width: 36px;
|
| 271 |
+
height: 36px;
|
| 272 |
border-radius: 50%;
|
| 273 |
cursor: pointer;
|
| 274 |
display: flex;
|
| 275 |
align-items: center;
|
| 276 |
justify-content: center;
|
| 277 |
+
transition: all 0.3s;
|
|
|
|
| 278 |
}
|
|
|
|
| 279 |
|
| 280 |
+
.profile-btn:hover {
|
| 281 |
+
border-color: var(--primary);
|
| 282 |
+
box-shadow: var(--shadow-glow);
|
| 283 |
+
transform: scale(1.05);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 284 |
}
|
|
|
|
| 285 |
|
| 286 |
+
/* --- Main Layout --- */
|
| 287 |
+
.main-container {
|
| 288 |
+
max-width: 1800px;
|
| 289 |
+
margin: 2rem auto;
|
| 290 |
+
padding: 0 2rem;
|
| 291 |
+
flex: 1;
|
| 292 |
+
width: 100%;
|
| 293 |
display: flex;
|
| 294 |
+
flex-direction: column;
|
| 295 |
+
gap: 2rem;
|
|
|
|
| 296 |
}
|
|
|
|
|
|
|
| 297 |
|
| 298 |
+
/* --- Navigation: The Compass --- */
|
| 299 |
+
.nav-dock {
|
| 300 |
+
background: var(--bg-glass);
|
| 301 |
+
backdrop-filter: blur(16px);
|
| 302 |
+
border: 1px solid var(--border);
|
| 303 |
+
border-radius: var(--radius-lg);
|
| 304 |
+
padding: 0.5rem;
|
| 305 |
+
display: flex;
|
| 306 |
+
gap: 0.5rem;
|
| 307 |
position: relative;
|
| 308 |
+
overflow: hidden;
|
|
|
|
| 309 |
}
|
| 310 |
|
| 311 |
+
.nav-dock::before {
|
| 312 |
+
content: '';
|
| 313 |
+
position: absolute;
|
| 314 |
+
bottom: 0; left: 0; right: 0;
|
| 315 |
+
height: 1px;
|
| 316 |
+
background: linear-gradient(90deg, transparent, var(--primary), transparent);
|
| 317 |
+
opacity: 0.5;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 318 |
}
|
| 319 |
|
| 320 |
+
.nav-item {
|
| 321 |
flex: 1;
|
|
|
|
|
|
|
| 322 |
background: transparent;
|
| 323 |
+
border: none;
|
| 324 |
+
padding: 1rem;
|
| 325 |
color: var(--text-muted);
|
| 326 |
+
font-family: var(--font-head);
|
| 327 |
+
font-weight: 600;
|
| 328 |
+
font-size: 0.95rem;
|
| 329 |
cursor: pointer;
|
| 330 |
+
border-radius: var(--radius-md);
|
| 331 |
+
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
| 332 |
display: flex;
|
| 333 |
align-items: center;
|
| 334 |
justify-content: center;
|
| 335 |
+
gap: 0.75rem;
|
|
|
|
| 336 |
position: relative;
|
| 337 |
+
overflow: hidden;
|
| 338 |
}
|
| 339 |
|
| 340 |
+
.nav-item:hover {
|
| 341 |
+
color: var(--text-main);
|
| 342 |
+
background: rgba(255,255,255,0.03);
|
| 343 |
+
}
|
| 344 |
|
| 345 |
+
.nav-item.active {
|
| 346 |
+
background: var(--primary);
|
| 347 |
+
color: white;
|
| 348 |
+
box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
|
|
|
|
| 349 |
}
|
|
|
|
| 350 |
|
| 351 |
+
.nav-item i {
|
| 352 |
+
font-size: 1.1rem;
|
| 353 |
+
}
|
| 354 |
|
| 355 |
+
/* --- Content Sections --- */
|
| 356 |
+
.section-view {
|
| 357 |
+
display: none;
|
| 358 |
+
animation: fadeUp 0.5s ease-out forwards;
|
| 359 |
+
}
|
| 360 |
|
| 361 |
+
.section-view.active {
|
| 362 |
+
display: grid;
|
| 363 |
+
}
|
|
|
|
| 364 |
|
| 365 |
+
/* --- Cards: The Artifacts --- */
|
| 366 |
.card {
|
| 367 |
+
background: var(--bg-panel);
|
|
|
|
| 368 |
border: 1px solid var(--border);
|
| 369 |
+
border-radius: var(--radius-lg);
|
| 370 |
padding: 1.5rem;
|
| 371 |
display: flex;
|
| 372 |
flex-direction: column;
|
| 373 |
+
position: relative;
|
| 374 |
+
overflow: hidden;
|
| 375 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
| 376 |
+
}
|
| 377 |
+
|
| 378 |
+
.card:hover {
|
| 379 |
+
border-color: rgba(255,255,255,0.15);
|
| 380 |
+
box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5);
|
| 381 |
}
|
| 382 |
|
| 383 |
.card-header {
|
| 384 |
display: flex;
|
| 385 |
justify-content: space-between;
|
| 386 |
align-items: center;
|
| 387 |
+
margin-bottom: 1.5rem;
|
| 388 |
+
padding-bottom: 1rem;
|
| 389 |
border-bottom: 1px solid var(--border);
|
| 390 |
}
|
| 391 |
|
| 392 |
.card-title {
|
| 393 |
font-size: 1.1rem;
|
| 394 |
font-weight: 700;
|
| 395 |
+
color: var(--text-main);
|
| 396 |
+
display: flex;
|
| 397 |
+
align-items: center;
|
| 398 |
+
gap: 0.75rem;
|
| 399 |
+
}
|
| 400 |
+
|
| 401 |
+
.card-title i {
|
| 402 |
+
color: var(--primary);
|
| 403 |
+
}
|
| 404 |
+
|
| 405 |
+
/* --- Code Editor: The Forge --- */
|
| 406 |
+
.editor-container {
|
| 407 |
+
flex: 1;
|
| 408 |
+
display: flex;
|
| 409 |
+
flex-direction: column;
|
| 410 |
+
background: #0d0d0d;
|
| 411 |
+
border: 1px solid var(--border);
|
| 412 |
+
border-radius: var(--radius-md);
|
| 413 |
+
overflow: hidden;
|
| 414 |
+
position: relative;
|
| 415 |
+
}
|
| 416 |
+
|
| 417 |
+
.editor-toolbar {
|
| 418 |
+
background: #1a1a1a;
|
| 419 |
+
padding: 0.5rem 1rem;
|
| 420 |
display: flex;
|
| 421 |
+
justify-content: space-between;
|
| 422 |
align-items: center;
|
| 423 |
+
border-bottom: 1px solid var(--border);
|
| 424 |
+
}
|
| 425 |
+
|
| 426 |
+
.editor-main {
|
| 427 |
+
flex: 1;
|
| 428 |
+
position: relative;
|
| 429 |
+
display: flex;
|
| 430 |
+
min-height: 500px;
|
| 431 |
+
}
|
| 432 |
+
|
| 433 |
+
.line-numbers {
|
| 434 |
+
width: 45px;
|
| 435 |
+
background: #0a0a0a;
|
| 436 |
+
color: #4b5563;
|
| 437 |
+
text-align: right;
|
| 438 |
+
padding: 1rem 0.5rem;
|
| 439 |
+
font-family: var(--font-code);
|
| 440 |
+
font-size: 0.9rem;
|
| 441 |
+
line-height: 1.5;
|
| 442 |
+
border-right: 1px solid var(--border);
|
| 443 |
+
user-select: none;
|
| 444 |
+
}
|
| 445 |
+
|
| 446 |
+
textarea.code-input {
|
| 447 |
+
flex: 1;
|
| 448 |
+
background: transparent;
|
| 449 |
+
color: #e5e7eb;
|
| 450 |
+
border: none;
|
| 451 |
+
padding: 1rem;
|
| 452 |
+
font-family: var(--font-code);
|
| 453 |
+
font-size: 0.9rem;
|
| 454 |
+
line-height: 1.5;
|
| 455 |
+
resize: none;
|
| 456 |
+
outline: none;
|
| 457 |
+
}
|
| 458 |
+
|
| 459 |
+
/* --- Output/Terminal --- */
|
| 460 |
+
.terminal-window {
|
| 461 |
+
background: #0a0a0a;
|
| 462 |
+
border: 1px solid var(--border);
|
| 463 |
+
border-radius: var(--radius-md);
|
| 464 |
+
font-family: var(--font-code);
|
| 465 |
+
font-size: 0.85rem;
|
| 466 |
+
overflow-y: auto;
|
| 467 |
+
max-height: 400px;
|
| 468 |
+
padding: 1rem;
|
| 469 |
+
color: #d1d5db;
|
| 470 |
+
}
|
| 471 |
+
|
| 472 |
+
.log-entry {
|
| 473 |
+
margin-bottom: 0.5rem;
|
| 474 |
+
display: flex;
|
| 475 |
gap: 0.5rem;
|
| 476 |
}
|
| 477 |
|
| 478 |
+
.log-time { color: var(--text-dim); }
|
| 479 |
+
.log-type.info { color: var(--info); }
|
| 480 |
+
.log-type.success { color: var(--accent); }
|
| 481 |
+
.log-type.warn { color: var(--secondary); }
|
| 482 |
+
|
| 483 |
+
/* --- Buttons: The Triggers --- */
|
| 484 |
+
.btn {
|
| 485 |
+
display: inline-flex;
|
| 486 |
+
align-items: center;
|
| 487 |
+
justify-content: center;
|
| 488 |
+
gap: 0.5rem;
|
| 489 |
+
padding: 0.75rem 1.25rem;
|
| 490 |
+
border-radius: var(--radius-sm);
|
| 491 |
+
font-weight: 600;
|
| 492 |
+
font-size: 0.9rem;
|
| 493 |
+
cursor: pointer;
|
| 494 |
+
transition: all 0.2s;
|
| 495 |
+
border: none;
|
| 496 |
+
font-family: var(--font-head);
|
| 497 |
+
text-transform: uppercase;
|
| 498 |
+
letter-spacing: 0.05em;
|
| 499 |
+
}
|
| 500 |
+
|
| 501 |
+
.btn-primary {
|
| 502 |
+
background: var(--gradient-odyssey);
|
| 503 |
+
color: white;
|
| 504 |
+
box-shadow: var(--shadow-glow);
|
| 505 |
+
border: 1px solid rgba(139, 92, 246, 0.3);
|
| 506 |
+
}
|
| 507 |
+
|
| 508 |
+
.btn-primary:hover {
|
| 509 |
+
transform: translateY(-2px);
|
| 510 |
+
box-shadow: 0 0 25px rgba(139, 92, 246, 0.6);
|
| 511 |
+
}
|
| 512 |
+
|
| 513 |
+
.btn-secondary {
|
| 514 |
+
background: transparent;
|
| 515 |
+
border: 1px solid var(--border);
|
| 516 |
+
color: var(--text-main);
|
| 517 |
+
}
|
| 518 |
+
|
| 519 |
+
.btn-secondary:hover {
|
| 520 |
+
background: rgba(255,255,255,0.05);
|
| 521 |
+
border-color: var(--text-muted);
|
| 522 |
+
}
|
| 523 |
+
|
| 524 |
+
.btn-group {
|
| 525 |
+
display: flex;
|
| 526 |
+
gap: 1rem;
|
| 527 |
+
margin-top: 1.5rem;
|
| 528 |
+
}
|
| 529 |
+
|
| 530 |
+
/* --- Forms --- */
|
| 531 |
+
.form-group {
|
| 532 |
+
margin-bottom: 1.25rem;
|
| 533 |
+
}
|
| 534 |
+
|
| 535 |
+
label {
|
| 536 |
+
display: block;
|
| 537 |
+
font-size: 0.8rem;
|
| 538 |
+
font-weight: 600;
|
| 539 |
+
color: var(--text-muted);
|
| 540 |
+
margin-bottom: 0.5rem;
|
| 541 |
+
text-transform: uppercase;
|
| 542 |
+
letter-spacing: 0.05em;
|
| 543 |
+
}
|
| 544 |
+
|
| 545 |
+
input, select, textarea {
|
| 546 |
width: 100%;
|
| 547 |
+
background: rgba(0,0,0,0.3);
|
| 548 |
border: 1px solid var(--border);
|
| 549 |
+
border-radius: var(--radius-sm);
|
| 550 |
+
padding: 0.75rem 1rem;
|
|
|
|
|
|
|
| 551 |
color: var(--text-main);
|
| 552 |
+
font-family: var(--font-body);
|
| 553 |
+
transition: all 0.3s;
|
| 554 |
}
|
| 555 |
|
| 556 |
input:focus, select:focus, textarea:focus {
|
| 557 |
outline: none;
|
| 558 |
border-color: var(--primary);
|
| 559 |
+
box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
|
| 560 |
}
|
| 561 |
|
| 562 |
+
/* --- Analytics Bars --- */
|
| 563 |
+
.bar-chart {
|
| 564 |
+
display: flex;
|
| 565 |
+
flex-direction: column;
|
| 566 |
+
gap: 1rem;
|
|
|
|
| 567 |
}
|
| 568 |
+
|
| 569 |
+
.bar-item {
|
| 570 |
+
display: flex;
|
| 571 |
+
flex-direction: column;
|
| 572 |
+
gap: 0.25rem;
|
| 573 |
}
|
| 574 |
|
| 575 |
+
.bar-label {
|
| 576 |
+
display: flex;
|
| 577 |
+
justify-content: space-between;
|
| 578 |
+
font-size: 0.85rem;
|
| 579 |
+
color: var(--text-muted);
|
| 580 |
+
}
|
| 581 |
+
|
| 582 |
+
.bar-track {
|
| 583 |
+
height: 6px;
|
| 584 |
+
background: #1f2937;
|
| 585 |
+
border-radius: 3px;
|
| 586 |
+
overflow: hidden;
|
| 587 |
+
}
|
| 588 |
+
|
| 589 |
+
.bar-fill {
|
| 590 |
+
height: 100%;
|
| 591 |
+
background: var(--gradient-odyssey);
|
| 592 |
+
width: 0%;
|
| 593 |
+
transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
|
| 594 |
+
border-radius: 3px;
|
| 595 |
+
}
|
| 596 |
+
|
| 597 |
+
/* --- Team Grid --- */
|
| 598 |
+
.team-grid {
|
| 599 |
+
display: grid;
|
| 600 |
+
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
| 601 |
+
gap: 1.5rem;
|
| 602 |
+
}
|
| 603 |
+
|
| 604 |
+
.member-card {
|
| 605 |
+
background: rgba(255,255,255,0.02);
|
| 606 |
+
padding: 1.5rem;
|
| 607 |
+
border-radius: var(--radius-md);
|
| 608 |
+
border: 1px solid var(--border);
|
| 609 |
+
display: flex;
|
| 610 |
+
align-items: center;
|
| 611 |
+
gap: 1rem;
|
| 612 |
+
transition: all 0.3s;
|
| 613 |
+
}
|
| 614 |
+
|
| 615 |
+
.member-card:hover {
|
| 616 |
+
background: rgba(255,255,255,0.05);
|
| 617 |
+
transform: translateY(-3px);
|
| 618 |
+
border-color: var(--primary);
|
| 619 |
+
}
|
| 620 |
+
|
| 621 |
+
.avatar {
|
| 622 |
+
width: 48px;
|
| 623 |
+
height: 48px;
|
| 624 |
+
border-radius: 50%;
|
| 625 |
+
background: linear-gradient(135deg, #333, #111);
|
| 626 |
+
display: flex;
|
| 627 |
+
align-items: center;
|
| 628 |
+
justify-content: center;
|
| 629 |
+
font-weight: 700;
|
| 630 |
+
color: white;
|
| 631 |
+
border: 2px solid var(--border);
|
| 632 |
+
}
|
| 633 |
+
|
| 634 |
+
/* --- Animations --- */
|
| 635 |
+
@keyframes spin { to { transform: rotate(360deg); } }
|
| 636 |
+
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
|
| 637 |
+
@keyframes fadeUp {
|
| 638 |
+
from { opacity: 0; transform: translateY(20px); }
|
| 639 |
+
to { opacity: 1; transform: translateY(0); }
|
| 640 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 641 |
|
| 642 |
/* --- Footer --- */
|
| 643 |
+
footer {
|
| 644 |
+
margin-top: auto;
|
| 645 |
+
padding: 2rem;
|
| 646 |
+
border-top: 1px solid var(--border);
|
| 647 |
+
text-align: center;
|
| 648 |
+
color: var(--text-dim);
|
| 649 |
+
font-size: 0.85rem;
|
| 650 |
+
}
|
| 651 |
+
|
| 652 |
+
footer a {
|
| 653 |
+
color: var(--primary);
|
| 654 |
+
text-decoration: none;
|
| 655 |
+
transition: color 0.2s;
|
| 656 |
}
|
| 657 |
+
footer a:hover { color: white; text-decoration: underline; }
|
|
|
|
|
|
|
| 658 |
|
| 659 |
+
/* --- Grid Layouts --- */
|
| 660 |
+
.layout-split {
|
| 661 |
+
display: grid;
|
| 662 |
+
grid-template-columns: 1.2fr 0.8fr;
|
| 663 |
+
gap: 2rem;
|
| 664 |
+
}
|
| 665 |
+
|
| 666 |
+
.layout-dashboard {
|
| 667 |
+
display: grid;
|
| 668 |
+
grid-template-columns: repeat(4, 1fr);
|
| 669 |
+
gap: 1.5rem;
|
| 670 |
+
}
|
| 671 |
|
| 672 |
+
.layout-form {
|
| 673 |
+
display: grid;
|
| 674 |
+
grid-template-columns: 1fr 1fr;
|
| 675 |
+
gap: 2rem;
|
| 676 |
+
}
|
| 677 |
+
|
| 678 |
+
@media (max-width: 1024px) {
|
| 679 |
+
.layout-split, .layout-form { grid-template-columns: 1fr; }
|
| 680 |
+
.layout-dashboard { grid-template-columns: repeat(2, 1fr); }
|
| 681 |
+
}
|
| 682 |
</style>
|
| 683 |
</head>
|
| 684 |
|
| 685 |
<body>
|
| 686 |
|
| 687 |
+
<!-- Loading Screen: The Initialization -->
|
| 688 |
<div id="loading-screen">
|
| 689 |
+
<div class="loader-ring"></div>
|
| 690 |
+
<div class="loader-text" id="loaderText">INITIALIZING NEURAL LINK...</div>
|
|
|
|
|
|
|
|
|
|
| 691 |
</div>
|
| 692 |
|
| 693 |
<!-- Toast Container -->
|
| 694 |
<div id="toast-container"></div>
|
| 695 |
|
| 696 |
<header>
|
| 697 |
+
<div class="header-content">
|
| 698 |
+
<div class="brand">
|
| 699 |
+
<i class="fas fa-cube fa-lg" style="color: var(--primary);"></i>
|
| 700 |
+
<div>
|
| 701 |
+
<h1>Studio Engine</h1>
|
| 702 |
+
<span class="version-tag">v3.0 OMEGA</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 703 |
</div>
|
| 704 |
</div>
|
|
|
|
| 705 |
|
| 706 |
+
<div class="user-controls">
|
| 707 |
+
<div class="status-indicator">
|
| 708 |
+
<div class="status-dot"></div>
|
| 709 |
+
<span>SYSTEM OPTIMAL</span>
|
| 710 |
+
</div>
|
| 711 |
+
|
| 712 |
+
<button class="profile-btn" onclick="toggleUserMenu()">
|
| 713 |
+
<i class="fas fa-user-astronaut"></i>
|
| 714 |
+
</button>
|
| 715 |
</div>
|
| 716 |
</div>
|
| 717 |
</header>
|
| 718 |
|
| 719 |
+
<div class="main-container">
|
| 720 |
+
|
| 721 |
+
<!-- Navigation -->
|
| 722 |
+
<nav class="nav-dock">
|
| 723 |
+
<button class="nav-item active" onclick="switchTab('studio')">
|
| 724 |
+
<i class="fas fa-code"></i> <span>Code Forge</span>
|
| 725 |
</button>
|
| 726 |
+
<button class="nav-item" onclick="switchTab('projects')">
|
| 727 |
+
<i class="fas fa-layer-group"></i> <span>Projects</span>
|
| 728 |
</button>
|
| 729 |
+
<button class="nav-item" onclick="switchTab('analytics')">
|
| 730 |
+
<i class="fas fa-chart-network"></i> <span>Analytics</span>
|
| 731 |
</button>
|
| 732 |
+
<button class="nav-item" onclick="switchTab('team')">
|
| 733 |
+
<i class="fas fa-users-viewfinder"></i> <span>Collective</span>
|
| 734 |
</button>
|
| 735 |
</nav>
|
| 736 |
|
| 737 |
<!-- TAB 1: Code Studio -->
|
| 738 |
+
<section id="studio" class="section-view active layout-split">
|
| 739 |
+
<!-- Editor Column -->
|
| 740 |
+
<div class="card">
|
| 741 |
+
<div class="card-header">
|
| 742 |
+
<span class="card-title"><i class="fas fa-terminal"></i> Source Code</span>
|
| 743 |
+
<select id="languageSelect" style="width: auto; padding: 0.4rem 2rem 0.4rem 1rem;">
|
| 744 |
+
<option value="python">Python</option>
|
| 745 |
+
<option value="javascript">JavaScript</option>
|
| 746 |
+
<option value="rust">Rust</option>
|
| 747 |
+
</select>
|
| 748 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 749 |
|
| 750 |
+
<div class="editor-container">
|
| 751 |
+
<div class="editor-toolbar">
|
| 752 |
+
<span style="font-size: 0.8rem; color: var(--text-dim);"><i class="fas fa-file-code"></i> main.py</span>
|
| 753 |
+
<div style="font-size: 0.8rem; color: var(--text-dim);">UTF-8</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 754 |
</div>
|
| 755 |
+
<div class="editor-main">
|
| 756 |
+
<div class="line-numbers" id="lineNumbers">1</div>
|
| 757 |
+
<textarea id="codeInput" class="code-input" spellcheck="false"
|
| 758 |
+
placeholder="# Begin your odyssey here..."
|
| 759 |
+
oninput="updateLineNumbers()"></textarea>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 760 |
</div>
|
| 761 |
</div>
|
| 762 |
|
| 763 |
+
<div class="form-group" style="margin-top: 1.5rem;">
|
| 764 |
+
<label>AI Model Selection</label>
|
| 765 |
+
<select id="aiModel">
|
| 766 |
+
<option value="gpt-4-turbo">GPT-4 Turbo (Architect)</option>
|
| 767 |
+
<option value="claude-3-opus">Claude 3 Opus (Visionary)</option>
|
| 768 |
+
<option value="deepseek-coder">DeepSeek Coder V2 (Engineer)</option>
|
| 769 |
+
</select>
|
| 770 |
+
</div>
|
| 771 |
|
| 772 |
+
<div class="btn-group">
|
| 773 |
+
<button class="btn btn-primary" style="flex: 2;" onclick="runAnalysis('analyze')">
|
| 774 |
+
<i class="fas fa-microscope"></i> Analyze
|
| 775 |
+
</button>
|
| 776 |
+
<button class="btn btn-secondary" style="flex: 1;" onclick="runAnalysis('optimize')">
|
| 777 |
+
<i class="fas fa-bolt"></i> Optimize
|
| 778 |
+
</button>
|
| 779 |
+
<button class="btn btn-secondary" style="flex: 1;" onclick="runAnalysis('secure')">
|
| 780 |
+
<i class="fas fa-shield-halved"></i> Secure
|
| 781 |
+
</button>
|
| 782 |
+
</div>
|
| 783 |
+
</div>
|
| 784 |
|
| 785 |
+
<!-- Output Column -->
|
| 786 |
+
<div class="card">
|
| 787 |
+
<div class="card-header">
|
| 788 |
+
<span class="card-title"><i class="fas fa-satellite-dish"></i> Output Stream</span>
|
| 789 |
+
<div style="display: flex; gap: 0.5rem;">
|
| 790 |
+
<button class="btn btn-secondary" style="padding: 0.25rem 0.75rem; font-size: 0.75rem;" onclick="clearTerminal()">
|
| 791 |
+
Clear
|
| 792 |
</button>
|
| 793 |
</div>
|
|
|
|
| 794 |
</div>
|
|
|
|
|
|
|
| 795 |
|
| 796 |
+
<div id="terminalOutput" class="terminal-window">
|
| 797 |
+
<div class="log-entry">
|
| 798 |
+
<span class="log-time">[SYSTEM]</span>
|
| 799 |
+
<span class="log-type info">Ready for input. Awaiting quantum synchronization...</span>
|
|
|
|
|
|
|
| 800 |
</div>
|
| 801 |
+
</div>
|
| 802 |
|
| 803 |
+
<div class="card-header" style="margin-top: 1.5rem;">
|
| 804 |
+
<span class="card-title"><i class="fas fa-scroll"></i> Processed Artifact</span>
|
| 805 |
+
<button class="btn btn-secondary" style="padding: 0.25rem 0.75rem; font-size: 0.8rem;" onclick="copyOutput()">
|
| 806 |
+
<i class="fas fa-copy"></i> Copy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 807 |
</button>
|
| 808 |
</div>
|
| 809 |
+
<div id="codeOutput" class="terminal-window" style="background: #050505; border-color: #333;">
|
| 810 |
+
// Results manifest here...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 811 |
</div>
|
| 812 |
</div>
|
| 813 |
</section>
|
| 814 |
|
| 815 |
+
<!-- TAB 2: Projects -->
|
| 816 |
+
<section id="projects" class="section-view layout-form">
|
| 817 |
<div class="card">
|
| 818 |
<div class="card-header">
|
| 819 |
+
<span class="card-title"><i class="fas fa-plus"></i> Incept Project</span>
|
|
|
|
| 820 |
</div>
|
| 821 |
+
<div class="form-group">
|
| 822 |
+
<label>Project Designation</label>
|
| 823 |
+
<input type="text" id="projName" placeholder="e.g. Project Ouroboros">
|
| 824 |
+
</div>
|
| 825 |
+
<div class="form-group">
|
| 826 |
+
<label>Framework</label>
|
| 827 |
+
<select id="projTemplate">
|
| 828 |
+
<option value="enterprise_web">Next.js Enterprise</option>
|
| 829 |
+
<option value="microservice">Go Microservice</option>
|
| 830 |
+
<option value="python_pkg">Python Library</option>
|
| 831 |
+
</select>
|
| 832 |
+
</div>
|
| 833 |
+
<div class="form-group">
|
| 834 |
+
<label>Manifest</label>
|
| 835 |
+
<textarea id="projDesc" rows="4" placeholder="Describe the architecture..."></textarea>
|
| 836 |
+
</div>
|
| 837 |
+
<button class="btn btn-primary" style="width: 100%; margin-top: 1rem;" onclick="createProject()">
|
| 838 |
+
<i class="fas fa-rocket"></i> Initialize
|
| 839 |
+
</button>
|
| 840 |
+
</div>
|
| 841 |
+
|
| 842 |
+
<div class="card">
|
| 843 |
+
<div class="card-header">
|
| 844 |
+
<span class="card-title"><i class="fas fa-list-tree"></i> Active Operations</span>
|
| 845 |
+
</div>
|
| 846 |
+
<div id="projectDashboard" class="terminal-window" style="max-height: 100%; background: transparent; border: none; padding: 0;">
|
| 847 |
+
<div style="text-align: center; padding-top: 4rem; color: var(--text-dim);">
|
| 848 |
+
<i class="fas fa-cube fa-3x" style="margin-bottom: 1rem; opacity: 0.2;"></i>
|
| 849 |
+
<p>No active constructs found.</p>
|
| 850 |
</div>
|
| 851 |
</div>
|
| 852 |
</div>
|
| 853 |
+
</section>
|
| 854 |
|
| 855 |
+
<!-- TAB 3: Analytics -->
|
| 856 |
+
<section id="analytics" class="section-view">
|
| 857 |
+
<div class="layout-dashboard">
|
| 858 |
<div class="card">
|
| 859 |
+
<div class="card-header"><span class="card-title">Compute</span></div>
|
| 860 |
+
<div style="font-size: 2.5rem; font-weight: 700; color: var(--primary);">98.4%</div>
|
| 861 |
+
<div style="color: var(--text-muted); font-size: 0.85rem; margin-top: 0.5rem;">Efficiency Rating</div>
|
|
|
|
|
|
|
|
|
|
| 862 |
</div>
|
| 863 |
+
<div class="card">
|
| 864 |
+
<div class="card-header"><span class="card-title">Requests</span></div>
|
| 865 |
+
<div style="font-size: 2.5rem; font-weight: 700; color: var(--secondary);">2.4M</div>
|
| 866 |
+
<div style="color: var(--text-muted); font-size: 0.85rem; margin-top: 0.5rem;">Total Served</div>
|
| 867 |
+
</div>
|
| 868 |
+
<div class="card">
|
| 869 |
+
<div class="card-header"><span class="card-title">Latency</span></div>
|
| 870 |
+
<div style="font-size: 2.5rem; font-weight: 700; color: var(--accent);">12ms</div>
|
| 871 |
+
<div style="color: var(--text-muted); font-size: 0.85rem; margin-top: 0.5rem;">Avg Response</div>
|
| 872 |
+
</div>
|
| 873 |
+
<div class="card">
|
| 874 |
+
<div class="card-header"><span class="card-title">Uptime</span></div>
|
| 875 |
+
<div style="font-size: 2.5rem; font-weight: 700; color: white;">99.99%</div>
|
| 876 |
+
<div style="color: var(--text-muted); font-size: 0.85rem; margin-top: 0.5rem;">Global Availability</div>
|
| 877 |
+
</div>
|
| 878 |
+
</div>
|
| 879 |
+
|
| 880 |
+
<div class="layout-split" style="margin-top: 2rem;">
|
| 881 |
<div class="card">
|
| 882 |
<div class="card-header">
|
| 883 |
+
<span class="card-title">Model Performance Metrics</span>
|
| 884 |
</div>
|
| 885 |
+
<div class="bar-chart">
|
| 886 |
+
<div class="bar-item">
|
| 887 |
+
<div class="bar-label"><span>GPT-4 Turbo</span><span>98%</span></div>
|
| 888 |
+
<div class="bar-track"><div class="bar-fill" style="width: 98%;"></div></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 889 |
</div>
|
| 890 |
+
<div class="bar-item">
|
| 891 |
+
<div class="bar-label"><span>Claude 3 Opus</span><span>95%</span></div>
|
| 892 |
+
<div class="bar-track"><div class="bar-fill" style="width: 95%; background: var(--secondary);"></div></div>
|
| 893 |
+
</div>
|
| 894 |
+
<div class="bar-item">
|
| 895 |
+
<div class="bar-label"><span>DeepSeek Coder</span><span>92%</span></div>
|
| 896 |
+
<div class="bar-track"><div class="bar-fill" style="width: 92%; background: var(--accent);"></div></div>
|
| 897 |
</div>
|
| 898 |
</div>
|
| 899 |
</div>
|
| 900 |
+
|
| 901 |
+
<div class="card">
|
| 902 |
+
<div class="card-header"><span class="card-title">System Logs</span></div>
|
| 903 |
+
<div class="terminal-window" id="analyticsLogs" style="height: 200px;">
|
| 904 |
+
<!-- Populated by JS -->
|
| 905 |
+
</div>
|
| 906 |
+
</div>
|
| 907 |
</div>
|
| 908 |
</section>
|
| 909 |
|
| 910 |
<!-- TAB 4: Team -->
|
| 911 |
+
<section id="team" class="section-view">
|
| 912 |
<div class="card">
|
| 913 |
<div class="card-header">
|
| 914 |
+
<span class="card-title"><i class="fas fa-users-gear"></i> Operatives</span>
|
| 915 |
<button class="btn btn-primary" style="padding: 0.4rem 1rem; font-size: 0.8rem;">
|
| 916 |
+
<i class="fas fa-plus"></i> Recruit
|
| 917 |
</button>
|
| 918 |
</div>
|
| 919 |
<div class="team-grid">
|
| 920 |
+
<div class="member-card">
|
| 921 |
+
<div class="avatar" style="background: var(--gradient-odyssey);">A</div>
|
| 922 |
<div>
|
| 923 |
+
<div style="font-weight: 700; color: white;">Admin Prime</div>
|
| 924 |
+
<div style="font-size: 0.8rem; color: var(--accent);">Architect • Online</div>
|
| 925 |
</div>
|
| 926 |
</div>
|
| 927 |
+
<div class="member-card">
|
| 928 |
+
<div class="avatar" style="background: #333; border-color: var(--secondary);">JS</div>
|
| 929 |
<div>
|
| 930 |
+
<div style="font-weight: 700; color: white;">Janus Smith</div>
|
| 931 |
+
<div style="font-size: 0.8rem; color: var(--text-dim);">Engineer • Away</div>
|
| 932 |
</div>
|
| 933 |
</div>
|
| 934 |
+
<div class="member-card">
|
| 935 |
+
<div class="avatar" style="background: #333; border-color: var(--danger);">MK</div>
|
| 936 |
<div>
|
| 937 |
+
<div style="font-weight: 700; color: white;">Mike K.</div>
|
| 938 |
+
<div style="font-size: 0.8rem; color: var(--text-dim);">Security • Offline</div>
|
| 939 |
</div>
|
| 940 |
</div>
|
| 941 |
+
<div class="member-card" style="border-style: dashed; justify-content: center; color: var(--text-muted); cursor: pointer;">
|
| 942 |
+
<i class="fas fa-plus"></i> Add New Operative
|
| 943 |
+
</div>
|
| 944 |
</div>
|
| 945 |
</div>
|
| 946 |
</section>
|
| 947 |
|
| 948 |
</div>
|
| 949 |
|
| 950 |
+
<footer>
|
| 951 |
+
<p>© 2026 Studio Workflow Engine Enterprise. Built with <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank">anycoder</a>.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 952 |
</footer>
|
| 953 |
|
| 954 |
<!-- Scripts -->
|
| 955 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js"></script>
|
| 956 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-python.min.js"></script>
|
| 957 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|