Merge branch 'master' of github.com:FinalsClub/karmaworld
[oweals/karmaworld.git] / karmaworld / templates / base.html
1 {% load url from future %}
2 <!DOCTYPE html>
3 <html lang="en">
4 <head>
5   <meta charset="utf-8" />
6   <title>KarmaNotes -- {% block title %}{% endblock %}</title>
7         
8   <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/fontface/fontface.css">
9   <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/foundation.min.css">
10   <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/global.css">
11         <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/lightbox.css">
12         <link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css">
13   <link href="{{ STATIC_URL }}ajaxuploader/css/fileuploader.css" media="screen" rel="stylesheet" type="text/css" />
14
15   <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
16   <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
17   <script src="{{ STATIC_URL }}ajaxuploader/js/fileuploader.js" ></script>
18
19   <!-- block pagescripts -->
20   {% block pagescripts %}
21   {% endblock %}
22   <!-- end block pagescripts -->
23
24   <!-- block pagestyle -->
25   {% block pagestyle %}
26   {% endblock %}
27   <!-- end block pagescripts -->
28
29   <script type="text/javascript">
30
31     var _gaq = _gaq || [];
32     _gaq.push(['_setAccount', 'UA-36897868-1']);
33     _gaq.push(['_setDomainName', 'karmanotes.org']);
34     _gaq.push(['_trackPageview']);
35
36     (function() {
37       var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
38       ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
39       var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
40     })();
41
42   </script>
43
44         
45 </head>
46 <body>
47 <!-- include header -->
48 {% include 'header.html' %}
49 <!-- end include header -->
50
51 <!-- block content -->
52 {% block content %}
53 {% endblock %}
54 <!-- end block content -->
55
56 <!-- block lightboxen-->
57 {% block lightboxen %}
58 {% endblock %}
59 <!-- end block lightboxen-->
60
61 <!-- include footer-->
62 {% include 'footer.html' %}
63 <!-- end include footer-->
64
65
66 </body>
67 </html>