lib/snuffle/formatters/templates/index.html.haml in snuffle-0.12.0 vs lib/snuffle/formatters/templates/index.html.haml in snuffle-0.12.1

- old
+ new

@@ -31,18 +31,16 @@ 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%; } th { background: #000; text-align: left; padding: .5em; } td { text-align: left; padding: .5em; padding-left: 1.25em !important;} td.center { text-align: center; } td.sorting_1 { background: none !important; padding-left: 1.25em !important; } - th.sorting_asc, th.sorting_desc { text-transform: uppercase !important; font-size: .8em !important; background-image: none !important; background: rgba(64, 41, 41, .5) !important;} - th.sorting { background-position: left !important; border-right: 1px solid #222; text-transform: uppercase !important; font-size: .8em !important} + th.sorting { background-position: left !important; border-right: 1px solid #222; text-transform: uppercase !important; font-size: .8em !important; font-weight: normal; background-color: #000 !important;} tr.faint td { opacity: 0.5; font-style: italic; } - tr.header { background-color: #222; } tr.header th:first-child { border-radius: 6px 0 0 0; } tr.header th:last-child { border-radius: 0 6px 0 0; } tr.header th:only-child { border-radius: 6px 6px 0 0; } - tr.header { background-color: #222; } + th.sorting_asc, th.sorting_desc { text-transform: uppercase !important; font-size: .8em !important; font-weight: bold; background-image: none !important; background: rgba(64, 41, 41, .5) !important;} 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;} .center { text-align: center; } .clear { clear: both; } @@ -93,10 +91,10 @@ %tbody - summaries.each_with_index do |summary, i| %tr{class: "#{i % 2 == 1 ? 'odd' : 'even'} #{summary.has_results? ? '' : 'faint'}"} %td - if summary.has_results? - %a{href: "source/#{summary.class_filename}.htm"} + %a{href: "source/#{summary.path_to_results}/#{summary.filename}.htm"} = summary.path_to_file - else = summary.path_to_file %td \ No newline at end of file