Updated Test and Result views/routes to use BenchmarkProfile
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
This commit is contained in:
@@ -28,8 +28,8 @@
|
||||
<div class="col-12 col-md-5 mb-3 mb-md-0">
|
||||
<label for="result_benchmark">Add benchmark result:</label>
|
||||
<select class="form-select" id="result_benchmark" name="result_benchmark">
|
||||
<% test.benchmarks.each do |b| %>
|
||||
<option value="<%= b.id %>"><%= b.name %></option>
|
||||
<% test.benchmark_profiles.each do |b| %>
|
||||
<option value="<%= b.id %>"><%= b.display_name %></option>
|
||||
<% end %>
|
||||
</select>
|
||||
</div>
|
||||
@@ -71,8 +71,8 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% test.benchmarks.each do |benchmark| %>
|
||||
<tr data-benchmark-id="<%= benchmark.id %>"></tr>
|
||||
<% test.benchmark_profiles.each do |bp| %>
|
||||
<tr data-benchmark-id="<%= bp.id %>"></tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user