summaryrefslogtreecommitdiff
path: root/app/templates/home.html
blob: 9d77add8b86eddac9aa6a203f12fe10ec298a62a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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">
        <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>
    </div>
</div>

{% endblock content %}
Copyright 2019--2024 Marius PETER