Refactor UI auth flow, remove uploads app files

Rework client UI state: move and update showLogin/showApp in public/app.js to explicitly set display styles when toggling screens and ensure user info and file load on app show. Remove the theme toggle from public/index.html and simplify CSS by collapsing color variable definitions (dark-theme-focused) in public/style.css. Add a VS Code workspace file. Remove the old uploads/Think app (Dockerfile, package.json, server.js and associated lockfile).
This commit is contained in:
Toni
2026-02-09 11:08:59 +01:00
parent 9f23fd42fa
commit 3fc28af508
8 changed files with 31 additions and 2296 deletions

View File

@@ -1,17 +1,4 @@
:root {
--bg-color: #f8f9fa;
--card-bg: #ffffff;
--text-color: #1f2937;
--text-secondary: #6b7280;
--primary-color: #3b82f6;
--primary-hover: #2563eb;
--border-color: #e5e7eb;
--danger-color: #ef4444;
--modal-bg: rgba(0, 0, 0, 0.8);
}
/* Dark Mode Variables */
[data-theme="dark"] {
--bg-color: #111827;
--card-bg: #1f2937;
--text-color: #f9fafb;
@@ -19,22 +6,10 @@
--primary-color: #60a5fa;
--primary-hover: #3b82f6;
--border-color: #374151;
--danger-color: #ef4444;
--modal-bg: rgba(0, 0, 0, 0.9);
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--bg-color: #111827;
--card-bg: #1f2937;
--text-color: #f9fafb;
--text-secondary: #9ca3af;
--primary-color: #60a5fa;
--primary-hover: #3b82f6;
--border-color: #374151;
--modal-bg: rgba(0, 0, 0, 0.9);
}
}
body {
font-family: 'Inter', sans-serif;
background-color: var(--bg-color);