43 lines
1.3 KiB
HTML
43 lines
1.3 KiB
HTML
{% extends "OpenBench/base.html" %}
|
|
|
|
{% load mytags %}
|
|
|
|
{% block content %}
|
|
|
|
<table class="hoverable">
|
|
|
|
<tr class="table-header">
|
|
<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.enabled %}
|
|
{% if profile.games or profile.tests or profile.approver %}
|
|
<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 %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% endblock %}
|