39 lines
1.1 KiB
HTML
39 lines
1.1 KiB
HTML
{% extends "OpenBench/base.html" %}
|
|
|
|
{% load mytags %}
|
|
|
|
{% block content %}
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
<th>Username</th>
|
|
<th>Games</th>
|
|
<th>Tests</th>
|
|
<th>Engine</th>
|
|
<th>Default Repository</th>
|
|
</tr>
|
|
|
|
<tr style="font-weight: bold">
|
|
<th>{{profiles|length}}</th>
|
|
<th>{{profiles|sumAttributes:"games"|insertCommas}}</th>
|
|
<th>{{profiles|sumAttributes:"tests"|insertCommas}}</th>
|
|
<th></th><th></th>
|
|
</tr>
|
|
|
|
{% for profile in profiles %}
|
|
{% if profile.games or profile.tests %}
|
|
<tr>
|
|
<td><a href="/user/{{profile.user.username}}">{{profile.user.username|capfirst}}</a></td>
|
|
<td style="text-align: right">{{profile.games|insertCommas}}</td>
|
|
<td style="text-align: right">{{profile.tests|insertCommas}}</td>
|
|
<td>{{profile.engine}}</td>
|
|
<td><a href="{{profile.repo}}">{{profile.repo}}</a></td>
|
|
</tr>
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% endblock %}
|