survey/templates/panel/campaigns/results.html

56 lines
1.6 KiB
HTML

{% extends 'base' %}
{% block nav %}
{% include "panel_nav" %}
{% endblock nav %}
{% block body %}
<body class="panel__body">
<main class="panel__container">
<table>
<thead>
<tr>
<th>Submission ID</th>
<th>Time (UTC)</th>
<th>User ID</th>
<th>Device make (user provided)</th>
<th>Device make (detected)</th>
<th>Threads</th>
<th>Benchmark Type</th>
<th>Benches</th>
</tr>
</thead>
<tbody>
{% for sub in payload.submissions %}
<tr>
<td>{{ sub.id }}</td>
<td>{{ sub.submitted_at | date(format="%Y-%m-%d %H:%M", timezone="GMT") }}</td>
<td>{{ sub.user.id }}</td>
<td>{{ sub.device_user_provided }}</td>
<td>{{ sub.device_software_recognised }}</td>
<td>{{ sub.threads }}</td>
<td>{{ sub.submission_type }}</td>
<td>
<table>
<thead>
<th>Difficulty</th>
<th>Duration</th>
</thead>
<tbody>
{% for b in sub.benches %}
<tr>
<td> {{ b.difficulty }} </td>
<td> {{ b.duration }} </td>
</tr>
{% endfor %}
</tbody>
</table>
</td>
</tr>
{% endfor %}
</tbody>
</table>
<a href="{{payload.next_page}}">Next ></a>
</main>
</body>
{% endblock body %}