diff --git a/dal/dal/settings.py b/dal/dal/settings.py index 6acbc1c..fceeb2d 100644 --- a/dal/dal/settings.py +++ b/dal/dal/settings.py @@ -66,6 +66,7 @@ NAMEKO_POOL_SIZE = 4 # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) +STATIC_ROOT = os.path.dirname('/home/downhill/ungleich/vuejsuserservice/dal/dal/static/') # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/1.10/howto/deployment/checklist/ @@ -88,6 +89,7 @@ INSTALLED_APPS = [ 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', + 'sekizai', 'dal', ] @@ -123,6 +125,7 @@ TEMPLATES = [ 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', + 'sekizai.context_processors.sekizai', ], }, }, diff --git a/dal/dal/templates/base_short.html b/dal/dal/templates/base_short.html index 0dbe8bf..699bdf7 100644 --- a/dal/dal/templates/base_short.html +++ b/dal/dal/templates/base_short.html @@ -1,4 +1,4 @@ -{% load staticfiles i18n %} +{% load staticfiles i18n sekizai_tags %} @@ -18,19 +18,19 @@ - + - + - + {% block css_extra %} {% endblock css_extra %} - + {% render_block "css" postprocessor "compressor.contrib.sekizai.compress" %} + diff --git a/dal/dal/templates/landing.html b/dal/dal/templates/landing.html index 6bd3c45..cc836e2 100644 --- a/dal/dal/templates/landing.html +++ b/dal/dal/templates/landing.html @@ -8,6 +8,7 @@ .auth-footer { color: black; } +a:link { color: #000000 }