summaryrefslogtreecommitdiff
path: root/app/templates/home.html
diff options
context:
space:
mode:
authorblendoit <blendoit@gmail.com>2020-01-22 18:17:38 -0800
committerblendoit <blendoit@gmail.com>2020-01-22 18:17:38 -0800
commit6256335ef802e2823ac0118c01c7fe31e38e7287 (patch)
treef4d1633da886db94b450b70252ac935594ce73b8 /app/templates/home.html
parent2f1d0719faa0d955a82e87c0ea022f458e1c699f (diff)
Second commit.
Diffstat (limited to 'app/templates/home.html')
-rw-r--r--app/templates/home.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/templates/home.html b/app/templates/home.html
new file mode 100644
index 0000000..89984eb
--- /dev/null
+++ b/app/templates/home.html
@@ -0,0 +1,24 @@
+<link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='styles/default.css') }}">
+<link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='styles/home.css') }}">
+
+{% extends "base.html" %}
+
+{% block content %}
+
+<div>
+ <a href="{{ url_for('yes') }}" class="tab-yes"></a>
+ <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>
+ {% endfor %}
+ </div>
+</div>
+
+
+{% endblock content %}
Copyright 2019--2024 Marius PETER