mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
badge updates
This commit is contained in:
parent
2778ff55da
commit
f542bdc19f
@ -1,6 +1,6 @@
|
||||
:root {
|
||||
--primary-color: #335d88;
|
||||
--secondary-color: #e4dfdf;
|
||||
--secondary-color: #f7f5ee;
|
||||
--highlight-color: #f5efe8;
|
||||
|
||||
--border-color: #ccc;
|
||||
@ -11,7 +11,7 @@
|
||||
--label-grey: #aaa;
|
||||
--label-yellow: #fdc82a;
|
||||
|
||||
--bs-body-color: #555;
|
||||
--bs-body-color: #68686a;
|
||||
}
|
||||
|
||||
.login-screen {
|
||||
@ -441,7 +441,7 @@
|
||||
float: right;
|
||||
}
|
||||
|
||||
.badge {
|
||||
.badge-right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
|
@ -501,7 +501,7 @@ function loadManufacturerPartTable(table, url, options) {
|
||||
}
|
||||
|
||||
if (!row.part_detail.active) {
|
||||
html += `<span class='badge rounded-pill bg-warning'>{% trans "Inactive" %}</span>`;
|
||||
html += `<span class='badge badge-right rounded-pill bg-warning'>{% trans "Inactive" %}</span>`;
|
||||
}
|
||||
|
||||
return html;
|
||||
@ -758,7 +758,7 @@ function loadSupplierPartTable(table, url, options) {
|
||||
}
|
||||
|
||||
if (!row.part_detail.active) {
|
||||
html += `<span class='badge rounded-pill bg-warning'>{% trans "Inactive" %}</span>`;
|
||||
html += `<span class='badge badge-right rounded-pill bg-warning'>{% trans "Inactive" %}</span>`;
|
||||
}
|
||||
|
||||
return html;
|
||||
|
@ -172,7 +172,7 @@ function renderPart(name, data, parameters, options) {
|
||||
}
|
||||
|
||||
if (!data.active) {
|
||||
extra += `<span class='badge rounded-pill bg-danger'>{% trans "Inactive" %}</span>`;
|
||||
extra += `<span class='badge badge-right rounded-pill bg-danger'>{% trans "Inactive" %}</span>`;
|
||||
}
|
||||
|
||||
html += `
|
||||
|
@ -451,7 +451,7 @@ function makePartIcons(part) {
|
||||
}
|
||||
|
||||
if (!part.active) {
|
||||
html += `<span class='badge rounded-pill bg-warning'>{% trans "Inactive" %}</span>`;
|
||||
html += `<span class='badge badge-right rounded-pill bg-warning'>{% trans "Inactive" %}</span>`;
|
||||
}
|
||||
|
||||
return html;
|
||||
@ -528,7 +528,7 @@ function loadPartVariantTable(table, partId, options={}) {
|
||||
}
|
||||
|
||||
if (!row.active) {
|
||||
html += `<span class='badge rounded-pill bg-warning'>{% trans "Inactive" %}</span>`;
|
||||
html += `<span class='badge badge-right rounded-pill bg-warning'>{% trans "Inactive" %}</span>`;
|
||||
}
|
||||
|
||||
return html;
|
||||
|
Loading…
Reference in New Issue
Block a user