- page_head block on machines, machine, events, errors, users, networks, network and uploadnet - networks: remove stray ')' in the Hash header onclick, replace inline icon colours with classes - network: close the two unclosed <select> elements - uploadnet: close the form with </form>
34 lines
1.0 KiB
HTML
34 lines
1.0 KiB
HTML
{% extends "OpenBench/base.html" %}
|
|
|
|
{% load mytags %}
|
|
|
|
{% block page_head %}<div><h1 class="page-title">Users</h1><p class="page-sub">Contributors and approvers</p></div>{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<table class="hoverable">
|
|
|
|
<tr class="table-header">
|
|
<th>Username</th>
|
|
<th>Games</th>
|
|
<th>Tests</th>
|
|
<th>Engine</th>
|
|
<th>Created</th>
|
|
</tr>
|
|
|
|
{% for profile in profiles %}
|
|
{% 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 class="timestamp">{{profile.user.date_joined|date:'U'}}</td>
|
|
</tr>
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% endblock %}
|