Add inventory index route and update templates for breadcrumb navigation
This commit is contained in:
parent
795b23fbae
commit
14384c3d22
8 changed files with 149 additions and 53 deletions
|
@ -144,6 +144,11 @@ def list_inventory():
|
|||
entry_route="inventory_item"
|
||||
)
|
||||
|
||||
@main.route("/inventory/index")
|
||||
def inventory_index():
|
||||
category = request.args.get('category')
|
||||
return render_template('inventory_index.html', title="Inventory Index", category=category)
|
||||
|
||||
@main.route("/inventory_item/<int:id>")
|
||||
def inventory_item(id):
|
||||
worklog_page = request.args.get("worklog_page", default=1, type=int)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue