feat:增强模板的用户界面和功能

- 在 scanner.js 中为用户操作添加了 toast 通知。
- 更新 box.html 以包含额外的导航选项和改进的布局。
- 增强 edit.html,提供更清晰的说明和改进表单的可访问性。
- 修改了 error.html,以提供有关输入错误的用户指导。
- 改进了 index.html,以优化导航并添加了关键指标显示。
- 增强了 scan.html,优化了搜索输入和操作按钮。
- 引入了 stats.html,用于详细的库存统计和趋势。
- 创建了 types.html,用于分类概述库存类型。
This commit is contained in:
2026-03-10 01:34:02 +08:00
parent 859f92cdf0
commit 0a54bfd5aa
11 changed files with 2255 additions and 258 deletions

View File

@@ -8,7 +8,10 @@
</head>
<body>
<header class="hero slim">
<h1>{{ status_code }} - {{ title }}</h1>
<div>
<h1>{{ status_code }} - {{ title }}</h1>
<p>请检查输入参数后重试</p>
</div>
<a class="btn btn-light" href="{{ url_for('index') }}">回到首页</a>
</header>