Project

General

Profile

Download (674 Bytes) Statistics
| Branch: | Tag: | Revision:
74e0b0e3 Lukas Zapletal
<% title(_("Trends for %s") % trend_title(@trend)) %>
fe4629de rbirnie
<% content_for(:search_bar) { trend_days_filter } %>

870e7fcc Amos Benari
<div class="row">
bf4a13d3 Walden Raines
<div class="stats-well col-md-12">
870e7fcc Amos Benari
<h4 class="ca"><%= "#{trend_title(@trend)}" %></h4>
74e0b0e3 Lukas Zapletal
<h6 class="ca"><%= n_("last %s day", "last %s days", range) % range %></h6>
<%= flot_chart 'trend_graph','' ,_('Number of Hosts') , chart_data(@trend, range.days.ago), :class=>'statistics-chart stack', :legend => 'external' %>
870e7fcc Amos Benari
</div>
</div>
<div id="legendContainer"></div>
fe4629de rbirnie
<table class="table">
870e7fcc Amos Benari
<% unless @trend.fact_value.nil? %>
f46e39c4 Bryan Kearney
<th colspan="4"><%= _("Hosts") %></th>
fc9ba74f rbirnie
<tr>
32a9ce5a rbirnie
<%= render 'hosts' %>
fc9ba74f rbirnie
</tr>
<% end %>
f46e39c4 Bryan Kearney
</table>