author | Marcel Hlopko <marcel.hlopko@gmail.com> |
Tue, 25 Jun 2013 22:11:10 +0200 | |
changeset 106 | eac4098d544d |
parent 70 | e9c892b1c82b |
permissions | -rw-r--r-- |
106
eac4098d544d
huge refactoring to better fit what we agreed on
Marcel Hlopko <marcel.hlopko@gmail.com>
parents:
70
diff
changeset
|
1 |
<%= currently_viewing_results_of @runtime.name %> |
68 | 2 |
|
106
eac4098d544d
huge refactoring to better fit what we agreed on
Marcel Hlopko <marcel.hlopko@gmail.com>
parents:
70
diff
changeset
|
3 |
<h1><%= @runtime.language.name %></h1> |
eac4098d544d
huge refactoring to better fit what we agreed on
Marcel Hlopko <marcel.hlopko@gmail.com>
parents:
70
diff
changeset
|
4 |
<h2><%= @runtime.name %></h2> |
68 | 5 |
|
6 |
<div id="results-accordion" class="accordion"> |
|
7 |
||
106
eac4098d544d
huge refactoring to better fit what we agreed on
Marcel Hlopko <marcel.hlopko@gmail.com>
parents:
70
diff
changeset
|
8 |
<%= render 'index/timeline_table', runtime: @runtime %> |
68 | 9 |
|
106
eac4098d544d
huge refactoring to better fit what we agreed on
Marcel Hlopko <marcel.hlopko@gmail.com>
parents:
70
diff
changeset
|
10 |
<% @runtime.benchmark_batches.each do |result| %> |
68 | 11 |
|
12 |
<div class="accordion-group"> |
|
13 |
<div class="accordion-heading"> |
|
14 |
<%= link_to l(result.performed_at), |
|
15 |
"#result_#{result.id}", |
|
16 |
'class' => "accordion-toggle", |
|
17 |
'data-toggle' => "collapse", |
|
18 |
'data-parent' => "#results-accordion" %> |
|
19 |
</div> |
|
20 |
<%= content_tag :div, |
|
21 |
id: "result_#{result.id}", |
|
22 |
class: "accordion-body collapse" do %> |
|
23 |
<div class="accordion-inner"> |
|
70
e9c892b1c82b
nicer tables, useless graph removed
Marcel Hlopko <marcel.hlopko@gmail.com>
parents:
68
diff
changeset
|
24 |
<%= render 'index/benchmarks_table', results: result %> |
68 | 25 |
</div> |
26 |
<% end %> |
|
27 |
</div> |
|
28 |
||
29 |
<% end %> |
|
30 |
</div> |