1 # -*- coding: utf-8 -*-
3 # This file is part of MIL/PEER, licensed under GNU Affero GPLv3 or later.
4 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
6 STATICFILES_FINDERS = (
7 'django.contrib.staticfiles.finders.FileSystemFinder',
8 'django.contrib.staticfiles.finders.AppDirectoriesFinder',
9 # 'django.contrib.staticfiles.finders.DefaultStorageFinder',
13 STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
14 PIPELINE_CSS_COMPRESSOR = None
15 PIPELINE_JS_COMPRESSOR = None
16 PIPELINE_STORAGE = 'pipeline.storage.PipelineFinderStorage'
19 # CSS and JS files to compress
29 'css/jquery.autocomplete.css',
32 'output_filename': 'compressed/detail_styles.css',
38 'datepicker/css/datepicker.css',
40 'output_filename': 'compressed/catalogue_styles.css',
46 'output_filename': 'compressed/book.css',
50 'contextmenu/jquery.contextMenu.css',
53 'output_filename': 'compressed/book_list.css',
58 # everything except codemirror
62 'js/lib/jquery/jquery.autocomplete.js',
63 'js/lib/jquery/jquery.blockui.js',
64 'js/lib/jquery/jquery.elastic.js',
65 'js/lib/jquery/jquery.xmlns.js',
66 'js/button_scripts.js',
78 'js/wiki/dialog_save.js',
79 'js/wiki/dialog_revert.js',
80 'js/wiki/dialog_pubmark.js',
83 'js/wiki/view_history.js',
84 'js/wiki/view_summary.js',
85 'js/wiki/view_editor_source.js',
86 'js/wiki/view_editor_wysiwyg.js',
87 'js/wiki/view_gallery.js',
88 'js/wiki/view_annotations.js',
89 'js/wiki/view_search.js',
90 'js/wiki/view_column_diff.js',
92 'output_filename': 'compressed/detail_scripts.js',
96 'js/catalogue/catalogue.js',
98 'email_mangler/email_mangler.js',
99 'datepicker/js/bootstrap-datepicker.js',
101 'output_filename': 'compressed/catalogue_scripts.js',
104 'source_filenames': (
105 'js/book_text/jquery.eventdelegation.js',
106 'js/book_text/jquery.scrollto.js',
107 'js/book_text/jquery.highlightfade.js',
108 'js/book_text/book.js',
110 'output_filename': 'compressed/book.js',
113 'source_filenames': (
114 'contextmenu/jquery.ui.position.js',
115 'contextmenu/jquery.contextMenu.js',
116 'js/catalogue/book_list.js',
118 'output_filename': 'compressed/book_list.js',