]> git.0d.be Git - panikweb.git/commitdiff
relayout navigation of program sublevel pages
authorFrédéric Péters <fpeters@0d.be>
Thu, 26 Sep 2013 00:59:41 +0000 (02:59 +0200)
committerFrédéric Péters <fpeters@0d.be>
Thu, 26 Sep 2013 00:59:41 +0000 (02:59 +0200)
panikweb_templates/static/css/specifics.css
panikweb_templates/templates/emissions/emission_detail.html
panikweb_templates/templates/emissions/nav.html
panikweb_templates/templates/tpl-default.html

index 9b196d910e9209b376d6932e30d04fd5a318db2e..113ac72d976e4fcbb3096f780b8f6fc5944f2041 100644 (file)
@@ -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 ****************/
 /*******************************/
index 36ef59896df0c33296063dba11581f0a4443e4ac..5c49882d6901b0da8dc9ada496e848ac7cb5c4df 100644 (file)
@@ -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 %}
index 600247a7c6a4687c20b80265308122f204805bfd..4af8100eabd6c3e597a7e5d020c04d88a6c6e4f8 100644 (file)
@@ -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>
index 1f73f76c00c250d4f192fdd881407b837d5141bb..d87974832d6bef0ba815f5de4e930648ca944070 100644 (file)
@@ -8,7 +8,7 @@
 {% endblock %}
 
 {% block nav %}
-<div class="wrapper">
+<div class="mainSub">
            <nav class="distributed">
                    {% show_menu "main-menu" 1 1 "all" %}
            </nav>