diff --git a/InvenTree/InvenTree/static/css/inventree.css b/InvenTree/InvenTree/static/css/inventree.css index 90210c6d70..b383d5bb58 100644 --- a/InvenTree/InvenTree/static/css/inventree.css +++ b/InvenTree/InvenTree/static/css/inventree.css @@ -699,6 +699,11 @@ input[type="submit"] { overflow-x: hidden; } +.sidenav .list-group-item.active { + background-color: #ddd; + border-color: #ccc; +} + /* The side navigation menu */ .sidenav-left { left: 0px; diff --git a/InvenTree/part/templates/part/allocation.html b/InvenTree/part/templates/part/allocation.html index e574742ad5..803df3906d 100644 --- a/InvenTree/part/templates/part/allocation.html +++ b/InvenTree/part/templates/part/allocation.html @@ -3,12 +3,15 @@ {% load i18n %} {% load inventree_extras %} +{% block menubar %} +{% include "part/navbar.html" with tab="allocation" %} +{% endblock %} + +{% block heading %} +{% trans "Part Stock Allocations" %} +{% endblock %} + {% block details %} - -{% include "part/tabs.html" with tab="allocation" %} - -
| {% trans "Order" %} | @@ -34,6 +37,7 @@ {% endblock %} {% block js_ready %} +{{ block.super }} $("#build-table").inventreeTable({ columns: [ diff --git a/InvenTree/part/templates/part/attachments.html b/InvenTree/part/templates/part/attachments.html index aa31cd3f32..93440e13ed 100644 --- a/InvenTree/part/templates/part/attachments.html +++ b/InvenTree/part/templates/part/attachments.html @@ -1,14 +1,17 @@ {% extends "part/part_base.html" %} {% load static %} {% load i18n %} + +{% block menubar %} +{% include 'part/navbar.html' with tab='attachments' %} +{% endblock %} + +{% block heading %} +{% trans "Part Attachments" %} +{% endblock %} + {% block details %} -{% include 'part/tabs.html' with tab='attachments' %} - -
|---|