Implement view machines

This commit is contained in:
AndyGrant committed 2018-06-12 01:23:59 -04:00
1 parent 8d8bc26aa0
commit e613e608c3
2 files changed
+37 -3

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
{% extends "OpenBench/base.html" %}
{% load mytags %}
{% block style %}
{% load static %}
{% endblock %}
{% block content %}
<table style="padding-top:40px">
<tr>
<th>User</th>
<th>System</th>
<th>Updated</th>
<th>Threads</th>
<th>MNPS</th>
</tr>
{% for machine in machines %}
<tr>
<td>{{machine.owner}}</th>
<td>{{machine.osname}}</th>
<td>{{machine.updated}}</th>
<td>{{machine.threads}}</th>
<td>{{machine.mnps|twoDigitPrecision}}</th>
</tr>
{% endfor %}
</table>
{% endblock %}