mirror of
https://github.com/Dasemu/remote-mcp-manager.git
synced 2026-11-26 23:36:31 +00:00
feat: redesign admin panel as a modern dashboard
Replace the unstyled apps/web UI with a cohesive dark/light "ops console" design: sidebar shell, semantic status badges for all 8 installation states, a real data table for the installation list, a modal install wizard, and a sectioned detail view (access, configuration, actions, build log) with copy-to-clipboard for the public URL and bearer token. Styling is plain CSS with custom-property design tokens (no new runtime dependency); Inter + JetBrains Mono loaded via Google Fonts. All existing API calls and behavior are preserved unchanged. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fb59d422a2
commit
86b365ac52
10 files changed
+1244
-226
No files matched your search
@@ -15,14 +15,14 @@ export function App() {
|
||||
if (authenticated === null) return null;
|
||||
if (!authenticated) return <Login onLoggedIn={() => setAuthenticated(true)} />;
|
||||
|
||||
const onLoggedOut = () => setAuthenticated(false);
|
||||
|
||||
return (
|
||||
<BrowserRouter>
|
||||
<div style={{ maxWidth: 900, margin: "0 auto", padding: 16, fontFamily: "sans-serif" }}>
|
||||
<Routes>
|
||||
<Route path="/" element={<InstallationList />} />
|
||||
<Route path="/installations/:id" element={<InstallationDetail />} />
|
||||
</Routes>
|
||||
</div>
|
||||
<Routes>
|
||||
<Route path="/" element={<InstallationList onLoggedOut={onLoggedOut} />} />
|
||||
<Route path="/installations/:id" element={<InstallationDetail onLoggedOut={onLoggedOut} />} />
|
||||
</Routes>
|
||||
</BrowserRouter>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user