Added result model; added form to submit results

This commit is contained in:
Gregory Ballantine 2024-05-29 11:26:42 -04:00
parent 458646ee8e
commit fa92321176

View File

@ -21,7 +21,7 @@
<form class="u-full-width" action="/result/add" method="POST">
<div class="row">
<div class="columns seven">
<div class="columns four">
<select class="u-full-width" name="result_benchmark">
{{ range $bm := .test.Benchmarks }}
<option value="{{ $bm.ID }}">{{ $bm.Name }}</option>
@ -29,15 +29,15 @@
</select>
</div>
<div class="columns one">
<div class="columns two">
<input class="u-full-width" type="number" name="result_avg" value="0">
</div>
<div class="columns one">
<div class="columns two">
<input class="u-full-width" type="number" name="result_min" value="0">
</div>
<div class="columns one">
<div class="columns two">
<input class="u-full-width" type="number" name="result_max" value="0">
</div>