Simple update.
[turniej.git] / apps / edition2 / templates / edition2 / base.html
index a73ae2f..fbb7a81 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <html>
 <head>
     <title>Turniej Wolnych Lektur{% block "extratitle" %}{% endblock %}</title>
 <a href='http://wolnelektury.pl'><img src='{{ STATIC_URL }}img/wl_black.png' alt='Wolne Lektury' title='Wolne Lektury' /></a>
 </footer>
 
-
-{{ piwik_tag|safe }}
-<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
-<script type="text/javascript" src="{{ STATIC_URL }}js/jquery.countdown.min.js"></script>
-<script type="text/javascript" src="{{ STATIC_URL }}js/jquery.countdown-pl.js"></script>
-<script type="text/javascript">
-$(function () {
-    var serverTime = function() {
-        var time = null;
-        $.ajax({url: 'http://wolnelektury.pl/zegar/',
-            async: false, dataType: 'text',
-            success: function(text) {
-                time = new Date(text+" +1");
-            }, error: function(http, message, exc) {
-                time = new Date();
-        }});
-        return time;
-    }
-    var deadline = new Date("2013/02/22 23:0:0 +0");
-    $('#countdown').countdown({
-        until: deadline,
-        serverSync: serverTime
-    });
-});
-</script>
+{% load piwik_tags %}
+{% tracking_code %}
 </body>