Port run page to maud

This commit is contained in:
Joscha 2024-05-12 13:25:33 +02:00
parent 5d4232ac6b
commit fb346a75d2
2 changed files with 56 additions and 93 deletions

View file

@ -1,61 +0,0 @@
{% extends "base.html" %}
{% block title %}Run of {{ summary }}{% endblock %}
{% block body %}
<h2>Run</h2>
<div class="commit-like run">
<span class="title">run {{ id }}</span>
<dl>
<dt>Commit:</dt>
<dd>{{ commit|safe }}</dd>
<dt>Benchmark:</dt>
<dd>{{ bench_method }}</dd>
<dt>Start:</dt>
<dd>{{ start }}</dd>
<dt>End:</dt>
<dd>{{ end }}</dd>
<dt>Duration:</dt>
<dd>{{ duration }}</dd>
<dt>Exit code:</dt>
<dd>{{ exit_code }}</dd>
</dl>
</div>
<h2>Measurements</h2>
<table>
<thead>
<tr>
<th>metric</th>
<th>value</th>
<th>unit</th>
</tr>
</thead>
<tbody>
{% for mm in measurements %}
<tr>
<td>{{ mm.metric }}</td>
<td>{{ mm.value }}</td>
<td>{{ mm.unit }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<h2>Output</h2>
<div class="run-output">
{% for line in output %}
<pre>{{ line.text }}</pre>
{% endfor %}
</div>
{% endblock %}