mirror of
https://github.com/inspec/inspec
synced 2024-11-27 15:10:44 +00:00
Use PRODUCT_NAME from Dist to allow community to rebrand
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
parent
a131067a09
commit
e7a5c59b90
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>InSpec Results</title>
|
<title><%= Inspec::Dist::PRODUCT_NAME %> Results</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
/* Must inline all CSS files, this is a single-file output that may be airgapped */
|
/* Must inline all CSS files, this is a single-file output that may be airgapped */
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
<body onload="pageLoaded()">
|
<body onload="pageLoaded()">
|
||||||
<%= ERB.new(File.read(template_path + "/selector.html.erb"), nil, nil, "_select").result(binding) %>
|
<%= ERB.new(File.read(template_path + "/selector.html.erb"), nil, nil, "_select").result(binding) %>
|
||||||
<div class="inspec-report">
|
<div class="inspec-report">
|
||||||
<h1>Chef InSpec Report</h1>
|
<h1><%= Inspec::Dist::PRODUCT_NAME %> Report</h1>
|
||||||
<% run_data.profiles.each do |profile| %>
|
<% run_data.profiles.each do |profile| %>
|
||||||
<%= ERB.new(File.read(template_path + "/profile.html.erb"), nil, nil, "_prof").result(binding) %>
|
<%= ERB.new(File.read(template_path + "/profile.html.erb"), nil, nil, "_prof").result(binding) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
<tr class= "duration"><th>Duration:</th><td><%= run_data.statistics.duration %> seconds</td></tr>
|
<tr class= "duration"><th>Duration:</th><td><%= run_data.statistics.duration %> seconds</td></tr>
|
||||||
<tr class= "date"><th>Time Finished:</th><td><%= Time.now %></td></tr>
|
<tr class= "date"><th>Time Finished:</th><td><%= Time.now %></td></tr>
|
||||||
</table>
|
</table>
|
||||||
<span id="inspec-version">Chef InSpec version <%= run_data.version %></span>
|
<span id="inspec-version"><%= Inspec::Dist::PRODUCT_NAME %> version <%= run_data.version %></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in a new issue