25 lines
546 B
HTML
25 lines
546 B
HTML
{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="container" style="text-align:center;">
|
|
|
|
<div class="title">
|
|
<h3>{% block title %}Top Posts{% endblock %}</h3>
|
|
</div>
|
|
|
|
{% if posts %}
|
|
<ul style="list-style-type:none;">
|
|
{% for post in posts %}
|
|
<li>#{{ post[1].id }} - <a href="{{ url_for('post.read', id=post[1].id) }}">{{ post[1].title }}</a> - {{ post[1].submitter }} - {{ post[0] }} WOW received</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% else %}
|
|
<p>No posts yet!</p>
|
|
{% endif %}
|
|
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|