Rearrange source.
[turniej.git] / apps / edition2 / templates / edition2 / base.html
diff --git a/apps/edition2/templates/edition2/base.html b/apps/edition2/templates/edition2/base.html
deleted file mode 100644 (file)
index a73ae2f..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<!doctype html>
-<html>
-<head>
-    <title>Turniej Wolnych Lektur{% block "extratitle" %}{% endblock %}</title>
-    <meta charset="utf-8" />
-
-    <link rel="shortcut icon" href="{{ STATIC_URL }}img/favicon.ico" />
-    <style type="text/css">
-    @import "{{ STATIC_URL }}edition2/style.css";
-    @import "{{ STATIC_URL }}js/jquery.countdown.css";
-    </style>
-</head>
-
-<body>
-
-<div id="body-wrapper">
-<div id="body">
-{% block "body" %}{% endblock %}
-</div>
-</div>
-
-<footer>
-<a href='http://nowoczesnapolska.org.pl'><img src='{{ STATIC_URL }}img/fnp_black.png' alt='Fundacja Nowoczesna Polska' title='Fundacja Nowoczesna Polska' /></a>
-<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>
-</body>
-
-
-</html>