diff --git a/InvenTree/InvenTree/settings.py b/InvenTree/InvenTree/settings.py index f348cdfe04..ccdca1389a 100644 --- a/InvenTree/InvenTree/settings.py +++ b/InvenTree/InvenTree/settings.py @@ -136,6 +136,10 @@ USE_TZ = True STATIC_URL = '/static/' +STATICFILES_DIRS = [ + os.path.join(BASE_DIR, 'static'), +] + MEDIA_URL = '/media/' MEDIA_ROOT = os.path.join(BASE_DIR, 'media') diff --git a/InvenTree/part/static/css/part.css b/InvenTree/part/static/css/part.css deleted file mode 100644 index 4a84b3c210..0000000000 --- a/InvenTree/part/static/css/part.css +++ /dev/null @@ -1,23 +0,0 @@ -body { - padding-left: 15px; -} - -table, th, td { - border: 1px solid black; - border-collapse: collapse; -} - -th, td { - padding: 10px; -} - -th { - text-align: left; -} - -table tr:nth-child(even) { - background-color: #eee; -} -table tr:nth-child(odd) { - background-color: #fff; -} \ No newline at end of file diff --git a/InvenTree/part/templates/base.html b/InvenTree/part/templates/base.html index 326a683758..5e60cc0659 100644 --- a/InvenTree/part/templates/base.html +++ b/InvenTree/part/templates/base.html @@ -10,7 +10,7 @@ - +