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;EACvB,WAAW,EDtHN,eAAe;ECuHpB,YAAY,EDvHP,eAAe;;ACyHxB,WAAY;EACR,WAAW,EAAE,KAAK",
4 4
 "sources": ["../scss/_rules.scss","../scss/player.scss"],
5 5
 "names": [],
6 6
 "file": "player.css"

+ 6
- 6
app/static/css/style.css View File

@@ -22,6 +22,9 @@ body {
22 22
 p, h1, h2, h3, h4, h5, h6 {
23 23
   color: black; }
24 24
 
25
+a {
26
+  outline: 0; }
27
+
25 28
 nav {
26 29
   height: 100%;
27 30
   width: 20%;
@@ -67,12 +70,12 @@ section {
67 70
     min-width: 30%;
68 71
     max-width: 40%; }
69 72
 
70
-a {
71
-  outline: 0; }
72
-
73 73
 #left-panel {
74 74
   width: 100%; }
75 75
 
76
+.list-elem {
77
+  margin-top: 2em; }
78
+
76 79
 /* SVGS */
77 80
 .line {
78 81
   fill: none;
@@ -97,9 +100,6 @@ a {
97 100
   fill: black;
98 101
   stroke: none; }
99 102
 
100
-.list-elem {
101
-  margin-top: 2em; }
102
-
103 103
 /* FONTS */
104 104
 /* Pixelpath - https://autre.space/ */
105 105
 @font-face {

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

@@ -1,7 +1,7 @@
1 1
 {
2 2
 "version": 3,
3
-"mappings": "AAYA;;;;EAIE;ACdF,CAAE;EACE,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,CAAC;EACV,UAAU,EAAE,UAAU;;AAG1B,IAAK;EACD,WAAW,EDTF,eAAe;ECUxB,SAAS,EDRI,KAAK;ECSlB,gBAAgB,EDNZ,KAAK;;ACSb,IAAK;EACD,MAAM,EAAE,IAAI;EACZ,OAAO,EAAE,IAAI;EACb,MAAM,EAAE,kBAAkB;EAC1B,aAAa,EAAE,KAAK;;AAGxB,yBAA0B;EACtB,KAAK,EDhBD,KAAK;;ACmBb,GAAI;EACA,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,GAAG;EACV,YAAY,EAAE,GAAG;EACjB,aAAa,EAAE,GAAG;EAClB,QAAQ,EAA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,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
+"sources": ["../scss/_rules.scss","../scss/style.scss","../scss/_sections.scss","../scss/_svgs.scss","../scss/_fonts.scss"],
5 5
 "names": [],
6 6
 "file": "style.css"
7 7
 }

+ 1
- 1
app/static/scss/_rules.scss View File

@@ -7,7 +7,7 @@ $white: white;
7 7
 $black: black;
8 8
 $main-color: springgreen;
9 9
 
10
-$border: 5px solid $black;
10
+$border: 5px solid black;
11 11
 $player-height: 6em;
12 12
 
13 13
 /* TODO

+ 39
- 0
app/static/scss/_sections.scss View File

@@ -0,0 +1,39 @@
1
+section {
2
+    padding: 5em 3em 3em 3em;
3
+
4
+    h2 {
5
+        margin-bottom: 0.7em;
6
+        padding: 0em 0.5em;
7
+        color: $white;
8
+        background-color: $black;
9
+    }
10
+
11
+    article {
12
+        div ~ div {
13
+            margin-top: 0.8em;
14
+        }
15
+
16
+        &:last-child {
17
+            margin-top: 3em;
18
+        }
19
+    }
20
+
21
+    &:last-child {
22
+        margin-right: 3em;
23
+        min-width: 30%;
24
+        max-width: 40%;
25
+    }
26
+}
27
+
28
+
29
+#left-panel {
30
+    width: 100%;
31
+}
32
+#right-panel {
33
+
34
+}
35
+
36
+
37
+.list-elem {
38
+    margin-top: 2em;
39
+}

+ 24
- 0
app/static/scss/_svgs.scss View File

@@ -0,0 +1,24 @@
1
+/* SVGS */
2
+.line {
3
+    fill: none;
4
+    stroke-linecap: round;
5
+    stroke-linejoin: round;
6
+}
7
+.main-width {
8
+    stroke-width: 5;
9
+    stroke-miterlimit: 5;
10
+}
11
+.aux-width {
12
+    stroke-width: 3;
13
+    stroke-miterlimit: 3;
14
+}
15
+.black {
16
+    stroke: $black;
17
+}
18
+.main-color {
19
+    stroke: $main-color;
20
+}
21
+.circle {
22
+    fill: $black;
23
+    stroke: none;
24
+}

+ 5
- 64
app/static/scss/style.scss View File

@@ -22,6 +22,9 @@ body {
22 22
 p, h1, h2, h3, h4, h5, h6 {
23 23
     color: $black;
24 24
 }
25
+a {
26
+    outline: 0;
27
+}
25 28
 
26 29
 nav {
27 30
     height: 100%;
@@ -78,69 +81,7 @@ main {
78 81
     }
79 82
 }
80 83
 
81
-section {
82
-    padding: 5em 3em 3em 3em;
83
-
84
-    h2 {
85
-        margin-bottom: 0.7em;
86
-        padding: 0em 0.5em;
87
-        color: $white;
88
-        background-color: $black;
89
-    }
90
-
91
-    article {
92
-        div ~ div {
93
-            margin-top: 0.8em;
94
-        }
95
-
96
-        &:last-child {
97
-            margin-top: 3em;
98
-        }
99
-    }
100
-
101
-    &:last-child {
102
-        margin-right: 3em;
103
-        min-width: 30%;
104
-        max-width: 40%;
105
-    }
106
-}
107
-
108
-a {
109
-    outline: 0;
110
-}
111
-#left-panel {
112
-    width: 100%;
113
-}
114
-#right-panel {
115
-
116
-}
117
-/* SVGS */
118
-.line {
119
-    fill: none;
120
-    stroke-linecap: round;
121
-    stroke-linejoin: round;
122
-}
123
-.main-width {
124
-    stroke-width: 5;
125
-    stroke-miterlimit: 5;
126
-}
127
-.aux-width {
128
-    stroke-width: 3;
129
-    stroke-miterlimit: 3;
130
-}
131
-.black {
132
-    stroke: $black;
133
-}
134
-.main-color {
135
-    stroke: $main-color;
136
-}
137
-.circle {
138
-    fill: $black;
139
-    stroke: none;
140
-}
141
-
142
-.list-elem {
143
-    margin-top: 2em;
144
-}
145 84
 
85
+@import 'sections';
86
+@import 'svgs';
146 87
 @import 'fonts';

+ 1
- 1
app/templates/agenda.html View File

@@ -4,7 +4,7 @@
4 4
     <div class="list-elem">
5 5
         <h3>{{ event.name }}</h3>
6 6
         <h4>Du {{ event.begin }} au {{ event.end }}</h4>
7
-        <p>{{ event.description }}</p>
7
+        {{ event.description|safe }}
8 8
     </div>
9 9
     {% endfor %}
10 10
 </article>

+ 3
- 3
app/templates/elem_pages/contributor.html View File

@@ -23,7 +23,7 @@
23 23
     <p>CONTRIBUTEURS : </br>
24 24
     {% for contributor in elem.contributors %}
25 25
         <a class="content-link"
26
-            href="{{ url_for('main.contributors', id=contributor.id) }}">
26
+            href="{{ url_for('main.contributor', id=contributor.id) }}">
27 27
         {{ contributor.name -}}
28 28
         </a>
29 29
         {%- if not loop.last %}, {% endif %}
@@ -36,7 +36,7 @@
36 36
     <p>CHANNEL : </br>
37 37
     {% for channel in elem.channels %}
38 38
         <a class="content-link"
39
-            href="{{ url_for('main.channels', id=channel.id) }}">
39
+            href="{{ url_for('main.index') }}">
40 40
         {{ channel.name -}}
41 41
         </a>
42 42
         {%- if not loop.last %}, {% endif %}
@@ -87,7 +87,7 @@
87 87
     <div class="list-item">
88 88
         {% for post in elem.blog_posts %}
89 89
             <a class="content-link"
90
-                href="{{ url_for('main.blogs', id=post.id) }}">
90
+                href="{{ url_for('main.blog', id=post.id) }}">
91 91
             {{ post.name -}}
92 92
             </a>
93 93
             <h5>{{ post.timestamp }}</h5>

+ 4
- 4
app/templates/elem_pages/podcast.html View File

@@ -7,7 +7,7 @@
7 7
     <p>CONTRIBUTEURS: </br>
8 8
     {% for contributor in elem.contributors %}
9 9
         <a class="content-link"
10
-            href="{{ url_for('main.contributors', id=contributor.id) }}">
10
+            href="{{ url_for('main.contributor', id=contributor.id) }}">
11 11
         {{ contributor.name -}}
12 12
         </a>
13 13
         {%- if not loop.last %}, {% endif %}
@@ -20,7 +20,7 @@
20 20
     <p>COLLECTIFS : </br>
21 21
     {% for collective in elem.collectives %}
22 22
         <a class="content-link"
23
-            href="{{ url_for('main.collectives', id=collective.id) }}">
23
+            href="{{ url_for('main.collective', id=collective.id) }}">
24 24
         {{ collective.name -}}
25 25
         </a>
26 26
         {%- if not loop.last %}, {% endif %}
@@ -30,7 +30,7 @@
30 30
     </br>
31 31
 
32 32
     <p>PUBLICATION : {{ elem.timestamp|format_date }}</p>
33
-    <p>LICENCE : {{ elem.licence }}</p>
33
+    <p>LICENCE : {{ elem.license }}</p>
34 34
     </br>
35 35
 
36 36
     <p>DESCRIPTION :</p>
@@ -44,7 +44,7 @@
44 44
         <a href="#">
45 45
         {% for contributor in section.contributors %}
46 46
             <a class="content-link"
47
-                href="{{ url_for('main.contributors', id=contributor.id) }}">
47
+                href="{{ url_for('main.contributor', id=contributor.id) }}">
48 48
             {{ contributor.name }}
49 49
             </a>
50 50
             {% if not loop.last %}, {% endif %}

+ 1
- 1
app/templates/index.html View File

@@ -3,7 +3,7 @@
3 3
         <h2>Derniers podcasts</h2>
4 4
         {% for podcast in podcasts %}
5 5
         <li>
6
-            <a class="content-link" href="{{ url_for('main.podcasts', id=podcast.id) }}">{{ podcast.name }}</a>
6
+            <a class="content-link" href="{{ url_for('main.podcast', id=podcast.id) }}">{{ podcast.name }}</a>
7 7
         </li>
8 8
         {% endfor %}
9 9
     </ul>

Loading…
Cancel
Save