diff --git a/.github/workflows/check_translations.yaml b/.github/workflows/check_translations.yaml
index 3407dc7fd8..eb02ceff09 100644
--- a/.github/workflows/check_translations.yaml
+++ b/.github/workflows/check_translations.yaml
@@ -31,7 +31,7 @@ jobs:
sudo apt-get install gettext
pip3 install invoke
invoke install
- - name: Test Translations
+ - name: Test Translations
run: invoke translate
- name: Check Migration Files
run: python3 ci/check_migration_files.py
diff --git a/.github/workflows/qc_checks.yaml b/.github/workflows/qc_checks.yaml
index b884796cec..2245a5242f 100644
--- a/.github/workflows/qc_checks.yaml
+++ b/.github/workflows/qc_checks.yaml
@@ -197,7 +197,7 @@ jobs:
invoke migrate
invoke import-records -f data.json
invoke import-records -f data.json
- - name: Test Translations
+ - name: Test Translations
run: invoke translate
- name: Check Migration Files
run: python3 ci/check_migration_files.py
diff --git a/.gitpod.yml b/.gitpod.yml
index 33389c5960..1cc823a74f 100644
--- a/.gitpod.yml
+++ b/.gitpod.yml
@@ -29,7 +29,7 @@ tasks:
git clone https://github.com/inventree/demo-dataset /workspace/InvenTree/inventree-data
invoke delete-data -f
invoke import-records -f /workspace/InvenTree/inventree-data/inventree_data.json
-
+
inv server
# List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index e6a58dba54..f1bdc6ad85 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -2,7 +2,7 @@ Please read the contribution guidelines below, before submitting your first pull
## Setup
-Please run `invoke setup_dev` in the root directory of your InvenTree code base to set up your development setup before starting to contribute. This will install and set up pre-commit to run some checks before each commit and help reduce the style errors.
+Please run `invoke setup_dev` in the root directory of your InvenTree code base to set up your development setup before starting to contribute. This will install and set up pre-commit to run some checks before each commit and help reduce the style errors.
## Branches and Versioning
@@ -94,7 +94,7 @@ The various github actions can be found in the `./github/workflows` directory
## Code Style
-Sumbitted Python code is automatically checked against PEP style guidelines. Locally you can run `invoke style` to ensure the style checks will pass, before submitting the PR.
+Sumbitted Python code is automatically checked against PEP style guidelines. Locally you can run `invoke style` to ensure the style checks will pass, before submitting the PR.
Please write docstrings for each function and class - we follow the [google doc-style](https://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings) for python. Docstrings for general javascript code is encouraged! Docstyles are checked by `invoke style`.
## Documentation
@@ -166,4 +166,3 @@ The tags describe issues and PRs in multiple areas:
| | docker | Docker / docker-compose |
| | CI | CI / unit testing ecosystem |
| | setup | Relates to the InvenTree setup / installation process |
-
diff --git a/InvenTree/InvenTree/static/css/bootstrap-treeview.css b/InvenTree/InvenTree/static/css/bootstrap-treeview.css
index 23c6cf0668..1023438a24 100644
--- a/InvenTree/InvenTree/static/css/bootstrap-treeview.css
+++ b/InvenTree/InvenTree/static/css/bootstrap-treeview.css
@@ -1,9 +1,9 @@
/* =========================================================
* bootstrap-treeview.css v1.2.0
* =========================================================
- * Copyright 2013 Jonathan Miles
+ * Copyright 2013 Jonathan Miles
* Project URL : http://www.jondmiles.com/bootstrap-treeview
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -34,4 +34,4 @@
.treeview .node-disabled {
color: silver;
cursor: not-allowed;
-}
\ No newline at end of file
+}
diff --git a/InvenTree/InvenTree/static/css/color-themes/dark-reader.css b/InvenTree/InvenTree/static/css/color-themes/dark-reader.css
index 5270d5ead5..9a383d4fde 100644
--- a/InvenTree/InvenTree/static/css/color-themes/dark-reader.css
+++ b/InvenTree/InvenTree/static/css/color-themes/dark-reader.css
@@ -104,7 +104,7 @@ select:-webkit-autofill {
fill: rgb(232, 230, 227);
}
.fad.fa-inverse {
- color: rgb(232, 230, 227);
+ color: rgb(232, 230, 227);
}
:root {
--bs-blue: #0d6efd; --bs-indigo: #6610f2; --bs-purple: #6f42c1; --bs-pink: #d63384; --bs-red: #dc3545; --bs-orange: #fd7e14; --bs-yellow: #ffc107; --bs-green: #198754; --bs-teal: #20c997; --bs-cyan: #0dcaf0; --bs-white: #fff; --bs-gray: #6c757d; --bs-gray-dark: #343a40; --bs-gray-100: #f8f9fa; --bs-gray-200: #e9ecef; --bs-gray-300: #dee2e6; --bs-gray-400: #ced4da; --bs-gray-500: #adb5bd; --bs-gray-600: #6c757d; --bs-gray-700: #495057; --bs-gray-800: #343a40; --bs-gray-900: #212529; --bs-primary: #0d6efd; --bs-secondary: #6c757d; --bs-success: #198754; --bs-info: #0dcaf0; --bs-warning: #ffc107; --bs-danger: #dc3545; --bs-light: #f8f9fa; --bs-dark: #212529; --darkreader-bg--bs-primary-rgb: 13,110,253; --darkreader-text--bs-primary-rgb: 13,110,253; --darkreader-bg--bs-secondary-rgb: 108,117,125; --darkreader-text--bs-secondary-rgb: 108,117,125; --darkreader-bg--bs-success-rgb: 25,135,84; --darkreader-text--bs-success-rgb: 25,135,84; --darkreader-bg--bs-info-rgb: 13,202,240; --darkreader-text--bs-info-rgb: 13,202,240; --darkreader-bg--bs-warning-rgb: 255,193,7; --darkreader-text--bs-warning-rgb: 255,193,7; --darkreader-bg--bs-danger-rgb: 220,53,69; --darkreader-text--bs-danger-rgb: 220,53,69; --darkreader-bg--bs-light-rgb: 248,249,250; --darkreader-text--bs-light-rgb: 248,249,250; --darkreader-bg--bs-dark-rgb: 33,37,41; --darkreader-text--bs-dark-rgb: 33,37,41; --darkreader-bg--bs-white-rgb: 255,255,255; --darkreader-text--bs-white-rgb: 255,255,255; --darkreader-bg--bs-black-rgb: 0,0,0; --darkreader-text--bs-black-rgb: 0,0,0; --darkreader-text--bs-body-color-rgb: 33,37,41; --darkreader-bg--bs-body-bg-rgb: 255,255,255; --bs-font-sans-serif: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; --bs-font-monospace: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",
@@ -701,13 +701,13 @@ iframe {
}
.form-check-input:checked {
background-color: rgb(2, 80, 196);
- border-color: rgb(1, 71, 174);
+ border-color: rgb(1, 71, 174);
}
.form-check-input:checked[type="checkbox"] {
- background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}
.form-check-input:checked[type="radio"] {
- background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}
.form-check-input[type="checkbox"]:indeterminate {
background-color: rgb(2, 80, 196);
@@ -2211,26 +2211,26 @@ iframe {
}
@media (max-width: 1399.98px) {
.modal-fullscreen-xxl-down .modal-content {
- border-color: initial;
+ border-color: initial;
}
}
.tooltip {
- text-decoration-color: initial; text-shadow: none;
+ text-decoration-color: initial; text-shadow: none;
}
.tooltip .tooltip-arrow::before {
- border-color: transparent;
+ border-color: transparent;
}
.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before,
.bs-tooltip-top .tooltip-arrow::before {
- border-top-color: rgb(140, 130, 115);
+ border-top-color: rgb(140, 130, 115);
}
.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before,
.bs-tooltip-end .tooltip-arrow::before {
- border-right-color: rgb(140, 130, 115);
+ border-right-color: rgb(140, 130, 115);
}
.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before,
.bs-tooltip-bottom .tooltip-arrow::before {
- border-bottom-color: rgb(140, 130, 115);
+ border-bottom-color: rgb(140, 130, 115);
}
.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before,
.bs-tooltip-start .tooltip-arrow::before {
@@ -2244,42 +2244,42 @@ iframe {
text-decoration-color: initial;
text-shadow: none;
background-color: rgb(24, 26, 27);
- border-color: rgba(140, 130, 115, 0.2);
+ border-color: rgba(140, 130, 115, 0.2);
}
.popover .popover-arrow::after, .popover .popover-arrow::before {
- border-color: transparent;
+ border-color: transparent;
}
.bs-popover-auto[data-popper-placement^="top"] > .popover-arrow::before,
.bs-popover-top > .popover-arrow::before {
- border-top-color: rgba(140, 130, 115, 0.25);
+ border-top-color: rgba(140, 130, 115, 0.25);
}
.bs-popover-auto[data-popper-placement^="top"] > .popover-arrow::after,
.bs-popover-top > .popover-arrow::after {
- border-top-color: rgb(48, 52, 54);
+ border-top-color: rgb(48, 52, 54);
}
.bs-popover-auto[data-popper-placement^="right"] > .popover-arrow::before,
.bs-popover-end > .popover-arrow::before {
- border-right-color: rgba(140, 130, 115, 0.25);
+ border-right-color: rgba(140, 130, 115, 0.25);
}
.bs-popover-auto[data-popper-placement^="right"] > .popover-arrow::after,
.bs-popover-end > .popover-arrow::after {
- border-right-color: rgb(48, 52, 54);
+ border-right-color: rgb(48, 52, 54);
}
.bs-popover-auto[data-popper-placement^="bottom"] > .popover-arrow::before,
.bs-popover-bottom > .popover-arrow::before {
- border-bottom-color: rgba(140, 130, 115, 0.25);
+ border-bottom-color: rgba(140, 130, 115, 0.25);
}
.bs-popover-auto[data-popper-placement^="bottom"] > .popover-arrow::after,
.bs-popover-bottom > .popover-arrow::after {
- border-bottom-color: rgb(48, 52, 54);
+ border-bottom-color: rgb(48, 52, 54);
}
.bs-popover-auto[data-popper-placement^="bottom"] .popover-header::before,
.bs-popover-bottom .popover-header::before {
- border-bottom-color: rgb(52, 57, 59);
+ border-bottom-color: rgb(52, 57, 59);
}
.bs-popover-auto[data-popper-placement^="left"] > .popover-arrow::before,
.bs-popover-start > .popover-arrow::before {
- border-left-color: rgba(140, 130, 115, 0.25);
+ border-left-color: rgba(140, 130, 115, 0.25);
}
.bs-popover-auto[data-popper-placement^="left"] > .popover-arrow::after,
.bs-popover-start > .popover-arrow::after {
@@ -2786,13 +2786,13 @@ iframe {
background-color: rgb(34, 36, 38);
}
.select2-container--default .select2-search--dropdown .select2-search__field {
- border-color: rgb(72, 78, 81);
+ border-color: rgb(72, 78, 81);
}
.select2-container--default .select2-search--inline .select2-search__field {
- background-image: initial; background-color: transparent; border-color: initial; outline-color: initial; box-shadow: none;
+ background-image: initial; background-color: transparent; border-color: initial; outline-color: initial; box-shadow: none;
}
.select2-container--default .select2-results__option[aria-disabled="true"] {
- color: rgb(168, 160, 149);
+ color: rgb(168, 160, 149);
}
.select2-container--default .select2-results__option[aria-selected="true"] {
background-color: rgb(43, 47, 49);
@@ -2827,7 +2827,7 @@ iframe {
rgb(53, 57, 59) 100%);
}
.select2-container--classic .select2-selection--single .select2-selection__arrow b {
- border-color: rgb(82, 88, 92) transparent transparent;
+ border-color: rgb(82, 88, 92) transparent transparent;
}
.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
border-top-color: initial;
@@ -2895,13 +2895,13 @@ iframe {
box-shadow: none;
}
.select2-container--classic .select2-dropdown {
- background-color: rgb(24, 26, 27); border-color: transparent;
+ background-color: rgb(24, 26, 27); border-color: transparent;
}
.select2-container--classic .select2-dropdown--above {
- border-bottom-color: initial;
+ border-bottom-color: initial;
}
.select2-container--classic .select2-dropdown--below {
- border-top-color: initial;
+ border-top-color: initial;
}
.select2-container--classic .select2-results__option[aria-disabled="true"] {
color: rgb(152, 143, 129);
@@ -2962,14 +2962,14 @@ iframe {
}
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--highlighted {
color: rgb(232, 230, 227);
- background-color: rgb(27, 30, 31);
+ background-color: rgb(27, 30, 31);
}
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected, .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected="true"] {
color: rgb(232, 230, 227);
- background-color: rgb(2, 80, 196);
+ background-color: rgb(2, 80, 196);
}
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--disabled, .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-disabled="true"] {
- color: rgb(158, 150, 137);
+ color: rgb(158, 150, 137);
}
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[role="group"] .select2-results__group {
color: rgb(158, 150, 137);
@@ -3685,7 +3685,7 @@ a.ui-button:active,
border-color: rgb(62, 68, 70);
}
.form-field-error {
- color: rgb(194, 102, 100);
+ color: rgb(194, 102, 100);
}
input[type="submit"] {
color: rgb(200, 195, 188);
diff --git a/InvenTree/InvenTree/static/css/inventree.css b/InvenTree/InvenTree/static/css/inventree.css
index 4abba23b09..ca3f8a2955 100644
--- a/InvenTree/InvenTree/static/css/inventree.css
+++ b/InvenTree/InvenTree/static/css/inventree.css
@@ -19,7 +19,7 @@ main {
}
.login-screen {
- background: url(/static/img/paper_splash.jpg) no-repeat center fixed;
+ background: url(/static/img/paper_splash.jpg) no-repeat center fixed;
background-size: cover;
height: 100vh;
font-family: 'Numans', sans-serif;
@@ -259,7 +259,7 @@ main {
}
.rowinvalid {
- color: #A00;
+ color: #A00;
}
.rowinherited {
@@ -306,7 +306,7 @@ main {
padding-left: 2px;
transform: translate(0%, -25%);
}
-
+
.filter-list .close:hover {
background: #bbb;
}
@@ -1008,7 +1008,7 @@ input[type='number']{
.product-card-panel{
height: 100%;
- margin-bottom: 5px;
+ margin-bottom: 5px;
}
.borderless {
@@ -1047,4 +1047,4 @@ a {
padding: 3px;
margin-top: 3px;
overflow: hidden;
-}
\ No newline at end of file
+}
diff --git a/InvenTree/InvenTree/static/fontawesome/webfonts/fa-brands-400.svg b/InvenTree/InvenTree/static/fontawesome/webfonts/fa-brands-400.svg
index 46ad237a61..304135c663 100644
--- a/InvenTree/InvenTree/static/fontawesome/webfonts/fa-brands-400.svg
+++ b/InvenTree/InvenTree/static/fontawesome/webfonts/fa-brands-400.svg
@@ -12,7 +12,7 @@ Copyright (c) Font Awesome
<!doctype html>
@@ -100,7 +100,7 @@
<tr class="treegrid-4 treegrid-parent-3">
<td>Node 1-2-1</td><td>Additional info</td>
</tr>
- </table>
+ </table>
</body>
</html>
@@ -128,4 +128,4 @@
}
-