jeremiewcz 1 year ago
parent
commit
7382c4f5e8

+ 0
- 6
app/content/agenda/2017-09-31.json View File

@@ -1,6 +0,0 @@
1
-{
2
-    "date": "Le 31 septembre 2017 à partir de 16 h",
3
-    "title": "La rentrée de Radio Rhino",
4
-    "place": "À la maison",
5
-    "description": "On fête le lancement de la première saison de Radio Rhino !"
6
-}

+ 0
- 5
app/content/blog/2017-08-06.json View File

@@ -1,5 +0,0 @@
1
-{
2
-    "title": "Ça c'est des grandes vacances",
3
-    "date": "Le 06 août 2017",
4
-    "content": "Lots of fun at Radio Rhino, grosse déglingue pendant l'été. On travaille très sérieusement car pas de repos pour les héros."
5
-}

+ 25
- 2
app/static/css/style.css View File

@@ -66,6 +66,18 @@ main {
66 66
   background-color: black;
67 67
   color: white; }
68 68
 
69
+.disabled {
70
+  display: none; }
71
+
72
+.pagination {
73
+  margin-top: 3em; }
74
+  .pagination li {
75
+    list-style: none;
76
+    display: inline; }
77
+  .pagination a {
78
+    font-family: pixelpath;
79
+    font-size: 1.85em; }
80
+
69 81
 .marg {
70 82
   margin-top: 1em; }
71 83
 
@@ -144,8 +156,19 @@ section {
144 156
     font-family: pixelpath;
145 157
     font-size: 2.2em; }
146 158
 
147
-.list-elem {
148
-  margin-top: 2em; }
159
+.more {
160
+  margin-left: calc(100% - 5em);
161
+  text-align: center;
162
+  margin-top: 3em;
163
+  width: 5em;
164
+  border: 1px solid black;
165
+  padding: 0em 0em; }
166
+  .more a {
167
+    border: none; }
168
+
169
+.title {
170
+  width: 20em;
171
+  margin-bottom: 3em; }
149 172
 
150 173
 /* SVGS */
151 174
 .line {

+ 1
- 1
app/static/css/style.css.map View File

@@ -1,6 +1,6 @@
1 1
 {
2 2
 "version": 3,
3
-"mappings": "AAaA;;;;EAIE;ACdF,CAAE;EACE,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,CAAC;EACV,UAAU,EAAE,UAAU;;AAG1B,IAAK;EACD,WAAW,EDVF,eAAe;ECWxB,SAAS,EDTI,KAAK;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AAE,IAAI;;ACtBhB,WAAW;AAEX,sCAAsC;AACtC,UAKC;EAJC,WAAW,EAAE,WAAW;EACxB,GAAG,EAAE,yIAAyI;EAC9I,WAAW,EAAE,GAAG;EAChB,UAAU,EAAE,MAAM;AAIpB;;sBAEsB;AACtB,UAKC;EAJC,WAAW,EAAE,MAAM;EACnB,GAAG,EAAE,wNAAwN;EAC7N,WAAW,EAAE,GAAG;EAChB,UAAU,EAAE,MAAM;AAGpB,UAKC;EAJC,WAAW,EAAE,MAAM;EACnB,GAAG,EAAE,+MAA+M;EACpN,WAAW,EAAE,GAAG;EAChB,UAAU,EAAE,MAAM;AAGpB,UAKC;EAJC,WAAW,EAAE,MAAM;EACnB,GAAG,EAAE,qNAAqN;EAC1N,WAAW,EAAE,GAAG;EAChB,UAAU,EAAE,MAAM;AAGpB,UAKC;EAJC,WAAW,EAAE,MAAM;EACnB,GAAG,EAAE,iOAAiO;EACtO,WAAW,EAAE,GAAG;EAChB,UAAU,EAAE,MAAM",
4 4
 "sources": ["../scss/_rules.scss","../scss/style.scss","../scss/_mixins.scss","../scss/_sections.scss","../scss/_svgs.scss","../scss/_fonts.scss"],
5 5
 "names": [],
6 6
 "file": "style.css"

+ 14
- 3
app/static/scss/_sections.scss View File

@@ -98,7 +98,18 @@ section {
98 98
 
99 99
 
100 100
 }
101
+.more {
102
+    margin-left: calc(100% - 5em);
103
+    text-align: center;
104
+    margin-top: 3em;
105
+    width: 5em;
106
+    border: 1px solid $black;
107
+    padding: 0em 0em;
101 108
 
109
+    a {
110
+        border: none;
111
+    }
112
+}
102 113
 
103 114
 #left-panel {
104 115
 
@@ -107,7 +118,7 @@ section {
107 118
 
108 119
 }
109 120
 
110
-
111
-.list-elem {
112
-    margin-top: 2em;
121
+.title {
122
+    width: 20em;
123
+    margin-bottom: 3em;
113 124
 }

+ 20
- 0
app/static/scss/style.scss View File

@@ -93,6 +93,26 @@ main {
93 93
     color: $white;
94 94
 }
95 95
 
96
+
97
+// PAGES
98
+
99
+.disabled {
100
+    display: none;
101
+}
102
+
103
+.pagination {
104
+    margin-top: 3em;
105
+    li {
106
+        list-style: none;
107
+        display: inline;
108
+    }
109
+    a {
110
+        font-family: $font-title;
111
+        font-size: 1.85em;
112
+    }
113
+}
114
+
115
+
96 116
 @import 'sections';
97 117
 @import 'svgs';
98 118
 @import 'fonts';

+ 4
- 5
app/templates/_macros.html View File

@@ -3,18 +3,17 @@
3 3
     <li{% if not pagination.has_prev %} class="disabled"{% endif %}>
4 4
         <a class="content-link" href="{% if pagination.has_prev %}{{ url_for(endpoint,
5 5
         page = pagination.page - 1, **kwargs) }}{% else %}#{% endif %}">
6
-        &laquo;
7
-        </a>
8
-        </li>
6
+        &laquo;</a>
7
+    </li>
9 8
         {% for p in pagination.iter_pages() %}
10 9
         {% if p %}
11 10
         {% if p == pagination.page %}
12 11
         <li class="active">
13
-        <a class="content-link" href="{{ url_for(endpoint, page = p, **kwargs) }}">{{ p }}</a>
12
+        <a class="content-link" href="{{ url_for(endpoint, page = p, **kwargs) }}">{{- p -}}</a>
14 13
         </li>
15 14
         {% else %}
16 15
         <li>
17
-        <a class="content-link" href="{{ url_for(endpoint, page = p, **kwargs) }}">{{ p }}</a>
16
+        <a class="content-link" href="{{ url_for(endpoint, page = p, **kwargs) }}">{{- p -}}</a>
18 17
         </li>
19 18
         {% endif %}
20 19
         {% else %}

+ 5
- 1
app/templates/elem_pages/podcast.html View File

@@ -11,7 +11,11 @@
11 11
             {% endif %}
12 12
         </div>
13 13
     </div>
14
-    <span class="license">{{ elem.timestamp|format_date }} / {{ elem.license }}</span>
14
+    <span class="license">{{ elem.timestamp|format_date }}
15
+        {% if elem.license %}
16
+        / {{ elem.license }}
17
+        {% endif %}
18
+    </span>
15 19
 
16 20
     {% if elem.collectives|length > 0 %}
17 21
     <p class="marg decal">Par

+ 49
- 33
app/templates/main_pages/podcasts.html View File

@@ -1,46 +1,62 @@
1 1
 {% import "_macros.html" as macros %}
2 2
 
3
-<section id="left-panel">
4
-<h2>Podcasts</h2>
5
-
6
-{% for podcast in podcasts %}
7
-<article class="list-elem">
8
-    <a class="content-link" href="{{ url_for('main.play', id=podcast.id) }}">
9
-        {% include 'svg/small_play.svg' %}</a>
10
-    <a class="content-link"
11
-       href="{{ url_for('main.podcast', id=podcast.id) }}">{{ podcast.name }}
12
-    </a>
13
-
14
-    <p><a>
15
-        {{ podcast.channel.name }}
16
-    </a></p>
17
-    <p>
18
-        {% for collective in podcast.collectives -%}
19
-        <a class="content-link" href="{{ url_for('main.collective', id=collective.id) }}">{{ collective.name }}</a>
20
-        {%- if not loop.last %}, {% endif -%}
21
-        {%- endfor %}
3
+<section class="solo">
4
+    <div class="title">
5
+        {% include 'svg/title_podcasts.svg' %}
6
+    </div>
7
+
8
+
9
+{% for elem in podcasts %}
10
+<article>
11
+    <div class="flex">
12
+        <a class="picto content-link" href="{{ url_for('main.play', id=elem.id) }}">
13
+            {% include 'svg/small_play.svg' -%}
14
+        </a>
15
+        <div class="bloc name">
16
+            <h3> {{ elem.name }} </h3>
17
+            {% if elem.channel.name %}
18
+            <h3><a class="content-link" href="">{{ elem.channel.name|upper }}</a></h3>
19
+            {% endif %}
20
+        </div>
21
+    </div>
22
+    <span class="license">{{ elem.timestamp|format_date }}</span>
23
+
24
+    {% if elem.collectives|length > 0 %}
25
+    <p class="marg decal">Par
26
+    {% for collective in elem.collectives %}
27
+        <a class="content-link"
28
+            href="{{ url_for('main.collective', id=collective.id) }}">
29
+        {{ collective.name -}}
30
+        </a>
31
+        {%- if not loop.last %}, {% endif %}
32
+    {% endfor %}
22 33
     </p>
23
-    <p>
24
-        {% for contributor in podcast.contributors -%}
25
-        <a class="content-link" href="{{ url_for('main.contributor', id=contributor.id) }}">{{ contributor.name }}</a>
26
-        {%- if not loop.last %}, {% endif -%}
27
-        {%- endfor %}
34
+    {% endif %}
35
+
36
+    {% if elem.contributors|length > 0 %}
37
+    <p class="marg decal">Avec
38
+    {% for contributor in elem.contributors %}
39
+        <a class="content-link"
40
+            href="{{ url_for('main.contributor', id=contributor.id) }}">
41
+        {{ contributor.name -}}
42
+        </a>
43
+        {%- if not loop.last %}, {% endif %}
44
+    {% endfor %}
28 45
     </p>
46
+    {% endif %}
29 47
 
30
-
31
-    <p>{{ podcast.timestamp|format_date }}</p>
32
-
33
-    {{ podcast.description|safe|truncate(100, False) }}
48
+    {% if elem.description %}
49
+    <div class="marg2 decal">
50
+        {{ elem.description|safe|truncate(100, False) }}
51
+    </div>
52
+    {% endif %}
34 53
 </article>
54
+<p class="more"><a class="content-link" href="{{ url_for('main.podcast', id=elem.id) }}">more</a></p>
35 55
 {% endfor %}
36 56
 
57
+
37 58
 <div class="pagination">
38 59
 {{ macros.pagination_widget(pagination, 'main.podcasts') }}
39 60
 </div>
40 61
 
41 62
 </section>
42
-
43
-<section id="right-panel">
44
-<h2>Selecteur</h2>
45
-<p>Les selecteurs par type, date, etc. arriveront plus tard.</p>
46
-</section>

Loading…
Cancel
Save