From e58bed41b0cf9de78250e18880c5ffe795115fdb Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Mon, 6 May 2019 08:35:02 +1000 Subject: [PATCH] Visual style improvements --- InvenTree/build/templates/build/index.html | 4 +-- .../company/templates/company/index.html | 16 +++++++-- .../part/templates/part/attachments.html | 15 +++++--- InvenTree/part/templates/part/detail.html | 34 +++++++++---------- InvenTree/part/templates/part/stock.html | 9 ++++- InvenTree/part/templates/part/supplier.html | 10 +++++- InvenTree/part/templates/part/tabs.html | 4 ++- InvenTree/part/templates/part/used_in.html | 12 ++++++- InvenTree/templates/InvenTree/index.html | 2 +- 9 files changed, 74 insertions(+), 32 deletions(-) diff --git a/InvenTree/build/templates/build/index.html b/InvenTree/build/templates/build/index.html index 5163905f83..af24a6ca53 100644 --- a/InvenTree/build/templates/build/index.html +++ b/InvenTree/build/templates/build/index.html @@ -5,12 +5,12 @@
-

Part Builds

+

Part Builds

- +
diff --git a/InvenTree/company/templates/company/index.html b/InvenTree/company/templates/company/index.html index 7cfd7d18de..4fa19e9eb6 100644 --- a/InvenTree/company/templates/company/index.html +++ b/InvenTree/company/templates/company/index.html @@ -4,11 +4,21 @@ {% block content %} -

Companies

-
- +
+
+

Company List

+
+
+
+
+ +
+
+
+
+
diff --git a/InvenTree/part/templates/part/attachments.html b/InvenTree/part/templates/part/attachments.html index d1aa037870..77ffa8dbff 100644 --- a/InvenTree/part/templates/part/attachments.html +++ b/InvenTree/part/templates/part/attachments.html @@ -5,12 +5,19 @@ {% include 'part/tabs.html' with tab='attachments' %} -

Attachments

- -
- +
+
+

Part Attachments

+
+
+
+ +
+
+
+ diff --git a/InvenTree/part/templates/part/detail.html b/InvenTree/part/templates/part/detail.html index a59b97ce47..419409a95d 100644 --- a/InvenTree/part/templates/part/detail.html +++ b/InvenTree/part/templates/part/detail.html @@ -6,26 +6,24 @@
-

Part Details

+

Part Details

-

- -

+
+ + +
diff --git a/InvenTree/part/templates/part/stock.html b/InvenTree/part/templates/part/stock.html index fb620c1b7b..a329a25249 100644 --- a/InvenTree/part/templates/part/stock.html +++ b/InvenTree/part/templates/part/stock.html @@ -4,7 +4,14 @@ {% include 'part/tabs.html' with tab='stock' %} -

Part Stock

+
+
+

Part Stock

+
+
+
+
+
{% if part.active %} diff --git a/InvenTree/part/templates/part/supplier.html b/InvenTree/part/templates/part/supplier.html index 0f417eb650..00f7fa41d0 100644 --- a/InvenTree/part/templates/part/supplier.html +++ b/InvenTree/part/templates/part/supplier.html @@ -4,7 +4,15 @@ {% include 'part/tabs.html' with tab='suppliers' %} -

Part Suppliers

+
+
+

Part Suppliers

+
+
+
+
+ +
diff --git a/InvenTree/part/templates/part/tabs.html b/InvenTree/part/templates/part/tabs.html index 2bcf894b2a..d8e84a6f09 100644 --- a/InvenTree/part/templates/part/tabs.html +++ b/InvenTree/part/templates/part/tabs.html @@ -37,4 +37,6 @@ Attachments {% if part.attachments.all|length > 0 %}{{ part.attachments.all|length }}{% endif %} - \ No newline at end of file + + +
\ No newline at end of file diff --git a/InvenTree/part/templates/part/used_in.html b/InvenTree/part/templates/part/used_in.html index 118f335468..eca07a585d 100644 --- a/InvenTree/part/templates/part/used_in.html +++ b/InvenTree/part/templates/part/used_in.html @@ -4,7 +4,17 @@ {% include 'part/tabs.html' with tab='used' %} -

Used In

+
+
+

Used to Build

+
+
+
+
+
+
+ +
File
diff --git a/InvenTree/templates/InvenTree/index.html b/InvenTree/templates/InvenTree/index.html index 12019ca7b0..89b412bdcc 100644 --- a/InvenTree/templates/InvenTree/index.html +++ b/InvenTree/templates/InvenTree/index.html @@ -2,7 +2,7 @@ {% block content %}

InvenTree

- +
{% include "InvenTree/starred_parts.html" with collapse_id="starred" %} {% if to_order %}