Add user rank colors, sort user list

This commit is contained in:
rubenwardy
2018-05-15 15:00:07 +01:00
parent f79c14ece8
commit e669b18062
4 changed files with 24 additions and 4 deletions

View File

@@ -39,7 +39,7 @@
</tr>
<tr>
<td>Author</td>
<td>
<td class="{{ package.author.rank }}">
<a href="{{ url_for('user_profile_page', username=package.author.username) }}">
{{ package.author.display_name }}
</a>

View File

@@ -5,9 +5,9 @@
{% endblock %}
{% block content %}
<ul>
<ul class="userlist">
{% for user in users %}
<li>
<li class="{{ user.rank }}">
<a href="{{ url_for('user_profile_page', username=user.username) }}">
{{ user.display_name }}
</a> -