!!!
%html
%head
%title
Fukuzatsu
%link{href: "http://cdn.datatables.net/1.10.0/css/jquery.dataTables.css", rel: "stylesheet"}
%style{media: "screen", type: "text/css"}
body { background: #49525a; color: #fff; font-family: arial, sans-serif; padding: 2em; }
table { width: 100%; box-shadow: 0 5px 0 rgba(0,0,0,.8); border-spacing: 0; border: 5px solid #000; border-radius: 5px; border-collapse: collapse; min-width: 50%; }
tr.header th:first-child { border-radius: 5px 0 0 0; }
tr.header th:last-child { border-radius: 0 5px 0 0; }
tr.header th:only-child { border-radius: 5px 5px 0 0; }
tr.header { background-color: #222; }
tr.even { background: rgba(128, 128, 128, 0.5) !important;}
tr.odd { background: rgba(128, 128, 128, 0.25) !important}
tr.even:hover, tr.odd:hover { background: rgba(128, 128, 128, 0.75) !important;}
tr.faint td { opacity: 0.5; font-style: italic; }
th { background: #000; text-align: left; padding: .5em; }
td { text-align: left; padding: .5em; padding-left: 1.25em !important;}
td.center { text-align: center; }
tfoot { background: #000; border-top: 10px solid #000; font-family: courier; margin-top: 4em; font-size: .75em; }
a:link, a:visited { color: #fff }
div.file_meta { float: left; height: 3em; width: 30%; }
h1 { color:#fff; font-size: 1.25em; margin-top: .25em; }
h2 { color:#fff; font-size: .75em; margin-top: -1em; }
h3 { color:#fff; font-size: 1em; float: right; margin-top: 1em; }
%body
%table{class: "output-table"}
%thead
%tr.header
%th{colspan: 3}
.file_meta
%h1
Snuffle Analysis
%tr
%th
File
%th
Host Module/Class
%th
Object Candidates
%tbody
- summaries.each_with_index do |summary, i|
%tr{class: "#{i % 2 == 1 ? 'odd' : 'even'} #{summary.cohorts.count == 0 ? 'faint' : ''}"}
%td
- if summary.cohorts.count == 0
= summary.path_to_file
- else
%a{href: "source/#{summary.class_filename}.htm"}
= summary.path_to_file
%td
- if summary.class_name.size > 30
= "..."
= summary.class_name[-29..-1]
- else
= summary.class_name
%td
= summary.cohorts.count
%tfoot
%tr
%td.center{colspan: 3}
%em
Analyzed on
= date
at
= time
by
%a{href: "https://gitlab.com/coraline/snuffle", target: "_new"}
Snuffle