Browse Source

Lighten up the colours.

master
onefang 3 years ago
parent
commit
f27d5c2c8d
  1. 10
      apt-panopticon-report-email-web.lua

10
apt-panopticon-report-email-web.lua

@ -91,9 +91,9 @@ local status = function(hosts, host, results, typ)
if not s then result = result .. "*" end
if APT.html then
if s then
result = "<font color='blue'><b>TIMEOUT</b></font>"
result = "<font color='aqua'><b>TIMEOUT</b></font>"
else
result = "<font color='darkblue'><b>TIMEOUT*</b></font>"
result = "<font color='blue'><b>TIMEOUT*</b></font>"
end
end
if APT.html then
@ -465,7 +465,7 @@ if nil == web then C("opening mirrors file - " .. e) else
if 0 < tonumber(APT.options.refresh.value) then
web:write('<meta http-equiv="refresh" content="' .. APT.options.refresh.value .. '">\n')
end
web:write( '</head><body bgcolor="black" text="white">' ..
web:write( '</head><body bgcolor="black" text="white" alink="red" link="aqua" vlink="fuchsia">' ..
"<h1>Welcome to the apt-panopticon results page.</h1>\n" ..
"<p>Here the apt-panopticon system probes into every nook and cranny of the Devuan apt package mirror system, trying to live up to it's name.</p>" ..
"<p>This is the status of the mirror servers in the Devuan package mirror network.</p>\n")
@ -483,9 +483,9 @@ if nil == web then C("opening mirrors file - " .. e) else
" means the tested thing is supported for that mirror.</p>\n" ..
"<p><font color='darkred'><b>FAILED*</b></font> or <font color='darkgreen'><b>OK*</b></font>" ..
" means the tested thing is unsupported for that mirror, but might have been tested anyway.</p>\n" ..
"<p><font color='blue'><b>timeout</b></font> or <font color='darkblue'><b>timeout</b></font>" ..
"<p><font color='aqua'><b>timeout</b></font> or <font color='blue'><b>timeout</b></font>" ..
" means the mirror had some timeouts, and tests where not yet aborted. The darker colour means unsupported by the mirror, but tested anyway.</p>" ..
"<p><font color='blue'><b>TIMEOUT</b></font> or <font color='darkblue'><b>TIMEOUT</b></font>" ..
"<p><font color='aqua'><b>TIMEOUT</b></font> or <font color='blue'><b>TIMEOUT</b></font>" ..
" means the mirror had too many timeouts, and tests where aborted, so there is no result for this test.</p>" ..
"<p>NOTE: timeouts may be due to a problem on the testing computer, it might be busy with other things, or be having it's own network problems..</p>" ..
"<p>NOTE: the speed of the server this checking script is running on might be wildly exaggerated, it doesn't have to go through the Internet to download from itself.</p>" ..

Loading…
Cancel
Save