X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/ee99f155d35803cc802ce2a2200fb98cee015772..ca89e871c8be7f850a1bea24a4ba59993372b7ed:/redakcja/settings/compress.py diff --git a/redakcja/settings/compress.py b/redakcja/settings/compress.py index 61437292..decfa166 100644 --- a/redakcja/settings/compress.py +++ b/redakcja/settings/compress.py @@ -1,7 +1,12 @@ +# -*- coding: utf-8 -*- +# +# This file is part of MIL/PEER, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# STATICFILES_FINDERS = ( 'django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', -# 'django.contrib.staticfiles.finders.DefaultStorageFinder', + # 'django.contrib.staticfiles.finders.DefaultStorageFinder', ) @@ -14,7 +19,7 @@ PIPELINE_STORAGE = 'pipeline.storage.PipelineFinderStorage' # CSS and JS files to compress PIPELINE_CSS = { 'detail': { - 'source_filenames': ( + 'source_filenames': ( 'css/master.css', 'css/toolbar.css', 'css/gallery.css', @@ -28,11 +33,13 @@ PIPELINE_CSS = { }, 'catalogue': { 'source_filenames': ( - 'css/filelist.css', + # 'css/filelist.css', + 'css/base.css', + 'datepicker/css/datepicker.css', ), 'output_filename': 'compressed/catalogue_styles.css', - }, - 'book': { + }, + 'book': { 'source_filenames': ( 'css/book.css', ), @@ -89,10 +96,11 @@ PIPELINE_JS = { 'js/catalogue/catalogue.js', 'js/slugify.js', 'email_mangler/email_mangler.js', + 'datepicker/js/bootstrap-datepicker.js', ), 'output_filename': 'compressed/catalogue_scripts.js', - }, - 'book': { + }, + 'book': { 'source_filenames': ( 'js/book_text/jquery.eventdelegation.js', 'js/book_text/jquery.scrollto.js',