From 94b280eed3a79a435524ca6344ee9cd5d5843a20 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 16 Apr 2019 08:13:05 +1000 Subject: [PATCH] Move button groups into the table toolbar next to search box - part stock list - part bom list --- InvenTree/part/templates/part/bom.html | 42 ++++++++++++------------ InvenTree/part/templates/part/stock.html | 37 ++++++++------------- 2 files changed, 35 insertions(+), 44 deletions(-) diff --git a/InvenTree/part/templates/part/bom.html b/InvenTree/part/templates/part/bom.html index 137bf6e2d6..cd569a9c3c 100644 --- a/InvenTree/part/templates/part/bom.html +++ b/InvenTree/part/templates/part/bom.html @@ -11,29 +11,29 @@

Bill of Materials

- +
+ {% if editing_enabled %} +
+ + +
+ {% else %} + + {% endif %} +
+ +
-

- -{% if editing_enabled %} -
- - -
-{% else %} - -{% endif %} - {% endblock %} {% block js_load %} diff --git a/InvenTree/part/templates/part/stock.html b/InvenTree/part/templates/part/stock.html index f86822f53c..96fd03e3cd 100644 --- a/InvenTree/part/templates/part/stock.html +++ b/InvenTree/part/templates/part/stock.html @@ -4,32 +4,23 @@ {% include 'part/tabs.html' with tab='stock' %} -
-
-

Part Stock

-
-
-

-
- - -
-

+

Part Stock

+ +
+ +
-
- - +