summaryrefslogtreecommitdiff
path: root/app/templates
diff options
context:
space:
mode:
Diffstat (limited to 'app/templates')
-rw-r--r--app/templates/home.html2
-rw-r--r--app/templates/no.html10
-rw-r--r--app/templates/yes.html49
3 files changed, 51 insertions, 10 deletions
diff --git a/app/templates/home.html b/app/templates/home.html
index 89984eb..6205c03 100644
--- a/app/templates/home.html
+++ b/app/templates/home.html
@@ -2,7 +2,6 @@
<link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='styles/home.css') }}">
{% extends "base.html" %}
-
{% block content %}
<div>
@@ -20,5 +19,4 @@
</div>
</div>
-
{% endblock content %}
diff --git a/app/templates/no.html b/app/templates/no.html
index e1b9238..5bb7a0f 100644
--- a/app/templates/no.html
+++ b/app/templates/no.html
@@ -9,13 +9,9 @@
<a href="{{ url_for('home') }}" class="tab-home"></a>
<div class="main">
- {% for post in posts %}
- <div class="post">
- <h1>{{post.author}}</h1>
- <h2>{{post.date}}</h2>
- <p>{{post.content}}</p>
- </div>
- {% endfor %}
+ <p>
+ Tell me, no
+ </p>
</div>
</div>
diff --git a/app/templates/yes.html b/app/templates/yes.html
index b915221..00a330d 100644
--- a/app/templates/yes.html
+++ b/app/templates/yes.html
@@ -9,7 +9,54 @@
<a href="{{ url_for('home') }}" class="tab-home"></a>
<div class="main">
- <p> yes, no?</p>
+
+ <div class="feed-message">
+ {% for message in messages %}
+ <div class="message">
+ <h1>{{message.author}}</h1>
+ <h2>{{message.date}}</h2>
+ <p>{{message.content}}</p>
+ </div>
+ {% endfor %}
+ </div>
+
+ <div class="feed-post">
+ {% for news in news %}
+ <div class="news">
+ <h1>{{news.author}}</h1>
+ <h2>{{news.date}}</h2>
+ <p>{{news.content}}</p>
+ </div>
+ {% endfor %}
+ </div>
+
+ <div class="feed-ads">
+ <div class="ad">
+ Buy my sourdough, ah
+ </div>
+ <div class="ad">
+ Check out this sponsored link, ere.
+ </div>
+ <div class="ad">
+ Another random ad (from a high-paying sponsor hopefully)
+ </div>
+ <div class="ad">
+ Ah I literally don't have any other placeholder ideas for ads.
+ </div>
+ <div class="ad">
+ Buy my sourdough, ah
+ </div>
+ <div class="ad">
+ Check out this sponsored link, ere.
+ </div>
+ <div class="ad">
+ Another random ad (from a high-paying sponsor hopefully)
+ </div>
+ <div class="ad">
+ Ah I literally don't have any other placeholder ideas for ads.
+ </div>
+ </div>
+ </div>
</div>
</div>
Copyright 2019--2024 Marius PETER