diff templates/sat_website/base.html @ 29:b45621706d83

use Bootstrap carousels to display images and videos galeries: - one carousel for a 3x3 thumbnails grid - a second one in a modal window to view bigger pictures when a thumbnail is clicked
author souliane <souliane@mailoo.org>
date Wed, 21 Jan 2015 20:13:19 +0100
parents 30a1edf90fae
children 73c6333fd124
line wrap: on
line diff
--- a/templates/sat_website/base.html	Wed Jan 21 20:08:26 2015 +0100
+++ b/templates/sat_website/base.html	Wed Jan 21 20:13:19 2015 +0100
@@ -58,12 +58,6 @@
     {% block content %}{% endblock %}
     <script src="{% static "js/jquery.min.js" %}"></script>
     <script src="{% static "bootstrap/js/bootstrap.min.js" %}"></script>
-    <script type="text/javascript">
-		$(document).ready(function() {
-		    $('#language_select').change(function() {
-			    $('#language_form').submit();
-			});
-		});
-    </script>
+    <script src="{% static "js/sat_website.js" %}"></script>
 </body>
 </html>