render buttons as neon tubes and rebuild the login page

The previous commit only swapped theme tokens, so buttons kept the solid
blue from arco.css: a-button fills with rgb(var(--primary-6)), which maps
to --arcoblue-6, not --color-primary. Bridge both naming families so no
Arco blue survives.

Style buttons as hollow tubes rather than filled blocks: transparent
fill, 1px cyan wall, inner glow plus two outer halos, and a glowing
label. Hover brightens the wall, active pinches the halo inward,
loading pulses, disabled cuts power entirely. Same treatment in red for
destructive actions, and hollow-line chips for inputs, tags, switches
and popups.

Rebuild LoginView to match the approved prototype: 32px masked grid,
scanline, IsometricWave, neon card edge, badge, probe status lamp, and
default-credential chips. Logic, API calls and lock/reset messaging are
unchanged.
This commit is contained in:
2026-10-19 13:47:12 +08:00
parent 282624f801
commit 336d08fc05
4 changed files with 755 additions and 69 deletions
+8
View File
@@ -19,6 +19,14 @@ export default {
lockResetHint: 'If this is your server, clear the login lock with:',
defaultLoginResetHint: 'To reset the default admin password, run:',
sessionExpired: 'Login expired. Please sign in again.',
probing: 'Probing server…',
online: 'Auth service online · password login available',
offline: 'Cannot reach the server · you can still try to log in',
showPassword: 'Show password',
hidePassword: 'Hide password',
fillDefaultCredentials: 'Fill in admin / 123456',
localDeploymentNote: 'Self-hosted · no telemetry · data never leaves this machine',
tokenHint: 'The token returned by POST /api/auth/login is stored in localStorage',
accessDenied: 'You do not have permission to access this resource.',
passwordMismatch: 'Passwords do not match',
passwordTooShort: 'Password must be at least 6 characters',
+8
View File
@@ -19,6 +19,14 @@ export default {
lockResetHint: '如果这是你的服务器,可以执行以下命令清除登录锁定:',
defaultLoginResetHint: '如需重置默认 admin 密码,可以执行:',
sessionExpired: '登录已过期,请重新登录',
probing: '正在探测服务端…',
online: '认证服务在线 · 密码登录可用',
offline: '无法连接到服务器 · 登录仍可尝试',
showPassword: '显示密码',
hidePassword: '隐藏密码',
fillDefaultCredentials: '填入 admin / 123456',
localDeploymentNote: '本地部署 · 无遥测 · 数据不出机器',
tokenHint: '登录后 POST /api/auth/login 返回的 token 存入 localStorage',
accessDenied: '你没有权限访问该资源',
passwordMismatch: '两次密码不一致',
passwordTooShort: '密码长度至少 6 个字符',