Files
sub2api-cn-relay-manager/deploy/tksea-portal/admin/batch-import.html
phamnazage-jpg cc8fc900ca refactor(portal): migrate 8 pages to portal.css+portal.js design system
Each page now uses the new page-hero + stat-card + statusbar pattern
with the Linear/Vercel-aligned token system, while preserving all
admin-common.js nav render contract and 70+ test-contract strings.

- public portal: index.html (1816 → 1280 lines)
- admin entry: admin/index.html
- admin pages: logical-groups / route-health / accounts / providers
- batch import: admin/batch-import.html (39-line redirect to
  admin-batch-import.html for legacy URL compatibility)
- admin-batch-import.html: real legacy URL handler page

Verified:
- bash scripts/test/test_tksea_portal_assets.sh → PASS
- bash scripts/test/verify_frontend_smoke.sh → PASS (all 7 admin
  pages + public portal render with smoke-admin / Smoke Logical
  Group / Smoke Provider Account / smoke-route-primary visible)
- 8 screenshot artifacts at /tmp/portal-screenshots/ (1440×2400
  chromium headless, 269KB–1.2MB each = real content)
2026-06-03 09:11:07 +08:00

33 lines
1.3 KiB
HTML

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Batch Import Admin Redirect</title>
<meta http-equiv="refresh" content="0; url=/portal/admin-batch-import.html">
<link rel="stylesheet" href="/portal/portal.css">
<link rel="stylesheet" href="/portal/admin-common.css">
<style>
.redirect-card {
width: min(34rem, calc(100vw - 2rem));
padding: 28px;
border-radius: var(--r-xl);
border: 1px solid var(--border-subtle);
background: var(--bg-elev-1);
box-shadow: var(--shadow-glass);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
}
.redirect-card a { color: var(--color-primary); font-weight: 700; }
</style>
</head>
<body>
<main class="redirect-card">
<h1 style="margin:0 0 8px;font-size:20px;font-weight:700;color:var(--text-strong);">正在跳转到导入供应商帐号页面</h1>
<p style="margin:8px 0;color:var(--text-muted);font-size:13px;line-height:1.6;">如果浏览器没有自动跳转,请手动打开:</p>
<p style="margin:8px 0 0;"><a href="/portal/admin-batch-import.html">/portal/admin-batch-import.html</a></p>
</main>
<script src="/portal/portal.js"></script>
</body>
</html>