Added result model; added form to submit results
This commit is contained in:
parent
458646ee8e
commit
fa92321176
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
<form class="u-full-width" action="/result/add" method="POST">
|
<form class="u-full-width" action="/result/add" method="POST">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="columns seven">
|
<div class="columns four">
|
||||||
<select class="u-full-width" name="result_benchmark">
|
<select class="u-full-width" name="result_benchmark">
|
||||||
{{ range $bm := .test.Benchmarks }}
|
{{ range $bm := .test.Benchmarks }}
|
||||||
<option value="{{ $bm.ID }}">{{ $bm.Name }}</option>
|
<option value="{{ $bm.ID }}">{{ $bm.Name }}</option>
|
||||||
@ -29,15 +29,15 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="columns one">
|
<div class="columns two">
|
||||||
<input class="u-full-width" type="number" name="result_avg" value="0">
|
<input class="u-full-width" type="number" name="result_avg" value="0">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="columns one">
|
<div class="columns two">
|
||||||
<input class="u-full-width" type="number" name="result_min" value="0">
|
<input class="u-full-width" type="number" name="result_min" value="0">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="columns one">
|
<div class="columns two">
|
||||||
<input class="u-full-width" type="number" name="result_max" value="0">
|
<input class="u-full-width" type="number" name="result_max" value="0">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user