From fe265caec8fc65334572c6f103386c1863f84d15 Mon Sep 17 00:00:00 2001 From: downhill Date: Sat, 10 Nov 2018 16:06:25 +0100 Subject: [PATCH] minor changes, can't figure it out --- dal/dal/settings.py | 3 +++ dal/dal/templates/base_short.html | 14 +++++++------- dal/dal/templates/landing.html | 5 +++-- 3 files changed, 13 insertions(+), 9 deletions(-) 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 }
@@ -19,8 +20,8 @@
{% csrf_token %}
-
Username:
-
Password:
+
+