fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes #3307: place for infograhics miniature.
[edumed.git]
/
edumed
/
settings.d
/
50-static.py
diff --git
a/edumed/settings.d/50-static.py
b/edumed/settings.d/50-static.py
index
f8db048
..
f2924eb
100644
(file)
--- a/
edumed/settings.d/50-static.py
+++ b/
edumed/settings.d/50-static.py
@@
-9,7
+9,7
@@
STATICFILES_FINDERS = (
# 'django.contrib.staticfiles.finders.DefaultStorageFinder',
)
# 'django.contrib.staticfiles.finders.DefaultStorageFinder',
)
-STATICFILES_STORAGE = '
pipeline.storage.
PipelineCachedStorage'
+STATICFILES_STORAGE = '
fnpdjango.utils.pipeline_storage.Gzip
PipelineCachedStorage'
PIPELINE_CSS_COMPRESSOR = None
PIPELINE_JS_COMPRESSOR = None
PIPELINE_CSS = {
PIPELINE_CSS_COMPRESSOR = None
PIPELINE_JS_COMPRESSOR = None
PIPELINE_CSS = {
@@
-17,10
+17,17
@@
PIPELINE_CSS = {
'source_filenames': (
'css/base.scss',
'css/main.scss',
'source_filenames': (
'css/base.scss',
'css/main.scss',
+ 'css/form.scss',
'catalogue/css/carousel.scss',
'catalogue/css/layout.scss',
'catalogue/css/lesson.scss',
'catalogue/css/carousel.scss',
'catalogue/css/layout.scss',
'catalogue/css/lesson.scss',
+ 'catalogue/css/exercise.scss',
'catalogue/css/section_list.scss',
'catalogue/css/section_list.scss',
+ 'curriculum/curriculum.scss',
+ 'jquery/colorbox/colorbox.css',
+
+ 'css/forum.scss',
+ 'css/mil.scss'
),
'output_filename': 'compressed/base.css',
},
),
'output_filename': 'compressed/base.css',
},
@@
-28,15
+35,32
@@
PIPELINE_CSS = {
PIPELINE_JS = {
'base': {
'source_filenames': (
PIPELINE_JS = {
'base': {
'source_filenames': (
- 'catalogue/js/jquery-ui-1.9.2.custom.js',
+ 'catalogue/js/jquery-ui-1.10.0.custom.js',
+ 'catalogue/js/jquery.cycle.all.js',
+ 'jquery/colorbox/jquery.colorbox-min.js',
+ 'jquery/colorbox/jquery.colorbox-pl.js',
+ 'catalogue/js/carousel.js',
'catalogue/js/edumed.js',
'catalogue/js/edumed.js',
+ 'catalogue/js/lesson.js',
+ 'catalogue/js/lesson-list.js',
+ 'sponsors/js/sponsors.js',
+ 'curriculum/curriculum.js',
+ 'js/formset.js',
+ 'pybb/js/pybbjs.js',
),
'output_filename': 'compressed/base.js',
},
),
'output_filename': 'compressed/base.js',
},
+ 'wtem': {
+ 'source_filenames': (
+ 'catalogue/js/jquery-ui-1.10.0.custom.js',
+ 'wtem/edumed.js',
+ 'wtem/wtem.js',
+ 'wtem/json2.js'
+ ),
+ 'output_filename': 'compressed/wtem.js'
+ },
}
PIPELINE_COMPILERS = (
'pipeline.compilers.sass.SASSCompiler',
)
}
PIPELINE_COMPILERS = (
'pipeline.compilers.sass.SASSCompiler',
)
-
-PIPELINE_STORAGE = 'pipeline.storage.PipelineFinderStorage'