]> git.0d.be Git - panikweb.git/blobdiff - panikweb_templates/templates/home.html
move static & templates to panikweb project directory
[panikweb.git] / panikweb_templates / templates / home.html
diff --git a/panikweb_templates/templates/home.html b/panikweb_templates/templates/home.html
deleted file mode 100644 (file)
index bd97881..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-{% extends "base.html" %}
-{% load paniktags staticfiles i18n %}
-{% block bodyID %}Home{% endblock %}
-{% block title %}{% trans 'Home' %}{% endblock %}
-
-{% block head %}
-{{ block.super }}
-<script type="application/ld+json">
-{
-  "@context": "http://schema.org",
-  "@type": "Organization",
-  "url": "http://www.radiopanik.org",
-  "name" : "Radio Panik",
-  "potentialAction": {
-    "@type": "SearchAction",
-    "target": "http://www.radiopanik.org/recherche/?q={search_term_string}",
-    "query-input": "required name=search_term_string"
-  }
-}
-</script>
-{% endblock %}
-
-{% block main %}
-
-<div class="sided wrapper navigation" id="specialHome">
-    <div>
-           <div class="leftPart">
-                   <h1 class="top"><a href="{% url 'grid' %}">{% trans 'Program' %}</a></h1>
-                   <h2 class="bg-title"><a href="{% url 'program' %}">{% trans 'This week on Panik' %}</a></h2>
-
-                   {% weeknav %}
-                   {% weekview %}
-           </div>
-
-           <div class="rightPart">
-                   <h1 class="top">{% trans 'Focus' %}</h1>
-                   {% newsroll %}
-
-
-             <form method="post" action="{% url 'newsletter-subscribe' %}"
-                     class="marged" id="subscribe-form">
-             <p>{% trans 'Every Monday, the news of the Panik week:' %}</p>
-                <input required name="email" type="email" placeholder="votre adresse email">
-               <button>{% trans 'Subscribe' %}</button>
-             </form>
-
-
-            {% if newsitems %}
-
-                   <div id="recent-news">
-                   <h3 class="sectionLabel right"><a href="{% url 'newsArchives' %}">Toutes</a></h3>
-                   <h3 class="sectionLabel"><a href="{% url 'news' %}">{% trans 'Latest News' %}</a>&nbsp;<a class="button icon-rss inBlock" href="{% url 'atom-feed' %}"></a></h3>
-                   <ul class="custom list">
-                   {% for content in newsitems %}
-                   <li class="item">{% news_inline %}</li>
-                   {% endfor %}
-                   </ul>
-                   </div>
-           {% endif %}
-
-
-            {% if soundfiles %}
-
-                   <div id="recent-sounds">
-                   <h3 class="sectionLabel right"><a href="{% url 'listenArchives' %}">Tous</a></h3>
-                   <h3 class="sectionLabel"><a href="{% url 'listen' %}">{% trans 'Latest Sounds' %}</a>&nbsp;<a class="button icon-rss inBlock" href="{% url 'podcasts-feed' %}"></a></h3>
-                   <ul class="custom list">
-                   {% for soundfile in soundfiles %}
-                           <li class="item {% for category in soundfile.episode.emission.categories.all %} {{ category|slugify }}{% endfor %}">
-                             {% soundfile_resume soundfile=soundfile date=soundfile.first_diffusion %}
-                           </li>
-                   {% endfor %}
-                   </ul>
-                   </div>
-                   {% endif %}
-
-            {% if emissions %}
-                   <div id="recent-emissions">
-                   <h3 class="sectionLabel right"><a href="{% url 'emissions' %}">Toutes</a></h3>
-                   <h3 class="sectionLabel">{% trans 'New emissions' %}</h3>
-                   <ul class="custom list padded">
-                   {% for emission in emissions %}
-                           <li class="item">
-                           {% emission_resume %}
-                           </li>
-                   {% endfor %}
-                   </ul>
-                   </div>
-                   {% endif %}
-           </div>
-    </div>
-</div>
-
-{% endblock %}