]> git.0d.be Git - panikweb.git/commitdiff
templates: point program menu item to weekly program
authorFrédéric Péters <fpeters@0d.be>
Fri, 27 Dec 2019 13:40:46 +0000 (14:40 +0100)
committerFrédéric Péters <fpeters@0d.be>
Fri, 27 Dec 2019 13:40:46 +0000 (14:40 +0100)
panikweb_templates/static/css/_specifics.scss
panikweb_templates/templates/includes/metaNav.html
panikweb_templates/templates/program.html

index d0638da2a91cdbd37d400082b59764cc17c99ee2..4da5a018cf05d21a370e51d4669d861e9755dc31 100644 (file)
@@ -2126,6 +2126,7 @@ div.around-nav {
                width: 4000px;
                transition: transform linear 0.2s;
                div.around-block {
+                       cursor: pointer;
                        border-right: 1px solid $primary;
                        box-sizing: border-box;
                        padding: 0 1rem;
@@ -2196,6 +2197,7 @@ div.around-nav {
        }
 }
 
+div.program,
 #recent-emissions,
 #recent-news,
 #recent-sounds,
@@ -2208,6 +2210,10 @@ div.around-nav {
         clip-path: polygon(0 0, 95% 0, 100% 30%, 100% 100%, 10% 100%, 0% 100%, 0 0);
 }
 
+div.program.tabs {
+       clip-path: none;
+}
+
 header h3 {
        color: $text-color;
        position: relative;
@@ -2225,6 +2231,7 @@ header h3 {
 
 }
 
+span.program-period,
 span.date {
        text-transform: lowercase;
 }
index 761893e9219f7504192832f0979418ae8fef80b8..79355769e245eb5d44aea3fdaed6bec846452539 100644 (file)
@@ -1,7 +1,7 @@
 {% load i18n %}
 <nav class="contextual-menu">
                <ul>
-                       <li class="{% if sectionName == "Emissions" %}active{% endif %}"><a title="Les émissions, le programme de la semaine, la grille" href="{% url 'grid' %}">
+                       <li class="{% if sectionName == "Emissions" %}active{% endif %}"><a title="Les émissions, le programme de la semaine" href="{% url 'program' %}">
                                <span class="nav-icon icon-calendar resymbol" ></span>
                                <span class="iconLabel">{% trans 'Program' %}</span>
                        </a></li>
index 9c84bc54137af1b956f653960f6441e9bb1a06a0..1e777dd072feb15736069271506334facdfa7480 100644 (file)
@@ -3,19 +3,17 @@
 {% 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" %}
+<header class="mainHeader">
+<h1 class="top">Programme</h1>
+<span class="program-period">Du {{week_first_day|date:"l j E"}} au {{week_last_day|date:"l j E"}}</span>
+</header>
+
 {% 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">