base.html 3.58 KB
Newer Older
fred's avatar
fred committed
1
{% load paniktags staticfiles compress %}<!DOCTYPE html>
fred's avatar
fred committed
2 3
<html>
<head>
fred's avatar
fred committed
4
    <meta charset="UTF-8" />
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">
fred's avatar
fred committed
10
    <link rel="canonical" href="{{ request.build_absolute_uri }}" />
11

fred's avatar
fred committed
12
    <meta name="og:site_name" content="Radio Panik"/>
fred's avatar
fred committed
13 14 15 16 17
    {% block head %}
    <meta property="og:title" content="Radio Panik - 105.4 FM" />
    <meta property="og:image" content="{% static 'img/Radio_Panik_Logo_2016-01.png' %}" />
    <meta property="og:description" content="En vous branchant sur le 105.4 FM, vous pénétrerez plus avant dans l'œil du cyclone…" />
    {% endblock %}
fred's avatar
fred committed
18

Simon Daron's avatar
Simon Daron committed
19 20 21 22
<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">

fred's avatar
fred committed
23
    {% compress css %}
24 25
    <link rel="stylesheet" href="{{ STATIC_URL }}css/reset.css" type="text/css" />
    <link rel="stylesheet" href="{{ STATIC_URL }}css/type.css" type="text/css" />
Simon Daron's avatar
Simon Daron committed
26 27
    <link rel="stylesheet" href="{{ STATIC_URL }}css/general.css" type="text/css" />
    <link rel="stylesheet" href="{{ STATIC_URL }}css/specifics.css" type="text/css" />
fred's avatar
fred committed
28
    {% endcompress %}
29

fred's avatar
fred committed
30
    {% compress js %}
fred's avatar
fred committed
31
    <script type="text/javascript" src="{{ STATIC_URL }}js/jquery-1.10.2.min.js"></script>
32
    <script type="text/javascript" src="{{ STATIC_URL }}js/jquery-ui-1.10.4.custom.min.js"></script>
fred's avatar
fred committed
33 34
    <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>
35
    <script type="text/javascript" src="{{ STATIC_URL }}js/konami.js"></script>
fred's avatar
fred committed
36 37
    <script type="text/javascript" src="{{ STATIC_URL}}js/strophe.min.js"></script>
    <script type="text/javascript" src="{{ STATIC_URL}}js/strophe.muc.js"></script>
fred's avatar
fred committed
38
    <script type="text/javascript" src="{{ STATIC_URL }}js/specifics.js"></script>
fred's avatar
fred committed
39
    {% endcompress %}
fred's avatar
fred committed
40

fred's avatar
fred committed
41 42 43
    {% block extrascripts %}{% endblock %}
</head>

44
<body {% block bodyattr %}id="{{sectionName}}" class="section-{{sectionName}}"{% endblock %}>
45
	<div id="All">
46
		{% block meta %}<div id="metaNav">{% metanav active=sectionName %}</div>{% endblock %}
47
		<div id="Commons" class="cf" >
Simon Daron's avatar
Simon Daron committed
48 49
            <div class="wrapper sided" >
                <div id="backgroundBox" class="cf">
fred's avatar
fred committed
50
				<a href="{% url 'home' %}" id="mainHeader"><div>
fred's avatar
fred committed
51
					<h1 class="top" id="radiopanik">Radio Panik - 105.4 FM</h1>
fred's avatar
fred committed
52
				</div></a>
53
			        <div id="Player" class="withoutPlaylist">
Simon Daron's avatar
Simon Daron committed
54 55 56
				        {% block listen %}{% player %}{% endblock %}
			        </div>
		        </div>
57
		    </div>
Simon Daron's avatar
Simon Daron committed
58
		</div>
Simon Daron's avatar
Simon Daron committed
59
		<div id="Changing" class="cf" data-section="{{ sectionName }}">
fred's avatar
fred committed
60
			{% block toptitle %}{% endblock %}
61
			<div id="Nav" class="cf" >
62 63
				{% block nav %}{% endblock %}
			</div>
64
			<div id="Main" class="cf">
65 66
				{% block main %}{% endblock %}
			</div>
67 68 69
			<div id="Related" class="cf">
				{% block related %}{% endblock %}
			</div>
70
		<div id="Footer">
fred's avatar
fred committed
71
			<nav class="wrapper">
72 73 74 75
				<ul>
					<li><a href="/credits/">Crédits</a></li>
					<li><a href="/mentions-legales/">Mentions légales</a></li>
				</ul>
fred's avatar
fred committed
76
			</nav>
77
		</div>
78
		</div>
79
		<div id="userLog"></div>
80
	</div>
81 82
{% piwik %}

fred's avatar
fred committed
83 84
</body>
</html>