base.html 3.89 KB
Newer Older
fred's avatar
fred committed
1
{% load paniktags %}{% load fiber_tags %}<!DOCTYPE html>
fred's avatar
fred committed
2
3
<html>
<head>
fred's avatar
fred committed
4
    <meta charset="UTF-8" />
fred's avatar
fred committed
5
    <title>Radio Panik - {% block title %}{% endblock %}</title>
6
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
7
    <link rel="icon" href="{{ STATIC_URL }}img/favicon.png" type="image/png">
8
9
    <link rel="apple-touch-icon" href="{{ STATIC_URL}}img/touch-icon.png">
    <link rel="apple-touch-icon-precomposed" href="{{ STATIC_URL}}img/touch-icon.png">
10

Simon Daron's avatar
Simon Daron committed
11
12
13
14
<link rel="alternate" type="application/rss+xml"  href="{% url 'rss-feed' %}" title="News rss feed">
<link rel="alternate" type="application/rss+xml"  href="{% url 'atom-feed' %}" title="News atom feed">
<link rel="alternate" type="application/rss+xml"  href="{% url 'podcasts-feed' %}" title="Podcast sounds">

15
    <link rel="stylesheet" href="{{ STATIC_URL }}css/reset.css" type="text/css" />
16
    <link rel="stylesheet" href="{{ STATIC_URL }}font-awesome/css/font-awesome.min.css" type="text/css" />
17
    <link rel="stylesheet" href="{{ STATIC_URL }}css/type.css" type="text/css" />
Simon Daron's avatar
Simon Daron committed
18
19
    <link rel="stylesheet" href="{{ STATIC_URL }}css/general.css" type="text/css" />
    <link rel="stylesheet" href="{{ STATIC_URL }}css/specifics.css" type="text/css" />
20

Simon Daron's avatar
Simon Daron committed
21
22
    <script type="text/javascript" src="{{ STATIC_URL }}js/jquery-1.10.2.js"></script>
    <script type="text/javascript" src="{{ STATIC_URL }}js/jquery-ui-1.10.3.custom.js"></script>
fred's avatar
fred committed
23
24
25
26
    <script type="text/javascript" src="{{ STATIC_URL }}js/jquery.scrollTo-1.4.3.1-min.js"></script>
    <script type="text/javascript" src="{{ STATIC_URL }}js/audioPlayer.js"></script>
    <script type="text/javascript" src="{{ STATIC_URL }}js/specifics.js"></script>

fred's avatar
fred committed
27
28
29
30
    {% block head %}{% endblock %}
    {% block extrascripts %}{% endblock %}
</head>

31
<body id="{{sectionName}}" class="section-{{sectionName}}">
Simon Daron's avatar
Simon Daron committed
32

fred's avatar
fred committed
33
	<div id="StyleSwitcher" class="small" style="display: none; position:fixed;right:2px; top:2em;z-index:3000;text-align:right;">
Simon Daron's avatar
Simon Daron committed
34
        <button class="small icon-sign-blank" data-class="style-0000ff" style="color:#0000ff;padding:0;margin:0;"></button>
Simon Daron's avatar
Simon Daron committed
35
        <button class="small icon-sign-blank" data-class="style-000000" style="color:#111111;padding:0;margin:0;"></button>
36
37
        <button class="small icon-sign-blank" data-class="style-333333" style="color:#333333;padding:0;margin:0;"></button>
        <button class="small icon-sign-blank" data-class="style-ff6633" style="color:#ff6633;padding:0;margin:0;"></button>
Simon Daron's avatar
Simon Daron committed
38
39
40
41
42
43
44
45
46
47
48
    </div>
    <script type="text/javascript">                
    $(function() {
        $('#StyleSwitcher button').on('click',function(e){
            e.preventDefault();
            $('body').attr('class','').addClass($(this).attr('data-class'));
            localStorage['class'] = $(this).attr('data-class');
        });
        $('#StyleSwitcher button[data-class="'+localStorage['class']+'"]').trigger('click');
    });
    </script>
49
	<div id="All">
50
		{% block meta %}<div id="metaNav">{% metanav active=sectionName %}</div>{% endblock %}
51
		<div id="Commons" class="cf" >
Simon Daron's avatar
Simon Daron committed
52
53
            <div class="wrapper sided" >
                <div id="backgroundBox" class="cf">
54
			        <div id="mainHeader">
55
56
					<h1 class="top" id="frequence" class="inBlock">105.4 FM</h1>
					<h1 class="top" id="radiopanik">Radio Panik</h1>
Simon Daron's avatar
Simon Daron committed
57
			        </div>
58
			        <div id="Player" class="withoutPlaylist">
Simon Daron's avatar
Simon Daron committed
59
60
61
				        {% block listen %}{% player %}{% endblock %}
			        </div>
		        </div>
62
		    </div>
Simon Daron's avatar
Simon Daron committed
63
		</div>
Simon Daron's avatar
Simon Daron committed
64
		<div id="Changing" class="cf" data-section="{{ sectionName }}">
fred's avatar
fred committed
65
			{% block toptitle %}{% endblock %}
66
			<div id="Nav" class="cf" >
67
68
				{% block nav %}{% endblock %}
			</div>
Simon Daron's avatar
Simon Daron committed
69
			<div id="Main" class="cf">
70
71
				{% block main %}{% endblock %}
			</div>
72
73
74
			<div id="Related" class="cf">
				{% block related %}{% endblock %}
			</div>
Simon Daron's avatar
Simon Daron committed
75
		<div id="Footer">
fred's avatar
fred committed
76
77
78
			<nav class="wrapper">
				{% show_menu "footer-menu" 1 1 "all" %}
			</nav>
Simon Daron's avatar
Simon Daron committed
79
		</div>
80
		</div>
81
		<div id="userLog"></div>
82
	</div>
83
84
{% piwik %}

fred's avatar
fred committed
85
86
</body>
</html>