Sha256: a059a82166aad289d2e2acffff7a49b87a56076d3038618bd4f13e8068295023

Contents?: true

Size: 1.47 KB

Versions: 11

Compression:

Stored size: 1.47 KB

Contents

<% content_for(:javascripts) do %>
  <%= webpacked_plugins_js_for :foreman_openscap %>
<% end %>
<% content_for(:stylesheets) do %>
  <%= webpacked_plugins_css_for :foreman_openscap %>
<% end %>


<table id='report_log' class="<%= table_css_classes %>">
  <thead>
    <tr>
      <th><%= _("Result") %></th>
      <th><%= _("Message") %></th>
      <th class="col-md-4"><%= _("Resource") %></th>
      <th class="col-md-1"><%= _("Severity") %></th>
      <th class="col-md-1"><%= _("Actions") %></th>
    </tr>
  </thead>
  <tbody>
    <% logs.each do |log| %>
      <tr>
        <td><span <%= result_tag log.result %>><%= h log.result %></span></td>
        <td>
          <%= render :partial => 'detailed_message', :locals => { :message => log.message } %>
        </td>
        <td><%= log.source %></td>
        <td><%= react_component 'RuleSeverity', { :severity => log.message.severity.downcase } %></td>
        <td><%= host_search_by_rule_result_buttons(log) %></td>
      </tr>
    <% end %>
    <tr id='ntsh' <%= "style='display: none;'".html_safe if logs.size > 0%>>
      <td colspan="4">
        <div class="alert alert-warning" role="alert"><%= _("Nothing to show") %></div>
      </td>
    </tr>
  </tbody>
</table>
<%= react_component 'OpenscapRemediationWizard',
                    { report_id: @arf_report.id,
                      host: { name: @arf_report.host.name, id: @arf_report.host.id },
                      supported_remediation_snippets: supported_remediation_snippets } %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
foreman_openscap-10.1.0 app/views/arf_reports/_output.html.erb
foreman_openscap-10.0.3 app/views/arf_reports/_output.html.erb
foreman_openscap-10.0.2 app/views/arf_reports/_output.html.erb
foreman_openscap-10.0.1 app/views/arf_reports/_output.html.erb
foreman_openscap-10.0.0 app/views/arf_reports/_output.html.erb
foreman_openscap-9.0.4 app/views/arf_reports/_output.html.erb
foreman_openscap-9.0.3 app/views/arf_reports/_output.html.erb
foreman_openscap-9.0.2 app/views/arf_reports/_output.html.erb
foreman_openscap-9.0.1 app/views/arf_reports/_output.html.erb
foreman_openscap-9.0.0 app/views/arf_reports/_output.html.erb
foreman_openscap-8.0.0 app/views/arf_reports/_output.html.erb