Sha256: db3688de09f4dd38f45dbff087f920ee5d271ab887ecb802b0fd8d53b75a8803
Contents?: true
Size: 1.91 KB
Versions: 6
Compression:
Stored size: 1.91 KB
Contents
<div id="page-intro"> <h2>Reports</h2> <p>This page allows you to review the results of the scans you have performed and export them in various formats. <br/><br/> </p> <% if report_count > 0 %> <form action="/reports/formats" method="get"> <input type="submit" value="View formats" /> </form> <form class="confirm" action="/reports/delete" method="post"> <%= csrf_tag %> <input type="submit" value="Delete all" /> </form> <% end %> </div> <%= erb :flash, {:layout => false} %> <% if !reports.empty? %> <table> <tr> <th>ID</th> <th>Host</th> <th>Issue count</th> <th>Audit date</th> <th>Report formats</th> </tr> <% reports.each do |report| %> <tr> <td><%=report.id%></td> <td><%=report.host%></td> <td><%=report.issue_count%></td> <td><%=report.datestamp.to_time%></td> <td> <ul class="reports"> <% available.each do |avail| %> <li><a href="/report/<%=report.id%>.<%=avail['rep_name']%>"><%=escape(avail['name'])%></a></li> <%end%> </ul> </td> <td> <form class="confirm" action="/report/<%=report.id%>/delete" method="post"> <%= csrf_tag %> <input type="submit" value="Delete" /> </form> </td> </tr> <% end %> </table> <% else %> <span class="notice"> There are no available reports at the moment.</span> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems