From 395bf23d6c668f4f0efb95361fd186a054de0af1 Mon Sep 17 00:00:00 2001 From: Oliver Date: Fri, 4 May 2018 01:33:13 +1000 Subject: [PATCH] Cleanup / formatting --- .../company/templates/company/index.html | 7 +++--- InvenTree/static/css/inventree.css | 5 ++++ InvenTree/stock/templates/stock/index.html | 25 +++++++++++++------ InvenTree/stock/templates/stock/location.html | 12 ++++++--- 4 files changed, 34 insertions(+), 15 deletions(-) diff --git a/InvenTree/company/templates/company/index.html b/InvenTree/company/templates/company/index.html index cec745cd20..55ce09c72d 100644 --- a/InvenTree/company/templates/company/index.html +++ b/InvenTree/company/templates/company/index.html @@ -4,14 +4,15 @@ {% block content %} +
+

Companies

+
-
- -
+ {% include 'modals.html' %} diff --git a/InvenTree/static/css/inventree.css b/InvenTree/static/css/inventree.css index 637ef520f3..e4f01e97bf 100644 --- a/InvenTree/static/css/inventree.css +++ b/InvenTree/static/css/inventree.css @@ -115,4 +115,9 @@ border-radius: 5px; opacity: 0.9; pointer-events: all; +} + +.btn { + margin-left: 2px; + margin-right: 2px; } \ No newline at end of file diff --git a/InvenTree/stock/templates/stock/index.html b/InvenTree/stock/templates/stock/index.html index 9665f8c571..2409af6c71 100644 --- a/InvenTree/stock/templates/stock/index.html +++ b/InvenTree/stock/templates/stock/index.html @@ -4,18 +4,27 @@ {% include "stock/loc_link.html" with location=None %} -{% if locations.all|length > 0 %} -

Storage Locations

-{% include "stock/location_list.html" with locations=locations %} -{% endif %} +
+
+

Storage Locations

+
+
+

+ +

+
+
+
+ +{% if locations|length > 0 %} +{% include "stock/location_list.html" with locations=locations %} +
+{% endif %} +

Stock Items

-
- -
- {% include 'modals.html' %} {% endblock %} diff --git a/InvenTree/stock/templates/stock/location.html b/InvenTree/stock/templates/stock/location.html index e327a5067d..2fc6cbd523 100644 --- a/InvenTree/stock/templates/stock/location.html +++ b/InvenTree/stock/templates/stock/location.html @@ -10,20 +10,24 @@

{{ location.description }}

+

+
+ +
+

{% if location.has_children %} -

Sub Locations

+

Sub Locations

{% include "stock/location_list.html" with locations=location.children %} {% endif %} @@ -32,7 +36,8 @@ {% endif %} -
+
+ -
{% include 'modals.html' %}