17 lines
858 B
HTML
17 lines
858 B
HTML
{% extends 'layout.html' %}
|
|
{% block nav_timeline %} active {% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="container">
|
|
<div class="row">
|
|
{% for post in posts if not post.hidden %}
|
|
<div class="card" style="word-wrap: break-word; margin-bottom: 16px; width: 100%;">
|
|
<div class="card-header"><b><a href="/profile/{{ post.poster }}">{{ post.poster }}</a></b> at {{ post.timePosted.strftime('%Y-%m-%d %-H:%M') }} {% if logged_in == post.poster %} <span style="float: right"><a href="/delete/{{ post._id }}" class="btn btn-danger btn-sm"><i class="far fa-trash-alt"></i></a></span>{% endif %}</div>
|
|
<div class="card-body">
|
|
{{ post.content }}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|