X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d316a52151685a1b7c295baa12b73a73eabe5657..4c0a2cdc4ea9531a47943ececfa3dc656a0462f1:/wolnelektury/settings/static.py diff --git a/wolnelektury/settings/static.py b/wolnelektury/settings/static.py index 8dcdf8f3b..a3ff42430 100644 --- a/wolnelektury/settings/static.py +++ b/wolnelektury/settings/static.py @@ -1,5 +1,5 @@ from os import path -from settings.paths import PROJECT_DIR +from .paths import PROJECT_DIR # Absolute path to the directory that holds media. # Example: "/home/media/media.lawrence.com/" @@ -30,6 +30,9 @@ PIPELINE_CSS = { 'css/catalogue.css', 'sponsors/css/sponsors.css', 'css/auth.css', + 'funding/funding.scss', + 'polls/polls.scss', + 'css/form.scss', 'css/social/shelf_tags.css', 'css/ui-lightness/jquery-ui-1.8.16.custom.css', @@ -79,8 +82,9 @@ PIPELINE_JS = { 'js/base.js', 'pdcounter/pdcounter.js', 'sponsors/js/sponsors.js', - + 'player/openplayer.js', 'js/search.js', + 'funding/funding.js', ), 'output_filename': 'js/base.min.js', }, @@ -93,7 +97,13 @@ PIPELINE_JS = { 'output_filename': 'js/player.min.js', }, 'book': { - 'source_filenames': ('js/jquery.eventdelegation.js', 'js/jquery.scrollto.js', 'js/jquery.highlightfade.js', 'js/book.js',), + 'source_filenames': [ + 'js/jquery.eventdelegation.js', + 'js/jquery.scrollto.js', + 'js/jquery.highlightfade.js', + 'js/book.js', + 'player/openplayer.js', + ], 'output_filename': 'js/book.min.js', }, 'book_ie': { @@ -106,3 +116,9 @@ PIPELINE_JS = { STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage' PIPELINE_CSS_COMPRESSOR = None PIPELINE_JS_COMPRESSOR = None + +PIPELINE_COMPILERS = ( + 'pyscss_compiler.PySCSSCompiler', +) +PIPELINE_PYSCSS_BINARY = '/usr/bin/env pyscss' +PIPELINE_PYSCSS_ARGUMENTS = ''