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:
23
public/login.html
Normal file
23
public/login.html
Normal 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>
|
||||
Reference in New Issue
Block a user