新增页面:
- session_detail.html - 会话详情独立页面
- channel_edit.html - 频道配置编辑独立页面
- 错误页面 (401/403/404/500)
功能优化:
- 添加错误处理器支持 HTML 响应
- 更新编辑按钮跳转独立页面
- 完善暗黑主题支持
作者: 小黑 🐶
31 lines
1.8 KiB
HTML
31 lines
1.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN" data-theme="light">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>403 - 禁止访问 | 智队中枢</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<script>
|
|
tailwind.config = { darkMode: 'class', theme: { extend: { colors: { primary: { 500: '#0ea5e9', 600: '#0284c7' } } } } }
|
|
</script>
|
|
<style>body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }</style>
|
|
</head>
|
|
<body class="bg-gray-50 dark:bg-gray-900 min-h-screen flex items-center justify-center">
|
|
<div class="text-center px-4">
|
|
<div class="text-[150px] font-bold text-red-200 dark:text-red-900/30 leading-none select-none">403</div>
|
|
<div class="mt-[-20px] mb-8">
|
|
<h1 class="text-3xl font-bold text-gray-900 dark:text-white mb-2">禁止访问</h1>
|
|
<p class="text-gray-500 dark:text-gray-400">您没有权限访问此页面</p>
|
|
</div>
|
|
<div class="flex items-center justify-center gap-4">
|
|
<a href="/" class="btn btn-primary flex items-center gap-2">
|
|
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"></path></svg>
|
|
返回首页
|
|
</a>
|
|
</div>
|
|
<div class="mt-8 text-sm text-gray-400 dark:text-gray-500">智队中枢 v0.7.0</div>
|
|
</div>
|
|
<script>const savedTheme = localStorage.getItem('theme') || 'light'; document.documentElement.setAttribute('data-theme', savedTheme);</script>
|
|
</body>
|
|
</html>
|