Commit 9d890ea1 authored by Simon Daron's avatar Simon Daron
Browse files

Add emissions in nav & fix style

parent aaaa9e09
...@@ -279,10 +279,6 @@ body{ ...@@ -279,10 +279,6 @@ body{
/**** Liste ****/ /**** Liste ****/
/**** EMISSIONS ****/ /**** EMISSIONS ****/
#Emission .emission-detail .title{} #Emission .emission-detail .title{}
#Emissions #Changing .wrapper{
max-width:600px;
margin:auto;
}
/* /*
@media screen and (min-width: 1000px) { @media screen and (min-width: 1000px) {
#Emissions #Changing .wrapper{ #Emissions #Changing .wrapper{
......
...@@ -2,13 +2,11 @@ ...@@ -2,13 +2,11 @@
{% block bodyID %}Emissions{% endblock %} {% block bodyID %}Emissions{% endblock %}
{% block title %}Emissions{% endblock %} {% block title %}Emissions{% endblock %}
{% block main %} {% block main %}
<div class="emissions"> <div class="emissions padded">
<div class="wrapper">
<ul class="custom list columns padded"> <ul class="custom list columns padded">
{% for emission in emissions %} {% for emission in emissions %}
<li>{% include "emissions/inline.html" %}</li> <li>{% include "emissions/inline.html" %}</li>
{% endfor %} {% endfor %}
</ul> </ul>
</div>
</div> </div>
{% endblock %} {% endblock %}
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
{% emission_nav %} {% emission_nav %}
{% endblock %} {% endblock %}
{% block main %} {% block main %}
<div class="wrapper {% if episodes %}sided{% else %}classic{% endif %}"> <div class="wrapper half">
<div id="Emission-container" class="emission padded"> <div id="Emission-container" class="emission padded">
{% if episode %} {% if episode %}
<div data-tabbed="true" id="Emission-tabs-current" class="episodes"> <div data-tabbed="true" id="Emission-tabs-current" class="episodes">
......
...@@ -16,28 +16,30 @@ ...@@ -16,28 +16,30 @@
</header> </header>
{% if episodes %} {% if episodes %}
<nav class="wrapper tabs" data-tab-about="#Emission-container"> <div class="wrapper half">
<ul class="distributed"> <nav class="tabs" data-tab-about="#Emission-container">
<ul class="distributed">
<li> <li>
<button data-tab="#Emission-tabs-last" > <button data-tab="#Emission-tabs-last" >
<span class="iconLabel">Dernier épisode</span> <span class="iconLabel">Dernier épisode</span>
</button> </button>
</li> </li>
<li> <li>
<button data-tab="#Emission-tabs-episodes"> <button data-tab="#Emission-tabs-episodes">
<span class="iconLabel">Archives</span> <span class="iconLabel">Archives</span>
</button > </button >
</li> </li>
<li> <li>
<button data-tab="#Emission-tabs-detail" > <button data-tab="#Emission-tabs-detail" >
<span class="iconLabel">A propos</span> <span class="iconLabel">A propos</span>
</button> </button>
</li> </li>
</ul> </ul>
{% if episode %} {% if episode %}
<hr /> <hr />
<strong class="active button padded " data-tab="#Emission-tabs-current">{{ episode.title }}</strong> <strong class="active button padded " data-tab="#Emission-tabs-current">{{ episode.title }}</strong>
{% endif %} {% endif %}
</nav> </nav>
</div>
{% endif %} {% endif %}
...@@ -10,9 +10,15 @@ ...@@ -10,9 +10,15 @@
<span class="icon-headphones" ></span> <span class="icon-headphones" ></span>
<span class="iconLabel">Listen</span> <span class="iconLabel">Listen</span>
</a></li> </a></li>
<li><a href="{% url 'emissions' %}">
<span class="icon-bullhorn" ></span>
<span class="iconLabel">Emissions</span>
</a></li>
<!--
-->
<!-- <!--
<li><a href="{% url 'news' %}"> <li><a href="{% url 'news' %}">
<span class="icon-bullhorn" ></span> <span class="icon-group" ></span>
<span class="iconLabel">News</span> <span class="iconLabel">News</span>
</a></li> </a></li>
<li><a href="{% url 'program' %}"> <li><a href="{% url 'program' %}">
...@@ -24,12 +30,6 @@ ...@@ -24,12 +30,6 @@
<span class="icon-th-large" ></span> <span class="icon-th-large" ></span>
<span class="iconLabel">Grid</span> <span class="iconLabel">Grid</span>
</a></li> </a></li>
<!--
<li><a href="{% url 'emissions' %}">
<span class="icon-group" ></span>
<span class="iconLabel">Emissions</span>
</a></li>
-->
<li><a href="/la-radio/"> <li><a href="/la-radio/">
<span class="icon-info-sign" ></span> <span class="icon-info-sign" ></span>
<span class="iconLabel">About</span> <span class="iconLabel">About</span>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment