fix: move logo to static folder and update template paths

This commit is contained in:
2026-03-12 12:46:04 +08:00
parent f50fdef263
commit a38f5de32a
6 changed files with 11 additions and 40 deletions

34
.gitignore vendored
View File

@@ -1,32 +1,2 @@
# ── GSD baseline (auto-generated) ──
.gsd/activity/
.gsd/runtime/
.gsd/auto.lock
.gsd/metrics.json
.gsd/STATE.md
.DS_Store
Thumbs.db
*.swp
*.swo
*~
.idea/
.vscode/
*.code-workspace
.env
.env.*
!.env.example
node_modules/
.next/
dist/
build/
__pycache__/
*.pyc
.venv/
venv/
target/
vendor/
*.log
coverage/
.cache/
tmp/
# Created by venv; see https://docs.python.org/3/library/venv.html
*

View File

@@ -98,10 +98,11 @@ FLASK_DEBUG=1 python src/app.py
## Version History
| Version | Description | Date |
|---------|-------------|------|
| v1 | Original Flask + Bootstrap interface (archived in `src_v1/`) | Pre-2026 |
| v2 | React/Next.js interface (in development in `v2/`) | 2026-03 |
| Version | Description | Date | Location |
|---------|-------------|------|----------|
| v1 | Flask + Bootstrap interface (archived) | Pre-2026 | `src_v1/` |
| v1 | Flask + Bootstrap interface (active) | 2026-03 | `src/` |
| v2 | React/Next.js interface (in development) | 2026-03 | `v2/` |
## Project Structure

View File

@@ -213,7 +213,7 @@
<!-- Navigation Menu -->
<nav class="nav-menu">
<a href="/" class="nav-logo">
<img src="logo/[LOGO] TCK.svg" alt="TCK" height="40">
<img src="{{ url_for('static', filename='logo/[LOGO] TCK.svg') }}" alt="TCK" height="40">
</a>
<a href="/" class="nav-btn">
<i class="bi bi-speedometer2"></i> Dashboard

View File

@@ -153,7 +153,7 @@
<!-- Navigation Menu -->
<nav class="nav-menu">
<a href="/" class="nav-logo">
<img src="logo/[LOGO] TCK.svg" alt="TCK" height="40">
<img src="{{ url_for('static', filename='logo/[LOGO] TCK.svg') }}" alt="TCK" height="40">
</a>
<a href="/" class="nav-btn active">
<i class="bi bi-speedometer2"></i> Dashboard

View File

@@ -230,7 +230,7 @@
<!-- Navigation Menu -->
<nav class="nav-menu">
<a href="/" class="nav-logo">
<img src="logo/[LOGO] TCK.svg" alt="TCK" height="40">
<img src="{{ url_for('static', filename='logo/[LOGO] TCK.svg') }}" alt="TCK" height="40">
</a>
<a href="/" class="nav-btn">
<i class="bi bi-speedometer2"></i> Dashboard

View File

@@ -179,7 +179,7 @@
<!-- Navigation Menu -->
<nav class="nav-menu">
<a href="/" class="nav-logo">
<img src="logo/[LOGO] TCK.svg" alt="TCK" height="40">
<img src="{{ url_for('static', filename='logo/[LOGO] TCK.svg') }}" alt="TCK" height="40">
</a>
<a href="/" class="nav-btn">
<i class="bi bi-speedometer2"></i> Dashboard