Sha256: f714b24e1092543f85ce23641e1328e6fd0db65269cf693644c12657a24fdc4e
Contents?: true
Size: 1.74 KB
Versions: 2
Compression:
Stored size: 1.74 KB
Contents
<!DOCTYPE html> <html> <head> <!-- important: otherwise chrome will choke on non-ascii characters --> <meta charset="utf-8" /> <style> <%= SiteDiff::Diff.css %> </style> <title> SiteDiff Report </title> </head> <body> <div class="sitediff"> <div class="legend"> <% tags = %w[before after] tags.each do |tag| %> <% if tags.first != tag %> | <% end %> <% notes = ['base url'] notes << 'cached' if cache.read_tags.include?(tag.to_sym) %> <strong><%= tag %></strong> (<%= notes.join(', ') %>): <a href="<%= eval(tag) %>"><%= eval(tag) %></a> <% end %> </div> <table class="results"> <colgroup> <col class="before-col"> <col class="after-col"> <col class="both-col"> <col class="path-col"> <col class="diff-stat-col"> </colgroup> <thead> <tr> <th> Before </th> <th> After </th> <th> Both </th> <th> Path </th> <th> Status </th> </tr> </thead> <% results.each do |result| %> <tr class="<%= result.status_text %>"> <td class="before"> <a href="<%= result.url(:before, before, cache) %>">[before]</a> </td> <td class="after"> <a href="<%= result.url(:after, after, cache) %>">[after]</a> </td> <td class="both"> <a href="/sidebyside<%= result.path %>">[both]</a> </td> <td class="path"><%= result.path %></td> <td class="status"><%= result.link %></td> </tr> <% end %> </table> </div> </body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sitediff-0.0.3 | lib/sitediff/files/html_report.html.erb |
sitediff-0.0.2 | lib/sitediff/files/html_report.html.erb |