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