Sha256: 6cfe7c4ff078d96e315f72f722450d3d885cd7ff58a859186a27496b14eb5d6b

Contents?: true

Size: 888 Bytes

Versions: 41

Compression:

Stored size: 888 Bytes

Contents

<% javascript 'charts', 'foreman_openscap/policy_dashboard' %>

<% title _("Compliance policy: %s") % @policy.name %>

<div id='dashboard' class="gridster col-md-12 ready">
  <ul>
    <% [{:template => 'policy_status_widget', :sizex => 8, :sizey => 1, :name => N_('Status table')},
        {:template => 'policy_chart_widget', :sizex => 4, :sizey => 1, :name => N_('Status chart')}].each do |w| %>
      <% widget = compliance_widget(w) %>
      <%= content_tag(:li, widget_data(widget)) do %>
        <div class="widget <%= widget.name.parameterize %>">
          <%= render(:partial => widget.template, :locals => widget.data) %>
        </div>
      <% end %>
    <% end %>
  </ul>
</div>
<% if @policy.arf_reports.any? %>
  <div class="col-md-12 gridster">
    <%= _("Latest reports for policy: %s") % @policy.name %>
    <%= render :partial => 'policy_reports' %>
  </div>
<% end %>

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
foreman_openscap-7.0.0 app/views/policy_dashboard/index.html.erb
foreman_openscap-6.0.0 app/views/policy_dashboard/index.html.erb
foreman_openscap-5.2.3 app/views/policy_dashboard/index.html.erb
foreman_openscap-5.2.2 app/views/policy_dashboard/index.html.erb
foreman_openscap-5.1.1 app/views/policy_dashboard/index.html.erb
foreman_openscap-5.2.1 app/views/policy_dashboard/index.html.erb
foreman_openscap-5.2.0 app/views/policy_dashboard/index.html.erb
foreman_openscap-5.1.0 app/views/policy_dashboard/index.html.erb
foreman_openscap-5.0.0 app/views/policy_dashboard/index.html.erb
foreman_openscap-4.3.3 app/views/policy_dashboard/index.html.erb
foreman_openscap-4.3.2 app/views/policy_dashboard/index.html.erb
foreman_openscap-4.3.1 app/views/policy_dashboard/index.html.erb
foreman_openscap-4.3.0 app/views/policy_dashboard/index.html.erb
foreman_openscap-4.1.3 app/views/policy_dashboard/index.html.erb
foreman_openscap-4.0.6 app/views/policy_dashboard/index.html.erb
foreman_openscap-4.2.0 app/views/policy_dashboard/index.html.erb
foreman_openscap-4.0.5 app/views/policy_dashboard/index.html.erb
foreman_openscap-4.1.2 app/views/policy_dashboard/index.html.erb
foreman_openscap-4.1.1 app/views/policy_dashboard/index.html.erb
foreman_openscap-4.1.0 app/views/policy_dashboard/index.html.erb