Sha256: 59f798912e2d6f574e393787e9f32a9aac16b852a48aa9ad2052f072aa5e9c66

Contents?: true

Size: 878 Bytes

Versions: 13

Compression:

Stored size: 878 Bytes

Contents

<% javascript '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

13 entries across 13 versions & 1 rubygems

Version Path
foreman_openscap-10.1.0 app/views/policy_dashboard/index.html.erb
foreman_openscap-10.0.3 app/views/policy_dashboard/index.html.erb
foreman_openscap-10.0.2 app/views/policy_dashboard/index.html.erb
foreman_openscap-10.0.1 app/views/policy_dashboard/index.html.erb
foreman_openscap-10.0.0 app/views/policy_dashboard/index.html.erb
foreman_openscap-9.0.4 app/views/policy_dashboard/index.html.erb
foreman_openscap-9.0.3 app/views/policy_dashboard/index.html.erb
foreman_openscap-9.0.2 app/views/policy_dashboard/index.html.erb
foreman_openscap-9.0.1 app/views/policy_dashboard/index.html.erb
foreman_openscap-9.0.0 app/views/policy_dashboard/index.html.erb
foreman_openscap-8.0.0 app/views/policy_dashboard/index.html.erb
foreman_openscap-7.1.1 app/views/policy_dashboard/index.html.erb
foreman_openscap-7.1.0 app/views/policy_dashboard/index.html.erb