diff options
Diffstat (limited to 'website/app/templates/home.html')
-rw-r--r-- | website/app/templates/home.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/website/app/templates/home.html b/website/app/templates/home.html new file mode 100644 index 0000000..89984eb --- /dev/null +++ b/website/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 %} |