Changing wording on the "thank you" landing page
[wolnelektury.git] / wolnelektury / settings / static.py
1 from os import path
2 from .paths import PROJECT_DIR
3
4 # Absolute path to the directory that holds media.
5 # Example: "/home/media/media.lawrence.com/"
6 MEDIA_ROOT = path.join(PROJECT_DIR, '../media/')
7 STATIC_ROOT = path.join(PROJECT_DIR, '../static/')
8 SEARCH_INDEX = path.join(PROJECT_DIR, '../search_index/')
9
10 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
11 # trailing slash if there is a path component (optional in other cases).
12 # Examples: "http://media.lawrence.com", "http://example.com/media/"
13 MEDIA_URL = '/media/'
14 STATIC_URL = '/static/'
15
16 # CSS and JavaScript file groups
17 PIPELINE_CSS = {
18     'all': {
19         # styles both for mobile and for big screen
20         'source_filenames': [
21             'css/jquery.countdown.css', 
22
23             'css/base.css',
24             'css/cite.css',
25             'css/header.css',
26             'css/main_page.css',
27             'css/dialogs.css',
28             'css/picture_box.css',
29             'css/book_box.css',
30             'css/catalogue.css',
31             'sponsors/css/sponsors.css',
32             'css/auth.css',
33             'funding/funding.scss',
34             'polls/polls.scss',
35             'css/form.scss',
36
37             'css/social/shelf_tags.css',
38             'css/ui-lightness/jquery-ui-1.8.16.custom.css',
39
40             'css/annoy.css',
41         ],
42         'output_filename': 'css/compressed/all.css',
43     },
44     'ie': {
45         'source_filenames': [
46             'css/ie.css',
47         ],
48         'output_filename': 'css/compressed/ie.css',
49     },
50     'book': {
51         'source_filenames': [
52             'css/master.book.css',
53
54             'css/annoy.css',
55         ],
56         'output_filename': 'css/compressed/book.css',
57     },
58     'player': {
59         'source_filenames': [
60             'jplayer/jplayer.blue.monday.css', 
61             'player/player.css', 
62         ],
63         'output_filename': 'css/compressed/player.css',
64     },
65     'simple': {
66         'source_filenames': ('css/simple.css',),
67         'output_filename': 'css/compressed/simple.css',
68     },
69 }
70
71 PIPELINE_JS = {
72     'base': {
73         'source_filenames': (
74             'js/jquery.cycle.min.js',
75             'js/jquery.jqmodal.js',
76             'js/jquery.form.js',
77             'js/jquery.countdown.js', 'js/jquery.countdown-pl.js',
78             'js/jquery.countdown-de.js', 'js/jquery.countdown-uk.js',
79             'js/jquery.countdown-es.js', 'js/jquery.countdown-lt.js',
80             'js/jquery.countdown-ru.js', 'js/jquery.countdown-fr.js',
81
82             'js/jquery-ui-1.8.16.custom.min.js',
83
84             'js/locale.js',
85             'js/dialogs.js',
86             'js/base.js',
87             'pdcounter/pdcounter.js',
88             'sponsors/js/sponsors.js',
89             'player/openplayer.js',
90             'js/search.js',
91             'funding/funding.js',
92             
93             'js/annoy.js',
94             ),
95         'output_filename': 'js/base.min.js',
96     },
97     'player': {
98         'source_filenames': [
99             'jplayer/jquery.jplayer.min.js', 
100             'jplayer/jplayer.playlist.min.js', 
101             'player/player.js', 
102         ],
103         'output_filename': 'js/player.min.js',
104     },
105     'book': {
106         'source_filenames': [
107             'js/jquery.eventdelegation.js',
108             'js/jquery.scrollto.js',
109             'js/jquery.highlightfade.js',
110             'js/book.js',
111             'player/openplayer.js',
112
113             'js/annoy.js',
114         ],
115         'output_filename': 'js/book.min.js',
116     },
117     'book_ie': {
118         'source_filenames': ('js/ierange-m2.js',),
119         'output_filename': 'js/book_ie.min.js',
120     }
121
122 }
123
124 STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
125 PIPELINE_CSS_COMPRESSOR = None
126 PIPELINE_JS_COMPRESSOR = None
127
128 PIPELINE_COMPILERS = (
129     'pyscss_compiler.PySCSSCompiler',
130 )
131 PIPELINE_PYSCSS_BINARY = '/usr/bin/env pyscss'
132 PIPELINE_PYSCSS_ARGUMENTS = ''