Skip to content

Commit

Permalink
Merge pull request #429 from ubccr/static-assets
Browse files Browse the repository at this point in the history
Upgrade bootstrap and serve css/js assets locally instead of cdn.
  • Loading branch information
aebruno committed Jul 7, 2022
2 parents 19d83c2 + 9dc087e commit 5ea5784
Show file tree
Hide file tree
Showing 17 changed files with 263 additions and 14 deletions.
4 changes: 4 additions & 0 deletions coldfront/config/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Base Django settings for ColdFront project.
"""
import os
import sys
import coldfront
from django.core.exceptions import ImproperlyConfigured
from django.core.management.utils import get_random_secret_key
Expand Down Expand Up @@ -49,11 +50,14 @@
]

# Additional Apps
# Hack to fix fontawesome. Will be fixed in version 6
sys.modules['fontawesome_free'] = __import__('fontawesome-free')
INSTALLED_APPS += [
'crispy_forms',
'sslserver',
'django_q',
'simple_history',
'fontawesome_free',
]

# ColdFront Apps
Expand Down
7 changes: 7 additions & 0 deletions coldfront/static/bootstrap/bootstrap.bundle.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions coldfront/static/bootstrap/bootstrap.bundle.min.js.map

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions coldfront/static/bootstrap/bootstrap.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions coldfront/static/bootstrap/bootstrap.min.css.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions coldfront/static/datatable/dataTables.bootstrap4.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions coldfront/static/datatable/dataTables.bootstrap4.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5ea5784

Please sign in to comment.