Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

docs: mark FTP/Monitoring/ServerDetail/ServiceDetail+Templates body restyles done

Juan Denis7e272492ef88
diff --git a/docs/REDESIGN_MAP.md b/docs/REDESIGN_MAP.md
index 03e6675a..0bc0e2d5 100644
--- a/docs/REDESIGN_MAP.md
+++ b/docs/REDESIGN_MAP.md
@@ -112,18 +112,18 @@ Effort: S/M/L/XL. Nature: **Restyle** (look only) · **+IA** (layout/tab/route r
|---|---|---|---|---|---|---|
| 0 | **Design system + chrome** | L | Restyle+IA | `_variables.scss`, `_theme-variables.scss`, `layout/_sidebar.scss`, `Sidebar.jsx`, `sidebarItems.js`, `index.html` | shared primitives (§3) | none (badge data minor) |
| 1 | **Dashboard** | M | Restyle+IA | `pages/Dashboard.jsx`, `MetricsGraph.jsx`, `pages/_dashboard.scss` | ServerSwitcher, ActivityFeed | activity-feed source (maybe) | **✅ pass 1 done** — metric tiles → `MetricCard`, apps status → `Pill`, chart retinted to new palette (kept the real `MetricsGraph` intact), dotsep meta. Deferred: server-switcher dropdown + activity feed. |
-| 2 | **Servers list + detail** | L | Restyle+IA | `pages/Servers.jsx`, `pages/ServerDetail.jsx`, `pages/_servers.scss` | — (reuse MetricsGraph) | reboot cmd, per-server SSH launch; region/load = mock-only | **✅ top-bar migrated** — built shared `SERVER_TABS`; `PageTopbar` (Servers/Agent Fleet/Fleet Monitor/Cloud/Config Templates) added to all 5 pages; **sidebar sub-menu removed**. Main Servers page: top bar added ABOVE the ops workspace — **fleet rail / groups / workbar / bulk / pairing fully preserved** (no over-trim). Sub-page headers swapped to PageTopbar (actions kept). **List body restyled** — the existing `.servers-table` (already capable: bulk-select/group/telemetry/actions) got the demo's dense look: mono uppercase headers + thin token-colored gauges (CPU=accent-bright, RAM=cyan, Disk=green). Region/Load columns omitted (mock-only, no backend). **Follow-up:** ServerDetail tabs body. |
+| 2 | **Servers list + detail** | L | Restyle+IA | `pages/Servers.jsx`, `pages/ServerDetail.jsx`, `pages/_servers.scss` | — (reuse MetricsGraph) | reboot cmd, per-server SSH launch; region/load = mock-only | **✅ top-bar migrated** — built shared `SERVER_TABS`; `PageTopbar` (Servers/Agent Fleet/Fleet Monitor/Cloud/Config Templates) added to all 5 pages; **sidebar sub-menu removed**. Main Servers page: top bar added ABOVE the ops workspace — **fleet rail / groups / workbar / bulk / pairing fully preserved** (no over-trim). Sub-page headers swapped to PageTopbar (actions kept). **List body restyled** — the existing `.servers-table` (already capable: bulk-select/group/telemetry/actions) got the demo's dense look: mono uppercase headers + thin token-colored gauges (CPU=accent-bright, RAM=cyan, Disk=green). Region/Load columns omitted (mock-only, no backend). **✅ ServerDetail tabs restyled** — header → demo detail-header (surface gradient + accent wash, mono dotsep meta, `Pill` status); overview KPI tiles → spec-card look with thin `Gauge` bars (CPU/RAM/Disk = accent-bright/cyan/green); tab strip → accent underline; data/services/packages tables → dense `sk-dtable` spec (scoped fixes over their shadcn-var partials); docker/cron/cloudflared tabs reskinned; dead blocks dropped. List/ops styles untouched. Deferred: TokenModal internals (shared with list's Add-Server modal), `serverdetail/ServicesTab.jsx` Badge→Pill (shared file), `_server-packages/_server-services.scss` proper token migration. |
| 3 | **WordPress list** | L | Restyle+IA+BE | `pages/WordPress.jsx`, `pages/_wordpress.scss` | DataTable usage | enrich `get_sites` payload (plugins/updates/visits/uptime/server/php/env); optional bulk route | **✅ top-bar migrated (LAST group — sidebar now fully flat)** — shared `WORDPRESS_TABS` (WordPress/Pipeline); `PageTopbar` on WordPress + WordPressProjects; **sidebar sub-menu removed** (Import/Create actions kept; Pipeline tab now always-visible, was wpInstalled-gated). **List body restyled** — the `.wp-site-card` grid is now a dense `.sk-dtable` (Site tile / Environments / Version / Status `Pill` / tag chips / Open-Site + WP-Admin links), with a status `SegControl` (All/Running/Stopped) + the kept tag filter. Omitted SSL/plugins/visits/uptime/server columns (not in `get_sites` — no list backend) per restyle-first. **Follow-up:** multi-select + bulk ops (needs a bulk route or per-site fan-out), list-payload enrichment. |
| 4 | **WordPress detail (tabbed)** | **XL** | Restyle+IA+BE | `pages/WordPressDetail.jsx` (owns all 14 tabs), `pages/_wordpress.scss`, `_applications.scss` | header env-switcher, FilesDrawer/code-viewer, StatCard/gauge/bar-h | DB largest-tables, OPcache/extensions, uptime response-time + 90d, analytics referrers/devices, posture score |
| 5 | **Docker** | M | Restyle | `pages/Docker.jsx`, `pages/_docker.scss` | KPI tiles | none (strict subset of current) | **✅ pass 1 done** — added `MetricCard` KPI strip (Containers/Images/Volumes/Networks from existing `stats`) atop `dx-main`, restyled status filter → segmented control. KEPT the richer dx- rail/5-tabs/inspector/exec/multi-server. Deferred: per-container accent dot, Projects KPI, logs modal→drawer. |
| 6 | **Database Explorer** | M | Restyle | `pages/Databases.jsx`, `databases/ConsoleTab.jsx`, `SourceTree.jsx`, `ResultsGrid.jsx`, `pages/_databases.scss` | syntax-highlight/gutter editor wrapper | optional "Export as SQL" dump | **✅ pass 1 done** — page already matched the target shell (token-aligned in Phase 0); added engine status-dot glow, green result count, `UTF-8` + `● Connected` status-bar segments. Deferred: syntax-highlight editor + gutter, `+` new-tab pill, ctx-menu Browse-rows/Export-SQL, semantic cell tints. |
-| 7 | **File Manager** | M | Restyle+IA | `pages/FileManager.jsx`, `file-manager/FolderTree.jsx`, `PreviewDrawer.jsx`, `ContextMenu.jsx`, `pages/_file-manager.scss` | `file-manager/highlight.js` | cloud/S3 sources = **out of scope** | **✅ top-bar migrated** — shared `FILE_TABS` (Files/FTP Server); `PageTopbar` on both pages (FileManager top bar above its fullscreen browser; FTP header swapped, conditional actions kept); **sidebar sub-menu removed**. **✅ body restyled** — SCSS-only reskin to the demo's flush three-pane `.fmgr` console (toolbar/rail/listing/status joined by 1px borders, mono eyebrow rail groups, demo tree rows, dense sticky-header list, transparent grid cards, mono status bar + crumbs); all capabilities kept (uploads/bulk/type filters/disk mounts/remote targets), zero JSX changes; dead pre-topbar blocks dropped. **Follow-up:** FTP body, syntax-highlight preview (`file-manager/highlight.js`), storage-sources switcher (agents already exist via TargetPicker — restyle it to the demo's env-switch menu if desired). |
+| 7 | **File Manager** | M | Restyle+IA | `pages/FileManager.jsx`, `file-manager/FolderTree.jsx`, `PreviewDrawer.jsx`, `ContextMenu.jsx`, `pages/_file-manager.scss` | `file-manager/highlight.js` | cloud/S3 sources = **out of scope** | **✅ top-bar migrated** — shared `FILE_TABS` (Files/FTP Server); `PageTopbar` on both pages (FileManager top bar above its fullscreen browser; FTP header swapped, conditional actions kept); **sidebar sub-menu removed**. **✅ body restyled** — SCSS-only reskin to the demo's flush three-pane `.fmgr` console (toolbar/rail/listing/status joined by 1px borders, mono eyebrow rail groups, demo tree rows, dense sticky-header list, transparent grid cards, mono status bar + crumbs); all capabilities kept (uploads/bulk/type filters/disk mounts/remote targets), zero JSX changes; dead pre-topbar blocks dropped. **✅ FTP body restyled (group complete)** — StatStrip → `MetricCard` KPI strip, users + connections → `.sk-dtable` + `Pill`, mono eyebrows, log viewer on `--bg-code`, icon-font spans → lucide (was rendering literal words). Deferred: render extra config fields the API already returns (`pasv_enable`, `max_clients`…), config-editing form (net-new surface). **Remaining follow-up:** syntax-highlight preview (`file-manager/highlight.js`), TargetPicker → demo env-switch menu (optional). |
| 8 | **Domains** | L | Restyle+IA+BE | `pages/Domains.jsx`, `pages/_domains.scss` | DomainDrawer (SSL/registration/DNSSEC/NS + inline DNS records) | registrar, registration-expiry, DNSSEC, nameservers, registration auto-renew, status (WHOIS) | **✅ migrated (first top-bar page)** — built shared **`PageTopbar`** ds primitive; Domains now uses the demo's top-bar layout with routed sub-nav (Domains/DNS Zones/SSL) replacing the **removed sidebar sub-menu**; KPI strip + segmented filter + `.sk-dtable` + detail **Drawer**. Omitted unbacked columns (registrar/DNSSEC/nameservers — no WHOIS backend). **Trio complete:** DNSZones + SSLCertificates pages now render the same `PageTopbar` (shared `DOMAIN_TABS`), so the Domains/DNS/SSL tab group persists across all three. **DNS/SSL bodies restyled** — DNS records → dense `.sk-dtable` with colored record-type chips (`.dns-rtype` per A/CNAME/MX/TXT/…) + mono content; SSL cert status → `Pill` (green Valid / amber Expiring). Domains trio now fully on the new look. |
-| 9 | **Monitoring** | **XL** | Restyle+IA+BE | `pages/Monitoring.jsx`, `pages/_monitoring.scss` | `services/api/monitoring.js`, monitors/status/incidents subviews | synthetic monitors (HTTP/Ping/Port/Keyword); **status pages + incidents already have backend** — wire in; request-volume/p50-p95 per-app likely gap | **✅ top-bar migrated** — shared `MONITOR_TABS` (Monitoring/Status Pages); `PageTopbar` on both pages; **sidebar sub-menu removed** (Refresh + Start/Stop and Create-Page actions preserved). Body restyle (KPI/charts/monitors/incidents) still pending. |
+| 9 | **Monitoring** | **XL** | Restyle+IA+BE | `pages/Monitoring.jsx`, `pages/_monitoring.scss` | `services/api/monitoring.js`, monitors/status/incidents subviews | synthetic monitors (HTTP/Ping/Port/Keyword); **status pages + incidents already have backend** — wire in; request-volume/p50-p95 per-app likely gap | **✅ top-bar migrated** — shared `MONITOR_TABS` (Monitoring/Status Pages); `PageTopbar` on both pages; **sidebar sub-menu removed** (Refresh + Start/Stop and Create-Page actions preserved). **✅ body restyled** — StatStrip → `MetricCard` KPI strip, current metrics → host-card grid (icon tile + `Pill` + thin token-colored `Gauge`s + mono host-mini footer), active alerts + history → alert-row pattern (severity dots, red-wash firing chips), rules/delivery tabs reskinned (Pills, mono eyebrows); all CRUD/scheduler/channels kept; killed the `.alert-item` collision with `_servers.scss`. Deferred (backend gaps §5): synthetic monitors, response-time/request-volume charts (page has no time-series — nothing faked), per-host fleet checks. StatusPages body still pending. |
| 10 | **Backups** | **XL** | Restyle+IA+BE | `pages/Backups.jsx`, `pages/_backups.scss` | RestoreDrawer, Heatmap | activity timeseries, GFS retention, multi-destination storage, selective/clone restore, per-snapshot duration/progress |
| 11 | **Git** | L | Restyle+IA+BE | `pages/Git.jsx`, `pages/_git.scss`, `services/api/files.js` | RepoDeployDrawer | provider OAuth connect/disconnect + provider list; Gitea storage/users/runners metrics |
| 12 | **Terminal / Logs** | L | Restyle+IA | `pages/Terminal.jsx`, `pages/_terminal.scss` | console/TargetRail, TerminalPane, LogsPane (delegate to existing consoles) | unified targets endpoint; live streaming for non-file targets |
-| 13 | **Services (list/new/detail)** | L | Restyle+IA+BE | `pages/Services.jsx`, `NewService.jsx`, `ServiceDetail.jsx`, `service-detail/OverviewTab.jsx`, `MetricsTab.jsx`, 3 partials | TemplateCatalog, area charts | per-service metrics history + requests/min; template-catalog source; image/scratch create paths | **✅ top-bar migrated** — shared `SERVICE_TABS` (Services/New Service/Templates/Deploy Activity); `PageTopbar` on all 4 group pages; **sidebar sub-menu removed**. NewService breadcrumb folded into the active tab; Templates search + Deployments live/refresh actions preserved. **NewService method-card chooser restyled** to the demo's centered cards (GitHub OAuth + manifest flows kept). **Services list body restyled** — StatStrip → `MetricCard` KPI strip (Running/Stopped/Total/Last Deploy), status → `Pill`, mono dense list header + surface tokens; bulk-select/filters/sort/per-row actions/repo-pill all kept. **Follow-up:** template-catalog grid + Docker-Image/From-Scratch methods (backend gap), ServiceDetail tabs. |
+| 13 | **Services (list/new/detail)** | L | Restyle+IA+BE | `pages/Services.jsx`, `NewService.jsx`, `ServiceDetail.jsx`, `service-detail/OverviewTab.jsx`, `MetricsTab.jsx`, 3 partials | TemplateCatalog, area charts | per-service metrics history + requests/min; template-catalog source; image/scratch create paths | **✅ top-bar migrated** — shared `SERVICE_TABS` (Services/New Service/Templates/Deploy Activity); `PageTopbar` on all 4 group pages; **sidebar sub-menu removed**. NewService breadcrumb folded into the active tab; Templates search + Deployments live/refresh actions preserved. **NewService method-card chooser restyled** to the demo's centered cards (GitHub OAuth + manifest flows kept). **Services list body restyled** — StatStrip → `MetricCard` KPI strip (Running/Stopped/Total/Last Deploy), status → `Pill`, mono dense list header + surface tokens; bulk-select/filters/sort/per-row actions/repo-pill all kept. **✅ ServiceDetail tabs restyled** — header → `ServiceTile` avatar + `Pill` + mono dotsep meta (+ real domain link); Overview → `MetricCard` strip + `sk-info-row` + `EnvTag` + `Gauge`s, deploy statuses → `Pill`s; Metrics gauges tokenized (no fake history — backend gap); Packages → `sk-dtable`; Events → tone dots; logs/shell/commands/gunicorn consoles on `--bg-code` (fixes light theme); settings/git-modal via SCSS. **✅ Templates catalog restyled** — `.tpl-card` grid (icon tile, mono version, clamped desc, tag chips, amber featured star, hover-reveal Deploy wired to existing install flow) + cat-chip category filter; drawer/modal stacking fixed. Deferred: AreaChart history (backend gap), Environment tab (shared `EnvironmentVariables`), per-chip category counts (endpoint returns names only), `utils/serviceTypes.js` old-palette hex retint (shared — also feeds ApplicationDetail/Deployments). **Remaining follow-up:** Docker-Image/From-Scratch create methods (backend gap). |
| 14 | **Cron Jobs** | L | Restyle+IA+BE | `pages/CronJobs.jsx`, `pages/_cron.scss`, `services/api/system.js` | CronDrawer | run history, next-run, success-rate, job target metadata |
| 15 | **Security (suite)** | L | Restyle+IA+BE | `pages/Security.jsx`, all `components/security/*Tab.jsx`, `pages/_security.scss`, `services/api/security.js` | ScoreGauge usage | geo-blocking, policy toggles, scan schedules, security sessions, pending-update list, integrity verify/revert. **fail2ban + SSH-keys already exist** (minor missing fields) |
| 16 | **Workspaces (list + detail)** | L | Restyle+IA+BE | `pages/Workspaces.jsx`, `pages/_workspaces.scss`, `services/api/servers.js` | **`pages/WorkspaceDetail.jsx`** + `/workspaces/:id` route | **plan/billing**, aggregated CPU/Mem/Storage usage, service/site counts, member `last_active` |