瀏覽代碼

Adjust positions, colors.

pull/24/head
Ben Kurtovic 10 年之前
父節點
當前提交
606f9ccfbb
共有 2 個檔案被更改,包括 10 行新增4 行删除
  1. +7
    -3
      static/style.css
  2. +3
    -1
      templates/index.mako

+ 7
- 3
static/style.css 查看文件

@@ -76,6 +76,10 @@ table#cv-result-sources th {
text-align: center;
}

table#cv-result-sources tr:nth-child(even) {
background-color: #F0F0F0;
}

table#cv-chain-table {
width: 100%;
margin-bottom: 10px;
@@ -213,9 +217,9 @@ span.light { color: #CCC; }
span.medium { color: #AAA; }

span.source-confidence { font-weight: bold; }
span.source-suspect { color: #F77; }
span.source-possible { color: #EE5; }
span.source-novio { color: #7F7; }
span.source-suspect { color: #900; }
span.source-possible { color: #990; }
span.source-novio { color: #090; }
span.source-skipped { font-style: italic; }

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


+ 3
- 1
templates/index.mako 查看文件

@@ -168,11 +168,13 @@
<table id="cv-result-sources">
<tr>
<th>URL</th>
<th>Compare</th>
<th>Confidence</th>
</tr>
% for source in result.sources:
<tr>
<td><a href="${source.url | h}">${source.url | h}</a> (<a class="source-compare" href="${request.url | httpsfix, h}&amp;action=compare&amp;url=${source.url | u}">compare</a>)</td>
<td><a href="${source.url | h}">${source.url | h}</a></td>
<td><a class="source-compare" href="${request.url | httpsfix, h}&amp;action=compare&amp;url=${source.url | u}">Compare</a></td>
% if source.skipped:
<% skips = True %>
<td><span class="source-skipped">Skipped</span></td>


Loading…
取消
儲存