Browse Source

Handle excluded URLs in results.

pull/24/head
Ben Kurtovic 9 years ago
parent
commit
1e1c48bded
2 changed files with 4 additions and 1 deletions
  1. +1
    -0
      static/style.css
  2. +3
    -1
      templates/index.mako

+ 1
- 0
static/style.css View File

@@ -335,6 +335,7 @@ span.source-suspect { color: #900; }
span.source-possible { color: #990; }
span.source-novio { color: #090; }
span.source-skipped { font-style: italic; }
span.source-excluded { font-style: italic; }

a:link { color: #373; text-decoration: none; }
a:visited { color: #373; text-decoration: none; }


+ 3
- 1
templates/index.mako View File

@@ -223,7 +223,9 @@
<tr ${'class="source-default-hidden"' if i >= 10 else 'id="source-row-selected"' if i == 0 else ""}>
<td><a ${'id="source-selected"' if i == 0 else ""} class="source-url" href="${source.url | h}">${source.url | h}</a></td>
<td>
% if source.skipped:
% if source.excluded:
<span class="source-excluded">Excluded</span>
% elif source.skipped:
<% skips = True %>
<span class="source-skipped">Skipped</span>
% else:


Loading…
Cancel
Save