Scaffold Homelab Manager foundation
Monorepo (Express+TS+Drizzle/libSQL server, React+Vite+Tabler web) matching the stack used by ScheduleTaskManager and Sloth Manager. Includes Authentik OIDC login with local admin/operator/viewer roles (first user becomes admin), a generalized audit log, encrypted-at-rest storage for future integration API tokens, the DB schema for all planned modules, and the Tabler-styled app shell/nav. Also ports the Secrets (expiry tracker) and IP Addresses (IPAM) modules from Sloth Manager onto the new stack. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
commit
6bd2ed52c1
52 files changed
+8103
No files matched your search
@@ -0,0 +1,44 @@
|
||||
import type { CurrentUser } from "../api/client";
|
||||
|
||||
export default function Dashboard({ user }: { user: CurrentUser }) {
|
||||
return (
|
||||
<>
|
||||
<div className="row row-cards mb-3">
|
||||
<div className="col-12">
|
||||
<h2 className="page-title mb-3">Dashboard</h2>
|
||||
<p className="text-secondary">
|
||||
Welcome back, {user.name ?? user.email ?? user.sub}. Live status widgets for Proxmox,
|
||||
Synology, Semaphore, Tailscale, Gitea, and Dockhand will appear here as each
|
||||
integration is connected.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className="row row-cards">
|
||||
{[
|
||||
"Proxmox",
|
||||
"Synology NAS",
|
||||
"Semaphore",
|
||||
"Tailscale",
|
||||
"Gitea",
|
||||
"Dockhand / Docker",
|
||||
].map((name) => (
|
||||
<div className="col-sm-6 col-lg-4" key={name}>
|
||||
<div className="card">
|
||||
<div className="card-body">
|
||||
<div className="d-flex align-items-center">
|
||||
<div className="subheader">{name}</div>
|
||||
<div className="ms-auto">
|
||||
<span className="badge bg-secondary-lt text-secondary">Not connected</span>
|
||||
</div>
|
||||
</div>
|
||||
<div className="text-secondary mt-2">
|
||||
Configure this integration from the Integrations page.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user