feat: extract CSS/JS to separate files and add cleanup scheduler UI #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/admin-cleanup-ui-asset-extraction"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reorganization + clean up scheduler
Moved all inline styles and scripts from
admin.html,index.html, anderror.htmlintoapp/static/css/andapp/static/js/, with a sharedbase.cssfor common variables,reset, and component styles.
Mount
StaticFilesinmain.pyto 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
innerHTMLhook violations inindex.jsby replacing footer rewrites withDOMshow/hide of pre-rendered admin link elements.