]> git.0d.be Git - panikweb.git/blobdiff - panikweb_templates/templates/base.html
misc: cleanup section name stuff
[panikweb.git] / panikweb_templates / templates / base.html
index a4468d8a84467cde69be28598a852142019757bd..97df707c2c4a1812b483db7f61d583fc1475e9e7 100644 (file)
@@ -1,63 +1,88 @@
-{% load url from future %}{% load i18n %}{% load paniktags %}<!DOCTYPE html>
+{% load gadjo paniktags staticfiles %}<!DOCTYPE html>
 <html>
 <head>
-    <title>Radio Panik {% block title %}{% endblock %}</title>
-       <meta charset="UTF-8" />
-       <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <script type="text/javascript" src="{{ STATIC_URL }}js/jquery.js"></script>
-    <script type="text/javascript" src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
-    <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"/>
-    <script type="text/javascript" src="{{ STATIC_URL }}js/specifics.js"></script>
-
-    <link rel="stylesheet" href="{{ STATIC_URL }}css/reset.css" type="text/css" />
-    <link rel="stylesheet" href="{{ STATIC_URL }}font-awesome/css/font-awesome.min.css" type="text/css" />
-    <link rel="stylesheet" href="{{ STATIC_URL }}css/type.css" type="text/css" />
-
-    <link rel="stylesheet" href="{{ STATIC_URL }}css/general.css" type="text/css" />
-    <link rel="stylesheet" href="{{ STATIC_URL }}css/specifics.css" type="text/css" />
-
-       
-    <!--<script src="{{ STATIC_URL }}js/less-1.4.1.js" type="text/javascript"></script>
-
-    <link rel="stylesheet" href="{{ STATIC_URL }}css/style.css" />-->
-    {% block head %}{% endblock %}
+    <meta charset="UTF-8" />
+    <title>{{ radio_name }} - {% block title %}{% endblock %}</title>
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <link rel="icon" href="{{ STATIC_URL }}img/favicon-16.png" type="image/png" sizes="16x16">
+    <link rel="icon" href="{{ STATIC_URL }}img/favicon-32.png" type="image/png" sizes="32x32">
+    <link rel="icon" href="{{ STATIC_URL }}img/favicon-48.png" type="image/png" sizes="48x48">
+    <link rel="apple-touch-icon" href="{{ STATIC_URL}}img/logo-panik-500-invert.png">
+    <link rel="canonical" href="{{ request.build_absolute_uri }}" />
+
+    <meta name="og:site_name" content="{{ radio_name }}"/>
+    {% block head %}
+    <meta name="description" content="En vous branchant sur le 105.4 FM, vous pénétrerez plus avant dans l'œil du cyclone…" />
+
+    <meta property="og:title" content="{{ radio_long_name }}" />
+    <meta property="og:image" content="{{ site_url }}{% 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…" />
+
+    <meta name="twitter:card" content="summary" />
+    <meta name="twitter:title" content="{{ radio_long_name }}" />
+    <meta name="twitter:image" content="{{ site_url }}{% static 'img/Radio_Panik_Logo_2016-01.png' %}" />
+    <meta name="twitter:description" content="En vous branchant sur le 105.4 FM, vous pénétrerez plus avant dans l'œil du cyclone…" />
+
+    {% endblock %}
+
+<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">
+{% block podcasts-feed %}
+<link rel="alternate" type="application/rss+xml"  href="{% url 'podcasts-feed' %}" title="{{ radio_name }} Podcasts">
+{% endblock %}
+
+    <link rel="stylesheet" href="{{ STATIC_URL }}css/style.css?{% start_timestamp %}" type="text/css" />
+
+    <script src="{% xstatic 'jquery' 'jquery.min.js' %}"></script>
+    <script src="{% xstatic 'jquery-ui' 'jquery-ui.min.js' %}"></script>
+    <script src="{{ STATIC_URL }}js/jquery.scrollTo-1.4.3.1-min.js"></script>
+    <script src="{{ STATIC_URL }}js/audioPlayer.js?{% start_timestamp %}"></script>
+    <script src="{{ STATIC_URL }}js/konami.js"></script>
+    <script src="{{ STATIC_URL}}js/strophe.min.js"></script>
+    <script src="{{ STATIC_URL}}js/strophe.muc.js"></script>
+    <script src="{{ STATIC_URL }}js/specifics.js?{% start_timestamp %}"></script>
+
     {% block extrascripts %}{% endblock %}
 </head>
 
-<body id="{% block bodyID %}{% endblock %}">
+<body {% block bodyattr %}{% endblock %}>
        <div id="All">
                {% block meta %}<div id="metaNav">{% metanav %}</div>{% endblock %}
-
-               <div id="Commons">
-                       <div id="Panik" class="center">
-                               <h1><span class="inBlock">Radio Panik</span> <span class="inBlock">105.4 FM</span></h1>
-                               <!--{% block logo %}<img class="logo" src="{{ STATIC_URL }}/img/LogoPanik.jpg"/>{% endblock %}-->
-                       </div>
-                       <div id="Listen" class="{% block player-class %}{% endblock %}">
-                               {% block listen %}{% player %}{% endblock %}
-                       </div>
-
+               <div id="Commons" class="cf" >
+            <div class="wrapper sided" >
+                <div id="backgroundBox" class="cf">
+                               <a href="{% url 'home' %}" id="mainHeader"><div>
+                                       <h1 class="top" id="radiopanik">{{ radio_long_name }}</h1>
+                               </div></a>
+                               <div id="Player" class="withoutPlaylist">
+                                       {% block listen %}{% player %}{% endblock %}
+                               </div>
+                       </div>
+                   </div>
                </div>
-               <div id="Changing">
-                       <div id="Nav">
-                               <div class="wrapper">
+               <div id="Changing" class="cf">
+                       {% block toptitle %}{% endblock %}
+                       <div id="Nav" class="cf" >
                                {% block nav %}{% endblock %}
-                               </div>
                        </div>
-                       <div id="Main">
+                       <div id="Main" class="cf">
                                {% block main %}{% endblock %}
                        </div>
-                       <div id="Links">
-                               <div class="wrapper">
-                               {% block links %}{% endblock %}
-                               </div>
+                       <div id="Related" class="cf">
+                               {% block related %}{% endblock %}
                        </div>
+               <div id="Footer">
+                       <nav class="wrapper">
+                               <ul>
+                                       <li><a href="/credits/">Crédits</a></li>
+                                       <li><a href="/mentions-legales/">Mentions légales</a></li>
+                               </ul>
+                       </nav>
+               </div>
                </div>
                <div id="userLog"></div>
        </div>
-
-{% block pageend %}
-{% endblock %}
+{% piwik %}
 
 </body>
 </html>