feat: extract CSS/JS to separate files and add cleanup scheduler UI #1

Merged
patillacode merged 3 commits from feature/admin-cleanup-ui-asset-extraction into main 2026-05-27 16:09:37 +02:00
Owner

Reorganization + clean up scheduler

Moved all inline styles and scripts from admin.html, index.html, and error.html into
app/static/css/ and app/static/js/, with a shared base.css for common variables,
reset, and component styles.

Mount StaticFiles in main.py to serve the new assets.

Add cleanup scheduler card to admin UI:
shows last run, deleted count, triggered-by badge, next scheduled run, run-now trigger button and
collapsible history table wired to the three cleanup API endpoints.

Fix innerHTML hook violations in index.js by replacing footer rewrites with DOM show/hide of pre-rendered admin link elements.

**Reorganization + clean up scheduler** Moved all inline styles and scripts from `admin.html`, `index.html`, and `error.html` into `app/static/css/` and `app/static/js/`, with a shared `base.css` for common variables, reset, and component styles. Mount `StaticFiles` in `main.py` to serve the new assets. Add cleanup scheduler card to admin UI: shows last run, deleted count, triggered-by badge, next scheduled run, run-now trigger button and collapsible history table wired to the three cleanup API endpoints. Fix `innerHTML` hook violations in `index.js` by replacing footer rewrites with `DOM` show/hide of pre-rendered admin link elements.
feat: extract CSS/JS to separate files and add cleanup scheduler UI
All checks were successful
CI / test (pull_request) Successful in 23s
d916b1f612
Move all inline styles and scripts from admin.html, index.html, and
error.html into app/static/css/ and app/static/js/, with a shared
base.css for common variables, reset, and component styles. Mount
StaticFiles in main.py to serve the new assets.

Add cleanup scheduler card to admin UI: shows last run, deleted count,
triggered-by badge, next scheduled run, run-now trigger button, and
collapsible history table wired to the three cleanup API endpoints.

Fix innerHTML hook violations in index.js by replacing footer rewrites
with DOM show/hide of pre-rendered admin link elements.
Merge branch 'main' into feature/admin-cleanup-ui-asset-extraction
All checks were successful
CI / test (pull_request) Successful in 22s
20ff88e6ba
docs: add Cleanup section to README
All checks were successful
CI / test (pull_request) Successful in 22s
f48096c5c7
patillacode deleted branch feature/admin-cleanup-ui-asset-extraction 2026-05-27 16:09:44 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
patillacode/dropit!1
No description provided.