summaryrefslogtreecommitdiff
path: root/app/templates/home.html
blob: 28bde41442ca9ee5ed06ca0eebb97259f1c0b43e (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
25
26
27
<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 %}

<!-- 'Yes' tab -->
<a href="{{ url_for('yes') }}" class="tab-yes"></a>
<!-- 'No' tab -->
<a href="{{ url_for('no') }}" class="tab-no"></a>

<div class="feed-post">
    {% for post in posts %}
    <div class="post-wrapper">
        <a href="{{ url_for('home') }}" class="btn-yes"></a>
        <a href="{{ url_for('home') }}" class="btn-no"></a>
        <div class="post">
            <h1>{{post.author}}</h1>
            <h2>{{post.date}}</h2>
            <p>{{post.content}}</p>
        </div>
    </div>

    {% endfor %}
</div>

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