Add routes and functionality for inventory management, user management, worklogs, and settings

- Created a new Blueprint for main routes in `routes/__init__.py`.
- Implemented inventory listing and item management in `routes/inventory.py`.
- Added user listing and detail views in `routes/user.py`.
- Developed worklog listing and entry views in `routes/worklog.py`.
- Introduced search functionality across inventory, users, and worklogs in `routes/search.py`.
- Established settings management for brands, items, rooms, and functions in `routes/settings.py`.
- Enhanced helper functions for rendering headers and managing data in `routes/helpers.py`.
- Updated index route to display active worklogs and inventory conditions in `routes/index.py`.
This commit is contained in:
Yaro Kasear 2025-07-07 14:05:17 -05:00
parent 4c36621eba
commit 4d8d5b4e6a
9 changed files with 684 additions and 630 deletions

5
routes/__init__.py Normal file
View file

@ -0,0 +1,5 @@
from flask import Blueprint
main = Blueprint('main', __name__)
from . import inventory, user, worklog, settings, index, search