Sha256: c460b1f70c1caae04fc52f545634bb961b25167dd5ebe114586034da60c99abe

Contents?: true

Size: 671 Bytes

Versions: 5

Compression:

Stored size: 671 Bytes

Contents

<% title(_("Trends for %s") % trend_title(@trend)) %>
<% content_for(:search_bar) { trend_days_filter } %>

<div class="row">
  <div class="stats-well span12">
    <h4 class="ca"><%= "#{trend_title(@trend)}" %></h4>
    <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' %>
  </div>
</div>
<div id="legendContainer"></div>
<table class="table">
  <% unless @trend.fact_value.nil? %>
    <th colspan="4"><%= _("Hosts") %></th>
    <tr>
      <%= render 'hosts' %>
    </tr>
  <% end %>
</table>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/views/trends/show.html.erb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/trends/show.html.erb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/trends/show.html.erb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/trends/show.html.erb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/trends/show.html.erb