Revision 82e47ae0
Added by Amos Benari about 12 years ago
- ID 82e47ae0f86994702c3a084cc6150250a81034ee
app/views/reports/_metrics.rhtml | ||
---|---|---|
<% @totaltime = metrics.delete('total') %>
|
||
<% metrics.delete_if{ |k,v| v < 0.001 } %>
|
||
<div class="row">
|
||
<%= pie_chart("metrics" ,"Report Metrics", metrics, :class => "statistics_pie span7")%>
|
||
<%= bar_chart("status" ,"Report Status"," Number of Events", status.keys, status.values, :class => "statistics_bar span5")%>
|
||
<%= pie_chart("metrics" ,"Report Metrics", metrics, :class => "statistics_pie span4")%>
|
||
<%= bar_chart("status" ,"Report Status"," Number of Events", status.keys, status.values, :class => "statistics_bar span4")%>
|
||
<div class="span4">
|
||
<table class='list' style="height: 398px;">
|
||
<table class='table table-bordered table-striped' style="height: 398px;">
|
||
<% metrics.sort.each do |title, value|-%>
|
||
<tr>
|
||
<td> <%= title %> </td>
|
Also available in: Unified diff
updates UI to bootstrap v2