Project

General

Profile

« Previous | Next » 

Revision 32dffb96

Added by Amos Benari over 10 years ago

fixes #4220 dashboard and report-show pages chart-frame is not in place.

(cherry picked from commit cbce647fa4d83b5ea4f5a5d35313914811a4e891)

View differences:

app/views/reports/_metrics.html.erb
<% @totaltime = metrics.delete('total') %>
<% metrics.delete_if{ |k,v| v < 0.001 } %>
<div class="row">
<div class="stats-well col-md-4">
<div class="col-md-4">
<div class="stats-well">
<h4 class="ca" ><%= _('Report Metrics') %></h4>
<div style="margin-top:50px;padding-bottom: 40px;">
<%= flot_pie_chart("metrics" ,_("Report Metrics"), metrics, :class => "statistics-pie small")%>
</div>
</div>
<div class="stats-well col-md-4">
</div>
<div class="col-md-4">
<div class="stats-well">
<h4 class="ca" ><%= _('Report Status') %></h4>
<%= flot_bar_chart("status" ,"", _("Number of Events"), status, :class => "statistics-bar")%>
</div>
</div>
<div class="col-md-4">
<table class='table table-bordered table-striped' style="height: 398px;">
<% metrics.sort.each do |title, value|%>

Also available in: Unified diff