Files
inventory/templates/error.html
wangbeihong 0a54bfd5aa feat:增强模板的用户界面和功能
- 在 scanner.js 中为用户操作添加了 toast 通知。
- 更新 box.html 以包含额外的导航选项和改进的布局。
- 增强 edit.html,提供更清晰的说明和改进表单的可访问性。
- 修改了 error.html,以提供有关输入错误的用户指导。
- 改进了 index.html,以优化导航并添加了关键指标显示。
- 增强了 scan.html,优化了搜索输入和操作按钮。
- 引入了 stats.html,用于详细的库存统计和趋势。
- 创建了 types.html,用于分类概述库存类型。
2026-03-10 01:34:02 +08:00

29 lines
971 B
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ status_code }} - {{ title }}</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body>
<header class="hero slim">
<div>
<h1>{{ status_code }} - {{ title }}</h1>
<p>请检查输入参数后重试</p>
</div>
<a class="btn btn-light" href="{{ url_for('index') }}">回到首页</a>
</header>
<main class="container">
<section class="panel">
<p class="alert">{{ message }}</p>
<div class="actions" style="margin-top: 10px;">
<a class="btn" href="{{ back_url }}">返回上一页</a>
<button class="btn btn-light" type="button" onclick="history.back()">浏览器返回</button>
</div>
</section>
</main>
</body>
</html>