proofdb/app/view/admin/landing.html
2026-05-08 00:05:51 +08:00

84 lines
3.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Proof DB Admin</title>
<link rel="stylesheet" href="/admin.css">
</head>
<body class="admin-landing">
<main class="admin-landing-page">
<header class="topbar page-shell">
<div class="brand">
<span class="brand-mark" aria-hidden="true"></span>
<span>Proof DB Admin Console</span>
</div>
<div>Version <?=htmlspecialchars($version)?></div>
</header>
<section class="admin-landing-hero page-shell">
<section class="admin-landing-intro panel">
<div>
<div class="eyebrow">Administrative Entry</div>
<h1 class="admin-landing-title">Proof DB</h1><br><h2>档案数据中心</h2>
<p class="lead admin-landing-lead">
档案储存 标签处理 向量存储 全文搜索
</p>
</div>
<div class="admin-landing-meta">
<div>
<div class="metric-label">关于Proof DB</div>
<div class="admin-landing-meta-value">ProofDB是一个专业级的历史档案后端数据中心集成档案数据库、全文搜索引擎和RAG向量引擎。</div>
</div>
</div>
</section>
<section class="admin-landing-portal panel-soft">
<div class="admin-landing-portal-head">
<span>Access Control</span>
<span>v1</span>
</div>
<div>
<p class="admin-landing-portal-title">选择进入路径</p>
<p class="admin-landing-portal-copy">Tips: PoofDB的Proof是酒精度的意思</p>
</div>
<div class="admin-landing-button-stack">
<a class="button primary <?=$archiveCaskUrl === '' ? 'disabled' : ''?>" href="<?=htmlspecialchars($archiveCaskUrl ?: '#')?>">
<span>返回 Archive Cask</span>
<span class="button-key">BACK</span>
</a>
<a class="button" href="/admin/login">
<span>管理员登录</span>
<span class="button-key">Login</span>
</a>
</div>
<div class="admin-landing-status">
<?php if ($archiveCaskUrl === ''): ?>
<strong>Archive Cask 未配置。</strong> 请在 `.env` 中设置 `ARCHIVE_CASK_URL`。
<?php else: ?>
<strong>Archive Cask 已连接。</strong>
<?php endif; ?>
</div>
</section>
</section>
<footer class="footer page-shell">
<style>
lower {
text-transform: lowercase;
}
</style>
<span>
Proof DB
<lower>by</lower>
<a href="https://laysense.cn/" target="_blank">Shanghai Laysense Information Technology Co. Ltd.</a>
</span>
<span>Admin Surface / v<?=htmlspecialchars($version)?></span>
</footer>
</main>
</body>
</html>