diff --git a/static/style.css b/static/style.css index 188796a..24e14c4 100644 --- a/static/style.css +++ b/static/style.css @@ -50,8 +50,8 @@ div#info-box { } div#cv-result { - padding: 10px; - margin: 15px 5px 10px 5px; + padding: 5px; + margin: 10px 5px; } div#sources-container { @@ -76,6 +76,12 @@ div#cv-additional { display: none; } +div#generation-time { + margin-right: 5px; + text-align: right; + font-style: italic; +} + div#cv-chain-container { margin: 0 4px; } @@ -110,6 +116,35 @@ table#cv-result-sources tr:nth-child(even) { background-color: #E0E0E0; } +table#cv-result-head-table { + width: 100%; + text-align: center; +} + +table#cv-result-head-table td:nth-child(odd) { + width: 42.5%; + font-size: 1.25em; + font-weight: bold; +} + +table#cv-result-head-table td:nth-child(2) { + width: 15%; +} + +table#cv-result-head-table td:nth-child(2) div:nth-child(1) { + font-weight: bold; +} + +table#cv-result-head-table td:nth-child(2) div:nth-child(2) { + font-size: 2.5em; + font-weight: bold; + line-height: 1; +} + +table#cv-result-head-table td:nth-child(2) div:nth-child(3) { + font-size: 0.8em; +} + table#cv-chain-table { width: 100%; margin-bottom: 10px; @@ -161,6 +196,12 @@ ul#cv-result-list { margin: 0.5em 0; } +span#redirected-from { + font-size: 0.75em; + font-weight: normal; + font-style: italic; +} + a#source-selected { font-weight: bold; } diff --git a/templates/index.mako b/templates/index.mako index 9f07314..6e80758 100644 --- a/templates/index.mako +++ b/templates/index.mako @@ -141,22 +141,56 @@ % if result: + % if query.action == "compare": +
+ ${query.page.title | h}
+ % if query.oldid:
+ @${query.oldid | h}
+ % endif
+ % if query.redirected_from:
+ + Redirected from ${query.redirected_from.title | h}. Check the original page. + % endif + |
+
+
+ % if result.confidence >= T_SUSPECT:
+ Violation Suspected
+ % elif result.confidence >= T_POSSIBLE:
+ Violation Possible
+ % else:
+ Violation Unlikely
+ % endif
+
+ ${round(result.confidence * 100, 1)}%
+ confidence
+ |
+ ${result.url | urlstrip, h} | +