diff --git a/benchcoach/settings.py b/benchcoach/settings.py index 53fadec..7333e1f 100644 --- a/benchcoach/settings.py +++ b/benchcoach/settings.py @@ -42,7 +42,9 @@ INSTALLED_APPS = [ 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', - 'bootstrap5' + 'bootstrap5', + 'crispy_forms', + 'benchcoach' ] MIDDLEWARE = [ @@ -132,4 +134,6 @@ STATIC_URL = '/static/' DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' MEDIA_URL = '/media/' -MEDIA_ROOT = os.path.join(BASE_DIR, 'media') \ No newline at end of file +MEDIA_ROOT = os.path.join(BASE_DIR, 'media') + +CRISPY_TEMPLATE_PACK = 'bootstrap4' \ No newline at end of file diff --git a/benchcoach/static/base.css b/benchcoach/static/base.css new file mode 100644 index 0000000..8a60244 --- /dev/null +++ b/benchcoach/static/base.css @@ -0,0 +1,7 @@ +body { + padding-top: 5rem; +} +.starter-template { + padding: 3rem 1.5rem; + text-align: center; +} \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index d13ed87..2052de3 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,28 +1,42 @@ - -{% load bootstrap5 %} -{% bootstrap_css %} -{% bootstrap_javascript %} + {% load bootstrap5 %} {% load static %} +