This commit is contained in:
Andrew Grant committed 2021-05-29 20:34:54 -04:00
commit 027f506db9
6 files changed
+39 -39

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ a:link, a:visited, a:hover, a:active {
} }
#sidebar .header { #sidebar .header {
font-size: 18px; font-size: 15px;
color: #00AF00; color: #00AF00;
} }
+6 -6
View File
@@ -7,17 +7,17 @@
<table> <table>
<tr> <tr>
<th>DATE</th> <th>Date</th>
<th>USER</th> <th>User</th>
<th>TEST</th> <th>Test</th>
<th>TIME</th> <th>Time</th>
<th>ACTION</th> <th>Action</th>
</tr> </tr>
{% for event in events %} {% for event in events %}
<tr> <tr>
<td class="timestamp">{{event.creation|date:'Y-m-d H:i:s'}}</td> <td class="timestamp">{{event.creation|date:'Y-m-d H:i:s'}}</td>
<td>{{event.author}}</td> <td>{{event.author|capfirst}}</td>
<td><a href="/test/{{event.test.id}}">{{event.test.dev.name|prettyName}}</a></td> <td><a href="/test/{{event.test.id}}">{{event.test.dev.name|prettyName}}</a></td>
<td>{{event.test.timecontrol}}</td> <td>{{event.test.timecontrol}}</td>
<td>{{event.data}}</td> <td>{{event.data}}</td>
+7 -7
View File
@@ -7,19 +7,19 @@
<table> <table>
<tr> <tr>
<th>ID</th> <th>#</th>
<th>USER</th> <th>User</th>
<th>SYSTEM</th> <th>System</th>
<th>UPDATED</th> <th>Updated</th>
<th>WORKLOAD</th> <th>Workload</th>
<th>THREADS</th> <th>Threads</th>
<th>MNPS</th> <th>MNPS</th>
</tr> </tr>
{% for machine in machines %} {% for machine in machines %}
<tr> <tr>
<td class="numeric">{{machine.id}}</td> <td class="numeric">{{machine.id}}</td>
<td>{{machine.user.username}}</td> <td>{{machine.user.username|capfirst}}</td>
<td>{{machine.osname|truncatewords:1|slice:":-2"}}</td> <td>{{machine.osname|truncatewords:1|slice:":-2"}}</td>
<td class="timestamp">{{machine.updated|date:'Y-m-d H:i'}}</td> <td class="timestamp">{{machine.updated|date:'Y-m-d H:i'}}</td>
<td> <a href="/test/{{machine.workload.id}}">{{machine.workload.dev.name|prettyName}}</a></td> <td> <a href="/test/{{machine.workload.id}}">{{machine.workload.dev.name|prettyName}}</a></td>
+1 -1
View File
@@ -27,7 +27,7 @@
{% endif %} {% endif %}
<td>{{network.engine}}</td> <td>{{network.engine}}</td>
<td><a href="/user/{{network.author}}">{{network.author}}</a></td> <td><a href="/user/{{network.author}}">{{network.author|capfirst}}</a></td>
<td><a href="/networks/download/{{network.sha256}}">{{network.name}}</a></td> <td><a href="/networks/download/{{network.sha256}}">{{network.name}}</a></td>
<td>{{network.sha256}}</td> <td>{{network.sha256}}</td>
+11 -11
View File
@@ -10,7 +10,7 @@
<div id="configuration"> <div id="configuration">
<table class="datatable left-align"> <table class="datatable left-align">
<tr><th>Author</th><td>{{test.author}}</td></tr> <tr><th>Author</th><td>{{test.author|capfirst}}</td></tr>
<tr><th>Creation</th><td class="timestamp">{{test.creation|date:'Y-m-d H:i:s'}}</td></tr> <tr><th>Creation</th><td class="timestamp">{{test.creation|date:'Y-m-d H:i:s'}}</td></tr>
<tr><th>Engine</th><td>{{test.engine}}</td></tr> <tr><th>Engine</th><td>{{test.engine}}</td></tr>
<tr><th>Dev Branch</th><td>{{test.dev.name|prettyName}}</td></tr> <tr><th>Dev Branch</th><td>{{test.dev.name|prettyName}}</td></tr>
@@ -113,22 +113,22 @@
<table class="datatable"> <table class="datatable">
<tr> <tr>
<th>ID</th> <th>#</th>
<th>USER</th> <th>User</th>
<th>OS</th> <th>OS</th>
<th>UPDATED</th> <th>Updated</th>
<th style="width: 60px">GAMES</th> <th style="width: 60px">Games</th>
<th style="width: 60px">WON</th> <th style="width: 60px">Won</th>
<th style="width: 60px">LOST</th> <th style="width: 60px">Lost</th>
<th style="width: 60px">DRAWN</th> <th style="width: 60px">Drawn</th>
<th style="width: 60px">TIME</th> <th style="width: 60px">Time</th>
<th style="width: 60px">CRASH</th> <th style="width: 60px">Crash</th>
</tr> </tr>
{% for result in results %} {% for result in results %}
<tr> <tr>
<td>{{result.machine.id}}</td> <td>{{result.machine.id}}</td>
<td>{{result.machine.user.username|slice:"6"}}</td> <td>{{result.machine.user.username|capfirst|slice:"6"}}</td>
<td>{{result.machine.osname|truncatewords:1|slice:":-2"}}</td> <td>{{result.machine.osname|truncatewords:1|slice:":-2"}}</td>
<td class="timestamp">{{result.updated|date:'Y-m-d H:i'}}</td> <td class="timestamp">{{result.updated|date:'Y-m-d H:i'}}</td>
<td class="numeric">{{result.games}}</td> <td class="numeric">{{result.games}}</td>
+13 -13
View File
@@ -7,17 +7,24 @@
<table> <table>
<tr> <tr>
<th>USERNAME</th> <th>Username</th>
<th>GAMES</th> <th>Games</th>
<th>TESTS</th> <th>Tests</th>
<th>ENGINE</th> <th>Engine</th>
<th>SOURCE REPOSITORY</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> </tr>
{% for profile in profiles %} {% for profile in profiles %}
{% if profile.games or profile.tests %} {% if profile.games or profile.tests %}
<tr> <tr>
<td><a href="/user/{{profile.user.username}}">{{profile.user.username}}</a></td> <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.games|insertCommas}}</td>
<td style="text-align: right">{{profile.tests|insertCommas}}</td> <td style="text-align: right">{{profile.tests|insertCommas}}</td>
<td>{{profile.engine}}</td> <td>{{profile.engine}}</td>
@@ -26,13 +33,6 @@
{% endif %} {% endif %}
{% endfor %} {% endfor %}
<tr style="font-weight: bold">
<th>OVERALL</th>
<th>{{profiles|sumAttributes:"games"|insertCommas}}</th>
<th>{{profiles|sumAttributes:"tests"|insertCommas}}</th>
<th></th><th></th>
</tr>
</table> </table>
{% endblock %} {% endblock %}