From 9c3d32e5a02237a331f5943805d4dd29ff66336a Mon Sep 17 00:00:00 2001 From: Yaro Kasear Date: Wed, 11 Jun 2025 15:34:07 -0500 Subject: [PATCH] Enhance inventory and user templates with select inputs for better data handling and navigation --- templates/inventory.html | 49 ++++++++++++++++++++++++---------------- templates/user.html | 48 +++++++++++++++++++++++---------------- 2 files changed, 58 insertions(+), 39 deletions(-) diff --git a/templates/inventory.html b/templates/inventory.html index 773bf93..898a3ef 100644 --- a/templates/inventory.html +++ b/templates/inventory.html @@ -12,7 +12,7 @@ breadcrumbs=[ {'label': "Inventory", 'url': url_for('main.list_inventory')} ], title=title, -submit_button=False) }} +submit_button=True) }}
@@ -47,14 +47,13 @@ submit_button=False) }}
- - - +
@@ -68,26 +67,36 @@ submit_button=False) }}
- - - - + +
- - - +
diff --git a/templates/user.html b/templates/user.html index 30af060..ce1edcc 100644 --- a/templates/user.html +++ b/templates/user.html @@ -9,10 +9,10 @@ {% block content %} {{ breadcrumbs.breadcrumb_header( - title=title, - breadcrumbs=[ - {'label': 'Users', 'url': url_for('main.list_users')} - ] +title=title, +breadcrumbs=[ +{'label': 'Users', 'url': url_for('main.list_users')} +] ) }}
@@ -31,29 +31,39 @@
- - - - + +
- - - +