1 {% extends "base.html" %}
6 {% block bodyID %}Home{% endblock %}
7 {% block title %}Home{% endblock %}
12 <form method="get" action="{% url 'search' %}" class="big marged" id="search-form">
13 <label for="id_q">Rechercher:</label><input id="id_q" name="q" type="text"><button class="icon-search"></button>
24 <div class="sided wrapper navigation" id="specialHome">
26 <div class="leftPart">
27 <h2><a href="{% url 'program' %}">Cette semaine sur Panik</a></h2>
32 <form method="post" action="{% url 'newsletter-subscribe' %}"
33 class="big center padded marged" id="subscribe-form">
34 <p>Tous les lundis, l'actualité de la semaine de Panik :</p>
36 {{ newsletter_form.as_table }}
37 <button>M'inscrire</button>
41 <div class="rightPart">
42 <h3 class="sectionLabel">Focus</h3>
43 {% with focus as news %}
48 <div id="recent-sounds">
49 <h3 class="sectionLabel right"><a href="{% url 'listen' %}">Tous</a></h3>
50 <h3 class="sectionLabel">Derniers sons <a class="button icon-rss inBlock" title="{% trans 'Podcast sounds' %}" href="{% url 'podcasts-feed' %}"></a></h3>
51 <ul class="custom columns list">
52 {% for soundfile in soundfiles %}
53 <li class="item {% if soundfile.episode.emission.categories.all.count = 0 %}nocat{% endif %} {% for category in soundfile.episode.emission.categories.all %} {{ category|slugify }}{% endfor %}">
54 {% soundfile_resume soundfile=soundfile date=soundfile.first_diffusion %}
62 <div id="recent-emissions">
63 <h3 class="sectionLabel"><a href="{% url 'emissions' %}">Nouveau dans la grille</a></h3>
64 <ul class="custom list columns padded">
65 {% for emission in emissions %}
66 <li class="item ellipsis">
67 <a href="{% url 'emission-view' slug=emission.slug %}">
68 {% if emission.image %}
69 <img style="float:right;margin-left:1em;" src="{{ emission.image|thumbnail:'20x20' }}"/>