Merge branch 'master' of https://github.com/AndyGrant/OpenBench
This commit is contained in:
commit
027f506db9
6 files changed
+39
-39
No files matched your search
@@ -26,7 +26,7 @@ a:link, a:visited, a:hover, a:active {
|
||||
}
|
||||
|
||||
#sidebar .header {
|
||||
font-size: 18px;
|
||||
font-size: 15px;
|
||||
color: #00AF00;
|
||||
}
|
||||
|
||||
|
||||
@@ -7,17 +7,17 @@
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
<th>DATE</th>
|
||||
<th>USER</th>
|
||||
<th>TEST</th>
|
||||
<th>TIME</th>
|
||||
<th>ACTION</th>
|
||||
<th>Date</th>
|
||||
<th>User</th>
|
||||
<th>Test</th>
|
||||
<th>Time</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
|
||||
{% for event in events %}
|
||||
<tr>
|
||||
<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>{{event.test.timecontrol}}</td>
|
||||
<td>{{event.data}}</td>
|
||||
|
||||
@@ -7,19 +7,19 @@
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>USER</th>
|
||||
<th>SYSTEM</th>
|
||||
<th>UPDATED</th>
|
||||
<th>WORKLOAD</th>
|
||||
<th>THREADS</th>
|
||||
<th>#</th>
|
||||
<th>User</th>
|
||||
<th>System</th>
|
||||
<th>Updated</th>
|
||||
<th>Workload</th>
|
||||
<th>Threads</th>
|
||||
<th>MNPS</th>
|
||||
</tr>
|
||||
|
||||
{% for machine in machines %}
|
||||
<tr>
|
||||
<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 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>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
{% endif %}
|
||||
|
||||
<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>{{network.sha256}}</td>
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
<div id="configuration">
|
||||
<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>Engine</th><td>{{test.engine}}</td></tr>
|
||||
<tr><th>Dev Branch</th><td>{{test.dev.name|prettyName}}</td></tr>
|
||||
@@ -113,22 +113,22 @@
|
||||
<table class="datatable">
|
||||
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>USER</th>
|
||||
<th>#</th>
|
||||
<th>User</th>
|
||||
<th>OS</th>
|
||||
<th>UPDATED</th>
|
||||
<th style="width: 60px">GAMES</th>
|
||||
<th style="width: 60px">WON</th>
|
||||
<th style="width: 60px">LOST</th>
|
||||
<th style="width: 60px">DRAWN</th>
|
||||
<th style="width: 60px">TIME</th>
|
||||
<th style="width: 60px">CRASH</th>
|
||||
<th>Updated</th>
|
||||
<th style="width: 60px">Games</th>
|
||||
<th style="width: 60px">Won</th>
|
||||
<th style="width: 60px">Lost</th>
|
||||
<th style="width: 60px">Drawn</th>
|
||||
<th style="width: 60px">Time</th>
|
||||
<th style="width: 60px">Crash</th>
|
||||
</tr>
|
||||
|
||||
{% for result in results %}
|
||||
<tr>
|
||||
<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 class="timestamp">{{result.updated|date:'Y-m-d H:i'}}</td>
|
||||
<td class="numeric">{{result.games}}</td>
|
||||
|
||||
@@ -7,17 +7,24 @@
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
<th>USERNAME</th>
|
||||
<th>GAMES</th>
|
||||
<th>TESTS</th>
|
||||
<th>ENGINE</th>
|
||||
<th>SOURCE REPOSITORY</th>
|
||||
<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}}</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.tests|insertCommas}}</td>
|
||||
<td>{{profile.engine}}</td>
|
||||
@@ -26,13 +33,6 @@
|
||||
{% endif %}
|
||||
{% 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>
|
||||
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user