Sha256: 94bd670e792ed7e7fcf260af9038066f9a253df7d282175ef0ed5e6b3882394c

Contents?: true

Size: 841 Bytes

Versions: 6

Compression:

Stored size: 841 Bytes

Contents

<%= javascript 'dashboard' %>

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

<div id='dashboard' class="row gridster">
  <ul>
    <%= policy_widget_list.map do |widget|
      content_tag(:li, render(widget.id), :data => {
                         :id    => widget.id,
                         :name  => widget.name || widget.id,
                         :row   => widget.row,
                         :col   => widget.col,
                         :sizex => widget.sizex,
                         :sizey => widget.sizey,
                         :hide  => widget.hide
                     })
    end.join(' ').html_safe
    %>
  </ul>
</div>
<% if @policy.arf_reports.any? %>
  <div class="row gridster">
    <%= _("Latest reports for policy: %s") % @policy.name %>
    <%= render :partial => 'policy_reports' %>
  </div>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman_openscap-0.3.4 app/views/scaptimony_policy_dashboard/index.html.erb
foreman_openscap-0.4.0 app/views/scaptimony_policy_dashboard/index.html.erb
foreman_openscap-0.3.3 app/views/scaptimony_policy_dashboard/index.html.erb
foreman_openscap-0.3.2 app/views/scaptimony_policy_dashboard/index.html.erb
foreman_openscap-0.3.1 app/views/scaptimony_policy_dashboard/index.html.erb
foreman_openscap-0.3.0 app/views/scaptimony_policy_dashboard/index.html.erb