Skip to content

Commit d426e37

Browse files
Merge pull request #1333 from SchrodingersGat/cleaner-homepage
Cleaner homepage
2 parents cc2b672 + 2b1101e commit d426e37

25 files changed

+312
-465
lines changed

InvenTree/InvenTree/static/css/inventree.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,16 @@
5050
border-radius: 5px;
5151
}
5252

53+
.index-bg {
54+
width: 100%;
55+
object-fit: fill;
56+
opacity: 5%;
57+
}
58+
59+
.index-action-selected {
60+
background-color: #EEEEF5;
61+
}
62+
5363
.markdownx .row {
5464
margin: 5px;
5565
padding: 5px;
@@ -487,6 +497,14 @@
487497
background-color: #f33;
488498
}
489499

500+
.badge-orange {
501+
background-color: #fcba03;
502+
}
503+
504+
.badge-green {
505+
background-color: #1A1;
506+
}
507+
490508
.part-thumb {
491509
width: 200px;
492510
height: 200px;

InvenTree/company/api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ def get_serializer(self, *args, **kwargs):
184184
'manufacturer__name',
185185
'description',
186186
'MPN',
187+
'part__name',
188+
'part__description',
187189
]
188190

189191

InvenTree/templates/InvenTree/bom_invalid.html

Lines changed: 0 additions & 15 deletions
This file was deleted.

InvenTree/templates/InvenTree/build_overdue.html

Lines changed: 0 additions & 15 deletions
This file was deleted.

InvenTree/templates/InvenTree/build_pending.html

Lines changed: 0 additions & 15 deletions
This file was deleted.

InvenTree/templates/InvenTree/expired_stock.html

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)