Sha256: 225d946d9ac05a59e983932d5fcbcb0917005067de721f3dcbf87b56d4954f8d

Contents?: true

Size: 1.13 KB

Versions: 5

Compression:

Stored size: 1.13 KB

Contents

<% stylesheet 'foreman_openscap/policy_dashboard'%>

<div id="latest-arf-reports-table">
  <table class="<%= table_css_classes('ellipsis') %>">
    <tr>
      <th><%= _('Host') %></th>
      <th><%= _('Policy assigned') %></th>
      <th><%= _("Date") %></th>
      <th><%= _("Passed") %></th>
      <th><%= _("Failed") %></th>
      <th><%= _("Other") %></th>
      <th><%= _('Actions') %></th>
    </tr>
    <% @policy.arf_reports.latest.each do |arf_report| %>
      <tr>
        <td><%= name_column(arf_report.host) %></td>
        <td><%= assigned_icon(@policy, arf_report) %></td>
        <td><%= date_time_relative_value(arf_report.reported_at) %></td>
        <td><%= report_arf_column(arf_report.passed, "label-info") %></th>
        <td><%= report_arf_column(arf_report.failed, "label-danger") %></th>
        <td><%= report_arf_column(arf_report.othered, "label-warning") %></th>
        <td>
          <%= action_buttons(
                  link_to(_("View Report"), hash_for_arf_report_path(:id => arf_report.id))
              ) %>
        </td>
      </tr>
    <% end %>
  </table>
  <%= will_paginate_with_info @latest_reports %>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_openscap-1.0.4 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-1.0.3 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-1.0.2 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-1.0.1 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-1.0.0 app/views/policy_dashboard/_policy_reports.html.erb