Sha256: 0918fd0cb53b6165dfaf8085f594d5403c4bc59ea4df15a0d80ff0585f5a9b71

Contents?: true

Size: 1.11 KB

Versions: 49

Compression:

Stored size: 1.11 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>
    <% @latest_reports.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

49 entries across 49 versions & 1 rubygems

Version Path
foreman_openscap-10.1.0 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-10.0.3 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-10.0.2 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-10.0.1 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-10.0.0 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-9.0.4 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-9.0.3 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-9.0.2 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-9.0.1 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-9.0.0 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-8.0.0 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-7.1.1 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-7.1.0 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-7.0.0 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-6.0.0 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-5.2.3 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-5.2.2 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-5.1.1 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-5.2.1 app/views/policy_dashboard/_policy_reports.html.erb
foreman_openscap-5.2.0 app/views/policy_dashboard/_policy_reports.html.erb