mirror of
https://github.com/inspec/inspec
synced 2025-01-11 04:39:07 +00:00
fd4c501c70
Keep a duplicate of the message in skip_message for the JSON reporters, for backwards compaibility. Signed-off-by: James Stocks <jstocks@chef.io>
20 lines
938 B
Text
20 lines
938 B
Text
<div class="profile <%= profile.parent_profile ? "child-profile hidden" : "" %>" id="profile-<%= profile.name %>">
|
|
<% display_name = profile.title || profile.name %>
|
|
<h2 class="profile_title">Profile <%= display_name %> (<%= profile.name %>)</h2>
|
|
|
|
<table class="profile-metadata info" id="profile-metadata-<%= profile.name %>">
|
|
<tr class="profile-version"><th>Version:</th><td><%= profile.version %></td></tr>
|
|
<% if profile.summary %>
|
|
<tr class="profile-summary"><th>Summary:</th><td><%= profile.summary %></td></tr>
|
|
<% end %>
|
|
<% if profile.status_message %>
|
|
<tr class="profile-status-message"><th>Status Message:</th><td><%= profile.status_message %></td></tr>
|
|
<% end %>
|
|
</table>
|
|
|
|
<% if profile.status == "loaded" %>
|
|
<% profile.controls.each do |control| %>
|
|
<%= ERB.new(File.read(template_path + "/control.html.erb"), nil, nil, "_ctl").result(binding) %>
|
|
<% end %>
|
|
<% end %>
|
|
</div>
|