Include font-awesome scripts

This commit is contained in:
Oliver Walters 2020-04-05 19:42:34 +10:00
parent cfd32db570
commit b0c1999922
2 changed files with 5 additions and 1 deletions

View File

@ -298,7 +298,7 @@ DATE_INPUT_FORMATS = [
STATIC_URL = '/static/'
# The filesystem location for served static files
STATIC_ROOT = CONFIG.get('static_root', os.path.join(BASE_DIR, 'static'))
STATIC_ROOT = os.path.abspath(CONFIG.get('static_root', os.path.join(BASE_DIR, 'static')))
STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'InvenTree', 'static'),

View File

@ -106,6 +106,10 @@ InvenTree
<script type='text/javascript' src="{% static 'script/inventree/order.js' %}"></script>
<script type='text/javascript' src="{% static 'script/inventree/notification.js' %}"></script>
<script type='text/javascript' src="{% static 'script/inventree/sidenav.js' %}"></script>
<script type='text/javascript' src="{% static 'fontawesome/js/solid.js' %}"></script>
<script type='text/javascript' src="{% static 'fontawesome/js/fontawesome.js' %}"></script>
{% block js_load %}
{% endblock %}