Sha256: 6979349730a0cce8e533f7fa8c416d53b4667626ae2202925f646791b52137b6
Contents?: true
Size: 1.38 KB
Versions: 8
Compression:
Stored size: 1.38 KB
Contents
<div id="<%= test_name %>"> <% %w{failures successes}.each do |result_type| %> <table class="grid tablesorter" cellspacing="0"> <caption><%= result_type.capitalize %> (<%= send(result_type).size %>)</caption> <thead> <tr> <th class="sort asc"><span>URL</span><span class="sort"><em>↥</em></span></th> <th><span>Action</span><span class="sort"><em>↥</em></span></th> <th><span>Response</span><span class="sort"><em>↥</em></span></th> <th><span>Description</span><span class="sort"><em>↥</em></span></th> <th><span>Referrer</span><span class="sort"><em>↥</em></span></th> </tr> </thead> <tfoot> <tr> <td colspan="5"> Footer </td> </tr> </tfoot> <tbody> <% send(result_type).sort{|x,y| y.code.to_s <=> x.code.to_s}.each do |result| %> <tr> <td class="left"><a href="<%= "#{test_name}/#{result.file_name}" %>"><%= result.url.ellipsize(30) %></a></td> <td class="center"><%= result.method %></td> <td class="center"><span class="<%= class_for_code(result.code) %>"><%= result.code %></span></td> <td><%= result.description %></td> <td><%= result.referrer.ellipsize(30) %></td> </tr> <% end %> </tbody> </table> <% end %> </div>
Version data entries
8 entries across 8 versions & 2 rubygems