Commit f330539b authored by fred's avatar fred

relayout navigation of program sublevel pages

parent eaadeb3e
......@@ -296,6 +296,7 @@ body{
width: calc(0% + 280px);
}
#Changing {
position: relative;
float: right;
width: 78%;
width: calc(100% - 300px);
......@@ -327,6 +328,25 @@ body{
margin-bottom: 10px;
}
#About div.mainSub,
#Emissions div.mainSub {
position: absolute;
top: 20px;
left: 290px;
}
#About div.mainSub ul,
#Emissions div.mainSub ul {
padding: 0;
font-family: Reglo;
font-weight: normal;
}
#About div.mainSub ul li,
#Emissions div.mainSub ul li {
}
}
div.focus {
......@@ -336,8 +356,8 @@ div.focus {
/****************************************************/
/**** SCREEN NAV ****/
#Nav{
background:#0000ff;
color:white;
background: white;
color: black;
}
#Nav nav{padding:0.1em;}
......@@ -1147,6 +1167,11 @@ div.episode.resume div.title {
margin: 1em 0;
}
nav#program li {
display: block;
margin: 0;
}
/*******************************/
/**** VARIANTES ****************/
/*******************************/
......
......@@ -4,6 +4,9 @@
{% load staticfiles %}
{% block bodyID %}Emissions{% endblock %}
{% block title %}{{ emission.title }}{% endblock %}
{% block toptitle %}
<h1 class="top">Émissions</h1>
{% endblock %}
{% block nav %}
{% emission_nav %}
{% endblock %}
......
......@@ -4,19 +4,15 @@
<nav>
<ul class="inline padded">
<li><a href="{% url 'grid' %}" class="{% if class = "grid" %}active{% endif %}">
<span class="icon-th-large" ></span>
<span class="iconLabel">La grille</span>
</a></li>
<li><a href="{% url 'program' %}" class="{% if class = "program" %}active{% endif %}">
<span class="icon-calendar" ></span>
<span class="iconLabel">Par semaine</span>
</a></li>
<li><a href="{% url 'emissions' %}" class="{% if class != "program" and class != "grid" and class != "archives" %}active{% endif %}">
<span class="icon-microphone" ></span>
<span class="iconLabel">Émissions</span>
</a></li>
<li><a href="{% url 'emissionsArchives' %}" class="{% if class = "archives" %}active{% endif %}">
<span class="icon-archive" ></span>
<span class="iconLabel">Archives</span>
</a></li>
</ul>
......
......@@ -8,7 +8,7 @@
{% endblock %}
{% block nav %}
<div class="wrapper">
<div class="mainSub">
<nav class="distributed">
{% show_menu "main-menu" 1 1 "all" %}
</nav>
......
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