Explorar el Código

Adjust positions, colors.

pull/24/head
Ben Kurtovic hace 10 años
padre
commit
606f9ccfbb
Se han modificado 2 ficheros con 10 adiciones y 4 borrados
  1. +7
    -3
      static/style.css
  2. +3
    -1
      templates/index.mako

+ 7
- 3
static/style.css Ver fichero

@@ -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 Ver fichero

@@ -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>


Cargando…
Cancelar
Guardar