Implement Web frontend Phase 2: Tab switching + search box UI
Some checks failed
Test / build (push) Has been cancelled
Test / test (push) Has been cancelled

- New category_view.html with Apple-style design
- Tab switching between Category and Series views
- Search box with API integration
- Navigation stack for back button
- Routes: /downloads and / (root)
- All tests pass (135 passed)
This commit is contained in:
Warren
2026-06-19 01:25:44 +08:00
parent f7cfff27c0
commit ea156b65f1
2 changed files with 353 additions and 0 deletions

View File

@@ -232,6 +232,8 @@ pub async fn run(port: u16, file: Option<String>) -> anyhow::Result<()> {
.route("/upload", get(|| async { Html(include_str!("upload.html")) }))
.route("/files", get(|| async { Html(include_str!("file_list.html")) }))
.route("/products", get(|| async { Html(include_str!("product_manager.html")) }))
.route("/downloads", get(|| async { Html(include_str!("category_view.html")) }))
.route("/", get(|| async { Html(include_str!("category_view.html")) }))
.layer(DefaultBodyLimit::disable()) // Disable body size limit for large file uploads
.with_state(state);