mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-07 03:29:19 +02:00
52 lines
2.8 KiB
Markdown
52 lines
2.8 KiB
Markdown
# TODO
|
|
|
|
## Styling Redesign (matching design images)
|
|
|
|
- [x] Redesign shared nav bar (purple gradient top, flat, POSTERG / RÉPERTOIRE / À PROPOS)
|
|
- [x] Redesign shared search bar (full-width, icon, bottom border only, white bg)
|
|
- [x] Rewrite `common.css` (nav + search bar components)
|
|
- [x] Rewrite `main.css` (home page — white bg, media card grid, label below)
|
|
- [x] Rewrite `search.css` (répertoire index — 4-col ANNÉES/CATÉGORIES/ÉTUDIANTES/MOTS-CLÉS)
|
|
- [x] Rewrite `tfe.css` (TFE page — 2-col, large author/title left, media right)
|
|
- [x] Add `apropos.css` (À Propos — 2-col, large monospace text)
|
|
- [x] Rewrite `admin.css` (dark bg, purple gradient nav, bottom-border-only form inputs)
|
|
- [x] Update `templates/nav.php` (new shared nav partial)
|
|
- [x] Update `templates/search-bar.php` (new shared search bar partial)
|
|
- [x] Rewrite `public/index.php` (home page with new layout)
|
|
- [x] Rewrite `public/search.php` (répertoire index view + search results view)
|
|
- [x] Rewrite `public/tfe.php` (individual TFE page)
|
|
- [x] Create `public/apropos.php` (À Propos page)
|
|
- [x] Rewrite `templates/admin/head.php` (admin nav)
|
|
- [x] Rewrite `templates/admin/footer.php` (clean close)
|
|
- [x] Rewrite `public/admin/add.php` (form with row layout)
|
|
- [x] Rewrite `public/admin/index.php` (dark table)
|
|
- [x] Rewrite `public/admin/edit.php` (form with row layout)
|
|
- [x] Rewrite `public/admin/login.php` (centered dark login box)
|
|
- [x] Rewrite `public/admin/thanks.php` (dark info cards)
|
|
- [x] Rewrite `public/admin/import.php` (clean dark form)
|
|
|
|
## Justfile / Ops
|
|
|
|
- [x] Simplify `serve` and `deploy` to one recipe each
|
|
- [x] Remove sysadmin recipes (server-logs, server-status, deploy-nginx, deploy-admin-tools)
|
|
- [x] Extract server scripts to `scripts/` (deploy-server.sh, manage-admin-users.sh)
|
|
- [x] Guard `deploy-db` against overwriting existing remote database
|
|
- [x] Update README.md and docs/SERVER_SETUP.md to reflect current structure
|
|
|
|
## Pending
|
|
|
|
- [x] Add favicon (`<link rel="icon">` → admin_favicon.svg) to all pages; nginx 204 for /favicon.ico
|
|
- [ ] Add pagination to répertoire student index (currently capped at 100)
|
|
- [ ] Thumbnail generation / cover image support for home grid cards
|
|
|
|
## Admin / Server
|
|
|
|
- [x] Create `scripts/setup-server.sh` (one-time server setup: group, ownership, setgid 2775 on dirs)
|
|
- [x] Add `just setup-server` recipe (rsync + run setup-server.sh on remote)
|
|
- [x] Exclude `.claude` and `.pi` from rsync deploy
|
|
- [x] Update `docs/SERVER_SETUP.md` with correct permissions rationale and troubleshooting
|
|
- [ ] Add server status view in admin panel (nginx + php-fpm health, site HTTP check)
|
|
- [ ] Add server log viewer in admin panel (tail nginx error/access logs via SSH or log endpoint)
|
|
- [ ] Add nginx config deploy flow to admin panel (upload `scripts/deploy-server.sh`, run remotely)
|
|
- [ ] Add admin user management UI (wraps `scripts/manage-admin-users.sh` on server)
|