Remove "/?" from resource URLs, add missing csrf_token, fix some errors.
[wolnelektury.git] / wolnelektury / settings / static.py
index 83de0da..3ad7d8a 100644 (file)
@@ -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/"
@@ -31,12 +31,11 @@ PIPELINE_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',
-
-            'css/annoy.css',
         ],
         'output_filename': 'css/compressed/all.css',
     },
@@ -49,11 +48,16 @@ PIPELINE_CSS = {
     'book': {
         'source_filenames': [
             'css/master.book.css',
-
-            'css/annoy.css',
         ],
         'output_filename': 'css/compressed/book.css',
     },
+    'picture': {
+        'source_filenames': [
+            'css/master.book.css',
+            'css/master.picture.css',
+        ],
+        'output_filename': 'css/compressed/picture.css',
+    },
     'player': {
         'source_filenames': [
             'jplayer/jplayer.blue.monday.css', 
@@ -87,8 +91,7 @@ PIPELINE_JS = {
             'sponsors/js/sponsors.js',
             'player/openplayer.js',
             'js/search.js',
-
-            'js/annoy.js',
+            'funding/funding.js',
             ),
         'output_filename': 'js/base.min.js',
     },
@@ -106,9 +109,10 @@ PIPELINE_JS = {
             'js/jquery.scrollto.js',
             'js/jquery.highlightfade.js',
             'js/book.js',
+            'js/picture.js',
+            'js/raphael-min.js',
             'player/openplayer.js',
-
-            'js/annoy.js',
+            'js/progressSpin.min.js',
         ],
         'output_filename': 'js/book.min.js',
     },