Sha256: 864e66bce1c7fa7478def0109b66f8db295318475230b59a42dfeb18fbb198ec

Contents?: true

Size: 1.19 KB

Versions: 5

Compression:

Stored size: 1.19 KB

Contents

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%# this view contains style as some email clients ignore css files -%>
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
    <title> Summary report for Puppet activity from Foreman </title>
  </head>
  <body style="background-color: #ffffff;">
    <h1 style='font-family: Arial,"Times new roman"; font-size: 90%;'>Summary from <%= distance_of_time_in_words (Time.now - @timerange) %> ago to now</h1>
    <% unless @filter.empty? -%>
      <h2 style='font-family: Arial,"Times new roman"; font-size: 90%;'>Filtering resulted based on <%= @filter.join(" and ") -%></h2>
    <% end -%>
    <%= render :partial => 'list', :locals => {:state => 'active', :title => "Hosts with interesting values (changed, failures etc)", :list => @hosts} %>
    <%= render :partial => 'list', :locals => {:state => 'nonactive', :title => "Hosts which are currently not running puppet", :list => @out_of_sync } %>
    <%= render :partial => 'list', :locals => {:state => 'nonactive', :title => "Hosts which Foreman reporting is disabled", :list => @disabled } %>
  </body>
</html>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/views/host_mailer/summary.html.erb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/host_mailer/summary.html.erb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/host_mailer/summary.html.erb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/host_mailer/summary.html.erb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/host_mailer/summary.html.erb