Closed jiri-janousek closed 5 years ago
eidas_node/cznic/
__init__.py
TEMPLATE_DIR
STATIC_DIR
templates/eidas_node/connector/base.html
templates/eidas_node/proxy_service/base.html
static/eidas_node/css/screen.css
static/eidas_node/img/logo.svg
from eidas_node import cznic
STATICFILES_DIRS = [cznic.STATIC_DIR]
TEMPLATES['DIRS'] = [cznic.TEMPLATE_DIR]
... from eidas_node import cznic ... STATIC_ROOT = '/var/www/eidas/static' STATIC_URL = '/static/' STATICFILES_DIRS = [cznic.STATIC_DIR] ... TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'DIRS': [cznic.TEMPLATE_DIR], 'OPTIONS': { 'context_processors': [ 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.template.context_processors.i18n', ] } } ]
eidas_node/cznic/
__init__.py
: Helper constantsTEMPLATE_DIR
andSTATIC_DIR
.templates/eidas_node/connector/base.html
: Based on eidas_selector/templates/eidas_selector/selector.htmltemplates/eidas_node/proxy_service/base.html
: Likewise.static/eidas_node/css/screen.css
: Based on eidas_selector/static/eidas_selector/css/screen.cssstatic/eidas_node/img/logo.svg
: Logo CZ.NIC.from eidas_node import cznic
.STATICFILES_DIRS = [cznic.STATIC_DIR]
.TEMPLATES['DIRS'] = [cznic.TEMPLATE_DIR]
.