diff options
Diffstat (limited to 'app/templates')
-rw-r--r-- | app/templates/home.html | 14 | ||||
-rw-r--r-- | app/templates/no.html | 13 | ||||
-rw-r--r-- | app/templates/yes.html | 2 |
3 files changed, 18 insertions, 11 deletions
diff --git a/app/templates/home.html b/app/templates/home.html index 6205c03..9d77add 100644 --- a/app/templates/home.html +++ b/app/templates/home.html @@ -9,13 +9,15 @@ <a href="{{ url_for('no') }}" class="tab-no"></a> <div class="main"> - {% for post in posts %} - <div class="post"> - <h1>{{post.author}}</h1> - <h2>{{post.date}}</h2> - <p>{{post.content}}</p> + <div class="feed-post"> + {% for post in posts %} + <div class="post"> + <h1>{{post.author}}</h1> + <h2>{{post.date}}</h2> + <p>{{post.content}}</p> + </div> + {% endfor %} </div> - {% endfor %} </div> </div> diff --git a/app/templates/no.html b/app/templates/no.html index 5bb7a0f..f7a2d53 100644 --- a/app/templates/no.html +++ b/app/templates/no.html @@ -9,11 +9,16 @@ <a href="{{ url_for('home') }}" class="tab-home"></a> <div class="main"> - <p> - Tell me, no - </p> + <div class="feed-archive"> + {% for archive in archive %} + <div class="archive"> + <h1>{{archive.author}}</h1> + <h2>{{archive.date}}</h2> + <p>{{archive.content}}</p> + </div> + {% endfor %} + </div> </div> </div> - {% endblock content %} diff --git a/app/templates/yes.html b/app/templates/yes.html index 00a330d..3ccc24b 100644 --- a/app/templates/yes.html +++ b/app/templates/yes.html @@ -20,7 +20,7 @@ {% endfor %} </div> - <div class="feed-post"> + <div class="feed-news"> {% for news in news %} <div class="news"> <h1>{{news.author}}</h1> |