+++ /dev/null
-{% extends "base.html" %}
-
-{% block title %}Page non trouvée{% endblock %}
-
-{% block main %}
-
-<div class="wrapper text">
- <div id="fiber-content" class="padded">
- <h2>404 / Page non trouvée</h2>
-
- <p>
- La page demandée n'a pas été trouvée. Petite larme.
- </p>
- </div>
-
-{% endblock %}
+++ /dev/null
-{% extends "base.html" %}
-
-{% block title %}Erreur serveur{% endblock %}
-
-{% block main %}
-
-<div class="wrapper text">
- <div id="fiber-content" class="padded">
- <h2>500 / Erreur serveur</h2>
-
- <p>
- Il y a du pâté (végétarien) dans le serveur. On essaie de
- corriger ça rapidement.
- </p>
- </div>
-
-{% endblock %}
-
+++ /dev/null
-{% extends "base.html"%}
-{% load paniktags i18n thumbnail %}
-{% block title %}{% trans 'Chat' %}{% endblock %}
-{% block toptitle %}
-<h1 class="top"><span class="chat {% if emission.image %}with-logo{% endif %}"><a href="{% url 'emission-view' slug=object.slug %}">{{object.title}}</a> - Chat</span></h1>
-{% if emission.image %}
- {% thumbnail emission.image "120x120" crop="50% 25%" as im %}
- <div class="top-logo">
- <img height="120" width="120" src="{{im.url}}"/>
- </div>
- {% endthumbnail %}
-{% endif %}
-
-{% endblock %}
-{% block nav %}
-{% endblock %}
-{% block main %}
-
-<div class="wrapper">
-</div>
-<div>
-
-<div class="wrapper navigation chat-page">
-
- <div class="leftPart chatPart">
-
- {% if emission.subtitle %}<h3>{{ emission.subtitle }}</h3>{% endif %}
- {% if emission.text %}
- <div class="description-emission-chat">
- {{ emission.text|safe|striptags|truncatewords:75}}
- </div>
- {% endif %}
-
-{% if emission.chat_open %}
-
- <p>
- Pour réagir en direct et suivre les réactions au cours de l'émission,
- entrez dans la place !
- </p>
-
-<div class="chat-area">
-
-<div class="nick">Pseudo ? <input name="nick"> <button>Se connecter</button></div>
-
-<div class="commands" style="display: none;">
- <span class="prompt">></span> <input id="msg" name="msg"> <button id="send">ok</button>
-</div>
-
-<div id="chat" data-chatroom="{{emission.slug}}">
-</div>
-</div> <!-- .chat-area -->
-{% else %}
-
-<p class="info">
-Ce chat n'est pour le moment pas ouvert.
-</p>
-
-{% endif %}
-
-
- </div> <!-- .leftPart -->
-
- <div class="rightPart">
- <p><b>Quelques règles de bonne conduite quand même.</b></p>
- <p>
- Ici comme ailleurs on est des grandes personnes, on évite les
- propos injurieux, sexistes, homophobes, racistes, etc.
- </p>
- <p style="display: none">
- On garde la violence pour l'état.
- </p>
- <p>
- En cas de problème, n'hésitez pas à contacter le conseil
- d'administration de la radio, ca-panik@radiopanik.org.
- </p>
- </div>
-
-</div>
-</div>
-{% endblock %}
-{% block links %}
-{% endblock %}
-
+++ /dev/null
-{% load paniktags thumbnail staticfiles %}
-{% if title and episodes %}<h3>{{title}}</h3>{% endif %}
-{% for episode in episodes %}
-<div class="episode inline episode-inline">
- <div class="logo">
- {% if episode.image %}
- {% thumbnail episode.image "60x60" crop="50% 25%" as im %}
- <img src="{{im.url}}"/>
- {% endthumbnail %}
- {% elif episode.emission.image %}
- {% thumbnail episode.emission.image "60x60" crop="50% 25%" as im %}
- <img src="{{im.url}}"/>
- {% endthumbnail %}
- {% else %}
- <img class="smooth" style="width:60px;" src="{% static "img/emission.png" %}"/>
- {% endif %}
- </div>
- <div class="content">
- {% if episode.main_sound %}
- <div class="sound right">{% audio sound=episode.main_sound %}</div>
- {% endif %}
- <div class="title">
- <h5 class="title">
- <a href="{% url 'episode-view' emission_slug=episode.emission.slug slug=episode.slug %}">{{ episode.title }}</a>
- </h5>
- </div>
- {% if episode.text %}
- <div class="description">
- {{ episode.text|safe|striptags|truncatewords:35 }}
- </div>
- {% endif %}
- </div>
-</div>
-{% endfor %}
+++ /dev/null
-{% load thumbnail %}
-<div class="topikcellcontent topik-{{cell.link_page.slug}}">
-<a class="block cf" href="{{url}}">
-<span class="logo">
-{% thumbnail cell.link_page.picture "800x450" crop="50% 25%" as im %}
-<div class="logo">
-<img class="normal" src="{{im.url}}"/>
-</div>
-{% endthumbnail %}
-</span>
-<div>
- <h2>{{title}}</h2>
- <div class="description">
- {{cell.link_page.description|safe|striptags}}
- </div>
-</div>
-</a>
-</div>
+++ /dev/null
-{% load thumbnail %}
-{% if cell.title %}<h3>{{ cell.title }}</h3>{% endif %}
-<div class="gallery" id="gallery-{{cell.id}}">
-{% for image in cell.image_set.all %}
- {% if forloop.first %}
-<div class="first" style="display: none;">
-<img src="#"/>
-<span class="gallery-legend"></span>
-</div>
-<div>
- {% endif %}
-{% thumbnail image.image "200x100" crop="50% 25%" as im %}
-{% if cell.slug == 'portrait' %}
-{% thumbnail image.image "480x640" crop="50% 25%" as im_large %}
-<span class="image" data-image-large="{{ im_large.url }}"><img src="{{ im.url }}"
- class="portrait" {% if image.title %} title="{{image.title}}" {% endif %}/></span>
-{% endthumbnail %}
-{% else %}
-{% thumbnail image.image "640x480" crop="50% 25%" as im_large %}
-<span class="image" data-image-large="{{ im_large.url }}"><img src="{{ im.url }}"
- {% if image.title %} title="{{image.title}}" {% endif %}/></span>
-{% endthumbnail %}
-
-{% endif %}
-{% endthumbnail %}
-{% endfor %}
-</div>
-</div>
+++ /dev/null
-{% extends "base.html" %}
-{% load combo %}
-
-{% block title %}{{ page.title }}{% endblock %}
-
-{% block toptitle %}
-<h1 class="top">À propos</h1>
-{% endblock %}
-
-{% block nav %}
-<div id="About">
-<div class="mainSub">
- <nav class="distributed">
- {% show_menu 0 %}
- </nav>
-</div>
-</div>
-{% endblock %}
-
-{% block main %}
-
-<div class="wrapper navigation">
- <div id="fiber-content" class="leftPart">
- <h2 class="title">{{ page.title }}</h2>
-
- <div class="text">{% placeholder "content" %}</div>
- </div>
- <div id="fiber-nav" class="sub rightPart custom marged">
- {% block menu %}{% show_menu 1 depth=2 %}{% endblock %}
- </div>
-</div>
-
-{% endblock %}
+++ /dev/null
-{% extends "emissions.html" %}
-{% load paniktags i18n%}
-{% block bodyID %}Emissions{% endblock %}
-{% block title %}Archives{% endblock %}
-{% block toptitle %}
-<h1 class="top"><a href="{% url 'grid' %}">{% trans 'Program' %}</a></h1>
-{% endblock %}
-{% block nav %}
- {% emission_nav with klass="archives" %}
- <span class="bg-title" style="display: none"><a>{% trans 'Archives' %}</a></span>
-{% endblock %}
+++ /dev/null
-{% load i18n %}
-
-<div class="mainSub">
- <div>
- <nav>
- <ul class="inline padded">
- <li><a href="{% url 'grid' %}" class="{% if class == "grid" %}active{% endif %}">
- <span class="iconLabel">{% trans 'Grid' %}</span>
- </a></li>
- <li><a href="{% url 'program' %}" class="{% if class == "program" %}active{% endif %}">
- <span class="iconLabel">{% trans 'By Week' %}</span>
- </a></li>
- <li><a href="{% url 'emissions' %}" class="{% if class != "program" and class != "grid" and class != "archives" %}active{% endif %}">
- <span class="iconLabel">{% trans 'Emissions' %}</span>
- </a></li>
- <li><a href="{% url 'emissionsArchives' %}" class="{% if class == "archives" %}active{% endif %}">
- <span class="iconLabel">{% trans 'Archives' %}</span>
- </a></li>
- </ul>
- </nav>
- </div>
-</div>
-{% if categories %}
-<div>
- <nav id="gridNav" class="checkable">
- <ul class="by{{ categories.count }}">
- {% for category in categories %}
- {% if class == "grid" %}
- <li><button class="check icon-check-empty" data-about="#Main" data-highlight=".{{ category|slugify }}"><span class="category">{{ category }}</span></button></li>
- {% else %}
- <li><button class="check icon-check-empty" data-about="#Main" data-toggle=".{{ category|slugify }}"><span class="category">{{ category }}</span></button></li>
- {% endif %}
- {% endfor %}
- </ul>
- </nav>
-</div>
-{% endif %}
-{% if emission %}
-<div class="navigation">
- <header class="mainHeader marged cf">
- <div class="leftPart">
- <h2 class="squashed title bg-title">
- <a href="{% url 'emission-view' slug=emission.slug %}">{{ emission.title }}</a>
- </h2>
- {% if emission.categories %}
- <div class="categories">
- {% for category in emission.categories.all %}
- <a href="{% url 'emissions' %}?q={{category.slug}}"><span class="category">{{category}}</span></a>
- {% endfor%}
- </div>
- {% endif %}
- </div>
- </header>
-</div>
-
-{% endif %}
+++ /dev/null
-<a href="{% url 'emission-view' slug=result.slug %}">
- <span class="icon-microphone" ></span>
- <strong>{{ result.title }}</strong>
- <br />
- <span>{% if result.subtitle %}{{ result.subtitle }}{% else %} {% endif %}</span>
-</a>
+++ /dev/null
-{% load thumbnail paniktags staticfiles %}
-<div class="episode inline episode-inline">
- <div class="logo">
- {% if episode.image %}
- {% thumbnail episode.image "60x60" crop="50% 25%" as im %}
- <img src="{{im.url}}"/>
- {% endthumbnail %}
- {% elif episode.emission.image %}
- {% thumbnail episode.emission.image "60x60" crop="50% 25%" as im %}
- <img src="{{im.url}}"/>
- {% endthumbnail %}
- {% else %}
- <img class="smooth" style="width:60px;" src="{% static "img/emission.png" %}"/>
- {% endif %}
- </div>
- <div class="content">
- {% if episode.main_sound %}
- <div class="sound right">{% audio sound=episode.main_sound %}</div>
- {% endif %}
- <div class="title">
- <div class="smooth">diffusion le {{ episode.first_diffusion|date:"d/m/Y" }}</div>
- <h5 class="title">
- <a href="{% url 'episode-view' emission_slug=episode.emission.slug slug=episode.slug %}">{{ episode.title }}</a>
- </h5>
- </div>
- {% if episode.subtitle %}
- <div class="description ellipsis">
- {{ episode.subtitle|truncatewords:20}}
- </div>
- {% elif episode.text %}
- <div class="description ellipsis">
- {{ episode.text|safe|striptags|truncatewords:20}}
- </div>
- {% endif %}
- </div>
-</div>
+++ /dev/null
-<a href="{% url 'episode-view' emission_slug=result.emission_slug slug=result.slug %}">
- <span class="icon-microphone"></span>
- <strong>{{ result.title }}</strong>
- <br />
- <span class="smooth">{{ result.emission_title }}</span>
-</a>
+++ /dev/null
-{% load paniktags thumbnail %}
-{% if obj.image %}
-{% thumbnail obj.image "320x240" crop="50% 25%" as im %}
-<img src="{{im.url|as_absolute_url}}"/>
-{% endthumbnail %}
-{% endif %}
-
-{% autoescape off %}
-{{ obj.text|set_absolute_urls }}
-{% endautoescape %}
+++ /dev/null
-<p><a href="{% url 'home' %}">Home</a> - <a href="{% url 'get' %}">Les émissions</a> - {{ emission.title }}</p>
+++ /dev/null
-<div class="program tabs" data-tab-about="#weekProgramContent-{{ week|slugify }}">
- <nav class="">
- <ul class="days custom distributed">
- <li class="week-arrow"><a href="{% url 'program_week' year=previous_week_year week=previous_week_no %}"
- class="icon-chevron-sign-left" ></a></li>
- {% for day in days %}
- <li class=""><button class="{% if day.datetime.weekday == weekday %}active{% endif %}" data-tab="#Program-week-{{ day.datetime|slugify }}">{{ day.datetime|date:"D d" }}</button></li>
- {% endfor %}
- <li class="week-arrow"><a href="{% url 'program_week' year=next_week_year week=next_week_no %}"
- class="icon-chevron-sign-right" ></a></li>
- </ul>
- </nav>
-</div>
+++ /dev/null
-{% load paniktags %}
-<div id="weekProgramContent-{{ week|slugify }}" class="program">
-
- {% for day in days %}
- <div data-tabbed="true" class="content" id="Program-week-{{ day.datetime|slugify }}">
- <ul class="custom program-week list">
- {% for cell in day.cells %}
- <li class="cf">
- <div class="programDate"><strong>{{ cell.datetime|date:"H:i" }}</strong></div>
- <div class="programCell">
- {% if cell.episode %}
- {% with cell.episode as episode %}{% episode_resume model="inline" klass="standalone" date=False %}{% endwith %}
- {% elif cell.emission %}
- {% with cell.emission as emission %}{% emission_resume %}{% endwith %}
- {% else %}
- <a href="{% if cell.nonstop.redirect_path %}{{ cell.nonstop.redirect_path }}{% else %}{% url 'emission-view' slug=cell.slug %}{% endif %}" class="nonstop"><em>{{ cell.label }}</em></a> - <span class="smooth categories category">Musique en continu</span> - <a class="playlist" href="{% url 'nonstop-playlist' slug=cell.slug year=cell.datetime.year month=cell.datetime.month day=cell.datetime.day %}">playlist</a>
- {% endif %}
- </div>
- </li>
- {% empty %}
- <li><div class="info big">Non stop only!</div></li>
- {% endfor %}
- </ul>
- </div>
- {% endfor %}
-</div>
+++ /dev/null
-{% load paniktags %}
-<div class="mainSub">
- <div class="wrapper">
- <nav>
- <ul class="inline padded">
- <li><a href="{% url 'listen' %}" class="{% if class != "archives" %}active{% endif %}">
- <span class="icon-bolt" ></span>
- <span class="iconLabel">Derniers</span>
- </a></li>
- <li><a href="{% url 'listenArchives' %}" class="{% if class == "archives" %}active{% endif %}">
- <span class="icon-archive" ></span>
- <span class="iconLabel">Archives</span>
- </a></li>
- </ul>
- </nav>
- </div>
-</div>
-<div class="wrapper">
- {% if categories and class != "archives" %}
- <nav id="gridNav" class="checkable">
- <ul class="by{{ categories.count }}">
- {% for category in categories %}
- <li><button class="check icon-check-empty" data-about="#Main" data-toggle=".{{ category|slugify }}">{{ category }}</button></li>
-
- {% endfor %}
- </ul>
- </nav>
- {% endif %}
-</div>
+++ /dev/null
-{% extends "news.html" %}
-{% load paniktags i18n %}
-{% block title %}{% trans 'News' %} - Archives{% endblock %}
-{% block nav %}
- <div class="search-filters">
- {% if facets.fields.news_categories %}
- <nav>
- <ul class="custom padded">
- <li><span class="mainLabel">Catégorie :</span></li>
- {% for category in facets.fields.news_categories %} <li>
- {% if category.0 in selected_news_categories %}
- <a class="check icon-check" href="{{ request.get_full_path|remove_news_category_facet:category.0 }}">
- {{ category.0 }} <span class="smooth">| {{ category.1 }}</span>
- </a>
- {% else %}
- <a class="check icon-check-empty" href="{{ request.get_full_path|append_news_category_facet:category.0 }}">{{ category.0 }} <span class="smooth">| {{ category.1 }}</span></a>
- {% endif %}
- </li>
- {% endfor %}
- </ul>
- </nav>
- {% endif %}
-
- {% if facets.fields.tags %}
- <nav>
- <ul class="tag-facets custom padded">
- <li><span class="mainLabel">Mots-clés :</span></li>
- {% for tag in facets.fields.tags|slice:":20" %} {# Provide only the top 20 tags #}
- <li>
- {% if tag.0 in selected_tags %}
- <a class="check icon-check" href="{{ request.get_full_path|remove_tag_facet:tag.0 }}">
- {{ tag.0 }} <span class="smooth">| {{ tag.1 }}</span>
- </a>
- {% else %}
- <a class="check icon-check-empty" href="{{ request.get_full_path|append_tag_facet:tag.0 }}">{{ tag.0 }} <span class="smooth">| {{ tag.1 }}</span></a>
- {% endif %}
- </li>
- {% endfor %}
- </ul>
- </nav>
- {% endif %}
- </div>
-{% endblock %}
-
-{% block main %}
-
- <form method="get" action="." class="padded center" id="search-form">
- <div class="big">
- {% for category in selected_news_categories %}
- <input type="hidden" name="selected_facets" value="news_categories_exact:{{category}}"/>
- {% endfor %}
- {% for tag in selected_tags %}
- <input type="hidden" name="selected_facets" value="tags_exact:{{tag}}"/>
- {% endfor %}
- {{ form.as_table }}
- <button class="icon-search"><span class="sr-only">{% trans "Search" %}</span></button>
- </div>
- </form>
-
-
-<div class="wrapper">
-
-{% if not page.object_list %}
- <div class="big error padded center">Manque de pot, pas de résultats à cette recherche !</div>
-{% endif %}
-
-{% if page.has_previous %}
- <div class="previous-page cf">
- <a class="button big left" href="?q={{ query }}&page={{ page.previous_page_number }}{{ facets_qs }}">« Résultats précédénts</a>
- </div>
-{% endif %}
-
- <div id="Emission-container" class="emission padded">
- {% if page.object_list %}
- {% regroup page.object_list by date|date:"F Y"|capfirst as month_list %}
- <div>
- {% for month in month_list %}
- <div class="monthGroup {% if forloop.counter|divisibleby:2 %}even{% else %}odd{% endif %}">
- <div class="legend button" onclick="$('#{{ month.grouper|slugify }}').toggle();"
- >> {{ month.grouper }}</div>
- <ul class="custom list" id="{{ month.grouper|slugify }}"
- >
- {% for result in month.list %}
- <li>{% with result.object as content %}{% news_inline %}{% endwith %}</li>
- {% endfor %}
- </ul>
- </div>
- {% endfor %}
- </div>
- {% endif %}
- </div>
-
-{% if page.has_next %}
- <div class="next-page cf">
- <a class="button big right" href="?q={{ query }}&page={{ page.next_page_number }}{{ facets_qs }}">Résultats suivants »</a>
- </div>
-{% endif %}
-
-
-</div>
-
-{% endblock %}
+++ /dev/null
-<a href="{% url 'newsitem-view' slug=result.slug %}">
- <span class="icon-bullhorn" ></span>
- <strong>{{ result.title }}</strong>
- {% if result.date %}
- <div class="smooth">{{ result.date|date:"D d/M"|lower }}</div>
- {% endif %}
-</a>
+++ /dev/null
-Abonnement aux actus de Radio Panik, demande de confirmation
+++ /dev/null
-{% extends "base.html" %}
+++ /dev/null
-{% load paniktags %}
-{% if title and newsitems %}<h3>{{title}}</h3>{% endif %}
-<ul class="custom list newsList">
-{% for content in newsitems|slice:":50" %}
-<li>{% news_inline %}</li>
-{% endfor %}
-</ul>
+++ /dev/null
-{% extends "base.html" %}
-{% load thumbnail paniktags %}
-{% block bodyID %}Party{% endblock %}
-{% block title %}Party{% endblock %}
-
-{% block extrascripts %}
-<script>
-var timer = null;
-function reload() {
- if (location.href.indexOf('/party') == -1) {
- clearInterval(timer);
- return;
- }
- if (location.href.indexOf('?') == -1) {
- href = location.href;
- } else {
- href = location.href.substring(0, location.href.indexOf('?'));
- }
- href = href + '?' + new Date().getTime()
- $('#Changing').fadeOut();
-
- $('#Changing').load(href + " #Changing>*", null, function() {$('#Changing').fadeIn();});
-}
-
-$(function() {
- timer = setInterval(reload, 10000);
-});
-</script>
-{% endblock %}
-
-{% block main %}
-
-<div id="party" class="news">
-
- <div class="content content-inline cf special">
- <a class="block cf" href="{{ focus|get_focus_url}}">
- {% if focus.content_category_title %}
- <div class="label labels absolute">
- <span class="item inBlock">{{ focus.content_category_title }}</span>
- </div>
- {% endif %}
- <div class="logo">
- {% thumbnail focus.content_image "500x375" crop="50% 25%" as im %}
- <img width="500" height="375" class="normal" src="{{im.url}}"/>
- {% endthumbnail %}
- </div>
- <div class="title"><div>{{ focus.focus_title }}</div></div>
- </a>
- </div>
-
- <style>
-#metaNav, #Footer, .metas { display: none; }
-.special .title {
- opacity:0.9;
- width: 482px;
- background: black;
- color: white;
- position: absolute;
- bottom: 0;
- font-family: "RegloBold";
- padding: 10px;
-}
-
-body {
- height: 90%;
- overflow: hidden;
-}
-
-#Changing,
-#Commons {
- float: none;
- height: 200px;
- width: 500px;
- margin: 0 auto 0 auto;
-}
-#backgroundBox {
- margin: auto 0;
-}
-
-#Commons > .wrapper {
- position: relative;
-}
-
-#Player {
- width: 200px;
- position: absolute;
- top: 50px;
- left: 200px;
-}
-
- </style>
-
-{% endblock %}
+++ /dev/null
-{% extends "emissions.html" %}
-{% load paniktags i18n %}
-{% block bodyID %}Program{% endblock %}
-{% block title %}{% trans 'Program' %}{% endblock %}
-{% block toptitle %}
-<h1 class="top bg-title"><a href="{% url 'grid' %}">{% trans 'Program' %}</a></h1>
-{% endblock %}
-{% block nav %}
- {% emission_nav with klass="program" %}
-{% endblock %}
-{% block main %}
-
-<div class="wrapper">
- <div class="program padded">
- <nav>
- Du {{week_first_day|date:"l j N"}} au {{week_last_day|date:"l j N"}}
- </nav>
- </div>
- {% weeknav year=year week=week weekday=0 %}
-</div>
-<div class="wrapper">
- <div class="program">
- {% weekview year=year week=week %}
- </div>
-</div>
-{% endblock %}
+++ /dev/null
-{% load i18n %}
-<div id="dialog-background">
-<div id="dialog-embed">
-<button id="close-button" onclick="$("#dialog-background").remove();">x</button>
- <h2>{% trans 'Embed' %}</h2>
-<p>
-Copier/coller le code ci-dessous :
-</p>
-
- <textarea rows="4" onclick="$(this).select();"><iframe height="100" width="100%" scrolling="no" frameborder="no" src="{{site_url}}{% url 'soundfile-embed-view' emission_slug=object.episode.emission.slug episode_slug=object.episode.slug pk=object.pk %}" ></iframe></textarea>
-
- <h3>Preview</h3>
- <iframe height="100" width="100%" scrolling="no" frameborder="no" src="{% url 'soundfile-embed-view' emission_slug=object.episode.emission.slug episode_slug=object.episode.slug pk=object.pk %}"></iframe>
-</div>
-</div>
+++ /dev/null
-{% extends "base.html" %}
-{% load fiber_tags %}
-
-{% block title %}{{ fiber_page.title }}{% endblock %}
-
-{% block toptitle %}
-<h1 class="top">À propos</h1>
-{% endblock %}
-
-{% block nav %}
-<div class="mainSub">
- <nav class="distributed">
- {% show_menu "main-menu" 1 1 "all" %}
- </nav>
-</div>
-{% endblock %}
-
-{% block main %}
-
-<div class="wrapper navigation">
- <div id="fiber-content" class="leftPart">
- <h2 class="title">{{ fiber_page.title }}</h2>
-
- <div class="text">{% show_page_content "main" %}</div>
- </div>
- <div id="fiber-nav" class="sub rightPart custom marged">
- {% show_menu "main-menu" 2 3 "all_descendants" %}
- </div>
-</div>
-
-{% endblock %}