Sha256: 3380c2010dbd68a56fa82d65470a50cc6e737a633178e48169acec3b1ebea61e

Contents?: true

Size: 791 Bytes

Versions: 7

Compression:

Stored size: 791 Bytes

Contents

<%= javascript 'charts' %>
<% title(_("Trends for %s") % trend_title(@trend)) %>
<% content_for(:search_bar) { trend_days_filter(@trend) } %>
<div class="row">
  <div class="stats-well col-md-12">
    <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? %>
    <thead>
      <tr>
        <th colspan="4"><%= _("Hosts") %></th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <%= render 'hosts' %>
      </tr>
    </tbody>
  <% end %>
</table>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
foreman_statistics-1.1.1 app/views/foreman_statistics/trends/show.html.erb
foreman_statistics-1.1.0 app/views/foreman_statistics/trends/show.html.erb
foreman_statistics-1.0.0 app/views/foreman_statistics/trends/show.html.erb
foreman_statistics-0.1.3 app/views/foreman_statistics/trends/show.html.erb
foreman_statistics-0.1.2 app/views/foreman_statistics/trends/show.html.erb
foreman_statistics-0.1.1 app/views/foreman_statistics/trends/show.html.erb
foreman_statistics-0.1.0 app/views/foreman_statistics/trends/show.html.erb