diff --git a/InvenTree/InvenTree/settings.py b/InvenTree/InvenTree/settings.py index 2095cab533..7f22ac7813 100644 --- a/InvenTree/InvenTree/settings.py +++ b/InvenTree/InvenTree/settings.py @@ -644,7 +644,7 @@ DATE_INPUT_FORMATS = [ ] # crispy forms use the bootstrap templates -CRISPY_TEMPLATE_PACK = 'bootstrap3' +CRISPY_TEMPLATE_PACK = 'bootstrap4' # Use database transactions when importing / exporting data IMPORT_EXPORT_USE_TRANSACTIONS = True diff --git a/InvenTree/InvenTree/static/css/inventree.css b/InvenTree/InvenTree/static/css/inventree.css index 6a4f625284..57ee5ea243 100644 --- a/InvenTree/InvenTree/static/css/inventree.css +++ b/InvenTree/InvenTree/static/css/inventree.css @@ -10,6 +10,8 @@ --label-green: #50aa51; --label-grey: #aaa; --label-yellow: #fdc82a; + + --bs-body-color: #555; } .login-screen { @@ -144,18 +146,16 @@ padding-right: 5px; } -.navbar-nav > li { - border-left: 1px solid; - border-right: 1px solid; - border-color: #eee; -} - .navbar-form { padding-right: 3px; } +.navbar-light .navbar-nav .nav-link { + color: var(--bs-body-color); +} + #barcode-scan { - margin-top: 8px; + margin-top: 1px; } .icon-header { @@ -895,6 +895,16 @@ input[type="submit"] { margin-right: 2px; } +.btn-secondary { + background-color: var(--bs-body-color); + border-color: var(--bs-body-color); +} + +.btn-outline-secondary { + color: var(--bs-body-color); + border-color: var(--bs-body-color); +} + .btn-small { padding: 3px; padding-left: 5px; diff --git a/InvenTree/part/templates/part/category.html b/InvenTree/part/templates/part/category.html index 54f8b81e0a..5cede4d803 100644 --- a/InvenTree/part/templates/part/category.html +++ b/InvenTree/part/templates/part/category.html @@ -85,7 +85,6 @@ {% else %} -
{% trans "Available Stock" %} |
- {% decimal available %}{% if part.units %} {{ part.units }}{% endif %} |
+ {% trans "Available Stock" %} |
+ {% decimal available %}{% if part.units %} {{ part.units }}{% endif %} |
||
@@ -191,9 +191,9 @@ {% if not part.is_template %} {% if part.assembly %} | |||||
- {% trans "Build Status" %}+{% trans "Build Status" %} |
|||||
- | {% trans "Setting" %} | -{% trans "Value" %} | -{% trans "Description" %} | -- |
---|
-
diff --git a/InvenTree/templates/InvenTree/settings/settings.html b/InvenTree/templates/InvenTree/settings/settings.html
index 9d6f85d163..fd920e42b4 100644
--- a/InvenTree/templates/InvenTree/settings/settings.html
+++ b/InvenTree/templates/InvenTree/settings/settings.html
@@ -174,8 +174,8 @@ $('#cat-param-table').inventreeTable({
title: '{% trans "Default Value" %}',
sortable: 'true',
formatter: function(value, row, index, field) {
- var bEdit = "" + bEdit + bDel + " ";
@@ -273,8 +273,8 @@ $("#param-table").inventreeTable({
},
{
formatter: function(value, row, index, field) {
- var bEdit = "" + bEdit + bDel + " ";
diff --git a/InvenTree/templates/InvenTree/settings/so.html b/InvenTree/templates/InvenTree/settings/so.html
index 2fe5680d71..e6fde3a093 100644
--- a/InvenTree/templates/InvenTree/settings/so.html
+++ b/InvenTree/templates/InvenTree/settings/so.html
@@ -10,7 +10,6 @@
{% block content %}
|