61 lines
1.5 KiB
Plaintext
61 lines
1.5 KiB
Plaintext
<div class="grid-x grid-margin-x">
|
|
<div class="cell small-12">
|
|
<h1>Add new result</h1>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="grid-x grid-margin-x">
|
|
|
|
<form class="cell small-12" action="/result/add" method="post">
|
|
<div class="grid-x grid-padding-x">
|
|
<div class="cell medium-6">
|
|
<label>
|
|
Hardware:
|
|
<select name="result_hardware">
|
|
<% hardware.each do |h| %>
|
|
<option value="<%= h.id %>"><%= h.name %></option>
|
|
<% end %>
|
|
</select>
|
|
</label>
|
|
</div>
|
|
|
|
<div class="cell medium-6">
|
|
<label>
|
|
Benchmark:
|
|
<select name="result_benchmark">
|
|
<% benchmarks.each do |b| %>
|
|
<option value="<%= b.id %>"><%= b.name %></option>
|
|
<% end %>
|
|
</select>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="grid-x grid-padding-x">
|
|
<div class="cell medium-4">
|
|
<label>
|
|
Average score:
|
|
<input type="number" name="result_average" value="0.0" step="0.01" required>
|
|
</label>
|
|
</div>
|
|
|
|
<div class="cell medium-4">
|
|
<label>
|
|
Minimum score:
|
|
<input type="number" name="result_minimum" value="0.0" step="0.01">
|
|
</label>
|
|
</div>
|
|
|
|
<div class="cell medium-4">
|
|
<label>
|
|
Maximum score:
|
|
<input type="number" name="result_maximum" value="0.0" step="0.01">
|
|
</label>
|
|
</div>
|
|
</div>
|
|
|
|
<input type="submit" class="button" value="Submit">
|
|
</form>
|
|
|
|
</div>
|