diff --git a/copyvios/settings.py b/copyvios/settings.py index 3385693..527d03d 100644 --- a/copyvios/settings.py +++ b/copyvios/settings.py @@ -45,7 +45,7 @@ def _do_set(query, headers, cookies): def _do_delete(query, headers, cookies): if query.cookie in cookies: delete_cookie(headers, cookies, query.cookie.encode("utf8")) - template = u"Deleted cookie {0}." + template = u"Deleted cookie {0}." return template.format(escape(query.cookie)) elif query.all: number = len(cookies) diff --git a/pages/index.mako b/pages/index.mako index d1d292f..7fcfcf3 100644 --- a/pages/index.mako +++ b/pages/index.mako @@ -4,7 +4,7 @@ <% query, bot, all_langs, all_projects, page, result = main(environ) %>\ % if query.project and query.lang and query.title and not page:
-

The given site (project=${query.project | h}, language=${query.lang | h}) doesn't seem to exist. It may also be closed or private. Confirm its URL.

+

The given site (project=${query.project | h}, language=${query.lang | h}) doesn't seem to exist. It may also be closed or private. Confirm its URL.

% elif query.project and query.lang and query.title and page and not result:
@@ -23,7 +23,7 @@ Site: - http:// + http:// - . + . - .org + .org @@ -97,13 +97,13 @@
  • No matches found.
  • % endif % endif -
  • ${round(result.confidence * 100, 1)}% confidence of a violation.
  • +
  • ${round(result.confidence * 100, 1)}% confidence of a violation.
  • % if result.cached:
  • Results are cached To save time (and money), this tool will retain the results of checks for up to 72 hours. This includes the URL of the "violated" source, but neither its content nor the content of the article. Future checks on the same page (assuming it remains unchanged) will not involve additional search queries, but a fresh comparison against the source URL will be made. If the page is modified, a new check will be run. from ${result.cache_time} (${result.cache_age} ago). Bypass the cache.
  • % else: -
  • Results generated in ${round(result.time, 3)} seconds using ${result.queries} queries.
  • +
  • Results generated in ${round(result.time, 3)} seconds using ${result.queries} queries.
  • % endif % if "CopyviosShowDetails" in cookies and cookies["CopyviosShowDetails"].value == "True":
  • Hide details:
  • @@ -117,12 +117,12 @@ diff --git a/pages/support/header.mako b/pages/support/header.mako index 4057977..10082c8 100644 --- a/pages/support/header.mako +++ b/pages/support/header.mako @@ -6,10 +6,10 @@ <% root = path.dirname(environ["SCRIPT_NAME"]) %>\ - - + + - + ${title} diff --git a/static/style.css b/static/style.css index 10b8712..1aa3222 100644 --- a/static/style.css +++ b/static/style.css @@ -159,16 +159,6 @@ p.tooldesc { margin: 6px 0 6px 0; } -span.offline { - color: #900; - font-weight: bold; -} - -span.online { - color: #090; - font-weight: bold; -} - td.cv-chain-cell { width: 50%; vertical-align: top; @@ -198,6 +188,7 @@ span.cv-hl-out { background: linear-gradient(left, #FAA, #FFF); } +span.mono { font-family: monospace; } span.light { color: #CCC; } span.medium { color: #AAA; }