Batch status management for assets #17
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Changes
Added batch status update functionality:
Backend
POST /api/assets/batch-status— accepts{"ids": [int, ...], "status": "str"}and updates all specified assetsVALID_STATUSES(active/maintenance/retired)Frontend
Files:
admin_server.py,static/index.html