Browse Source

correcting small typos

/\/ \-/ ❭❬ 7 months ago
parent
commit
d60f19fbe0
4 changed files with 75 additions and 4 deletions
  1. 69
    0
      TABLES.rst
  2. 4
    3
      app/templates/index.haml
  3. 1
    1
      requirements.txt
  4. 1
    0
      run_dev_server.sh

+ 69
- 0
TABLES.rst View File

@@ -0,0 +1,69 @@
1
+==================
2
+RADIO RHINO TABLES
3
+==================
4
+
5
+list postgresql tables : 
6
+
7
+----------
8
+blog_posts
9
+----------
10
+----------------------
11
+blog_posts_collectives
12
+----------------------
13
+-----------------------
14
+blog_posts_contributors
15
+-----------------------
16
+--------
17
+channels
18
+--------
19
+----------------
20
+channels_authors
21
+----------------
22
+--------------------
23
+channels_collectives
24
+--------------------
25
+---------------------
26
+channels_contributors
27
+---------------------
28
+-----------
29
+collectives
30
+-----------
31
+------------------------
32
+collectives_contributors
33
+------------------------
34
+------------
35
+contributors
36
+------------
37
+------
38
+events
39
+------
40
+-----
41
+pages
42
+-----
43
+--------
44
+podcasts
45
+--------
46
+----------------
47
+podcasts_authors
48
+----------------
49
+--------------------
50
+podcasts_collectives
51
+--------------------
52
+---------------------
53
+podcasts_contributors
54
+---------------------
55
+--------
56
+sections
57
+--------
58
+----------------
59
+sections_authors
60
+----------------
61
+--------------------
62
+sections_collectives
63
+--------------------
64
+---------------------
65
+sections_contributors
66
+---------------------
67
+----
68
+tags
69
+----

+ 4
- 3
app/templates/index.haml View File

@@ -1,3 +1,4 @@
1
+-from '_macros.haml' import link_list, description, more_button, title, add_pages
1 2
 -include 'svg/pictos/small_play.svg'
2 3
 
3 4
 %section.principal
@@ -30,15 +31,15 @@
30 31
                 -else:
31 32
                     Le {{ elem.begin|format_date }} \
32 33
                     de {{ elem.begin|format_date('%H h %M') }} \
33
-                    à {{ elem.begin|fomat_date('%H h %M') }}
34
+                    à {{ elem.begin|format_date('%H h %M') }}
34 35
             %div.marg.description
35 36
                 =elem.description|safe|truncate(200, False)
36 37
 %section.second
37 38
     -for elem in blog_posts:
38 39
         %article.widgetBis
39
-            %a href={{ url_for('main.blog_post', id=elem.id) }}
40
+            %a href={{ url_for('main.blogs', id=elem.id) }}
40 41
                 %h3 -> =elem.name
41
-            %span {{ elem.date|format_date }}
42
+            %span {{ elem.timestamp|format_date }}
42 43
                 =link_list(elem.contributors, 'main.contributor', 'Par ', close=False)
43 44
                 =link_list(elem.collectives, 'main.collective', ' @ ', open=False)
44 45
             =description(elem.description, 15)

+ 1
- 1
requirements.txt View File

@@ -29,4 +29,4 @@ virtualenv==15.1.0
29 29
 visitor==0.1.3
30 30
 Werkzeug==0.12.2
31 31
 WTForms==2.1
32
-Hamlish-Jinja=0.3.3
32
+Hamlish-Jinja==0.3.3

+ 1
- 0
run_dev_server.sh View File

@@ -2,4 +2,5 @@ source venv/bin/activate
2 2
 export FLASK_APP=app.py
3 3
 export FLASK_DEBUG=1
4 4
 
5
+sass app/static/scss/style.scss:app/static/css/style.css --style compressed
5 6
 python3 manage.py runserver

Loading…
Cancel
Save