forked from lza_menace/suchwow
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
622 B
25 lines
622 B
{% 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 | sort(attribute='balance') %}
|
|
<li>#{{ posts[post].post.id }} - <a href="{{ url_for('post.read', id=posts[post].post.id) }}">{{ posts[post].post.title }}</a> - {{ posts[post].post.submitter }} - {{ posts[post].balance }} WOW received</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% else %}
|
|
<p>No posts yet!</p>
|
|
{% endif %}
|
|
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|