feat: add frontend dashboard, login page and portal entry

Public directory contains the Kanban SPA with dashboard UI, login
page, and styles. Portal directory provides a standalone service
entry page with CSS styling.
This commit is contained in:
2026-05-15 11:13:59 +08:00
parent 673a5f9f62
commit 74279b9d35
7 changed files with 2230 additions and 0 deletions

23
public/login.html Normal file
View File

@@ -0,0 +1,23 @@
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Login · Local Kanban</title>
<link rel="stylesheet" href="/styles.css">
</head>
<body>
<main class="login-shell">
<form id="loginForm" class="login-panel">
<h1>Local Kanban</h1>
<label>
Access Token
<input id="tokenInput" type="password" autocomplete="current-password" required autofocus>
</label>
<button type="submit">登录</button>
<p id="loginError" class="status-bad"></p>
</form>
</main>
<script type="module" src="/login.js"></script>
</body>
</html>