survey/templates/panel/campaigns/results.html

56 lines
1.5 KiB
HTML
Raw Normal View History

2023-01-26 20:58:32 +05:30
{% 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>
2023-02-01 15:27:26 +05:30
<th>Time (UTC)</th>
2023-01-26 20:58:32 +05:30
<th>User ID</th>
<th>Device make (user provided)</th>
<th>Device make (detected)</th>
<th>Threads</th>
<th>Benches</th>
</tr>
</thead>
<tbody>
{% for sub in payload.submissions %}
<tr>
2023-02-01 15:27:26 +05:30
<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>
2023-01-26 20:58:32 +05:30
<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>
</th>
</tr>
{% endfor %}
</tbody>
</table>
<a href="{{payload.next_page}}">Next ></a>
</main>
</body>
{% endblock body %}