aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2019-11-24 07:22:00 +1000
committeronefang2019-11-24 07:22:00 +1000
commitfa9d5ccd4eec1dbf5ebe2fd564c7c9ddf64414a0 (patch)
tree933adb68cc91125f3d9d9d73130b568d864b6fbc
parentNo "-" in the middle of test names, it confuses the option parsing. (diff)
downloadapt-panopticon-fa9d5ccd4eec1dbf5ebe2fd564c7c9ddf64414a0.zip
apt-panopticon-fa9d5ccd4eec1dbf5ebe2fd564c7c9ddf64414a0.tar.gz
apt-panopticon-fa9d5ccd4eec1dbf5ebe2fd564c7c9ddf64414a0.tar.bz2
apt-panopticon-fa9d5ccd4eec1dbf5ebe2fd564c7c9ddf64414a0.tar.xz
Move the test names to the table header.
-rwxr-xr-xapt-panopticon-report-web.lua11
1 files changed, 6 insertions, 5 deletions
diff --git a/apt-panopticon-report-web.lua b/apt-panopticon-report-web.lua
index 7ebf2d3..42a08ee 100755
--- a/apt-panopticon-report-web.lua
+++ b/apt-panopticon-report-web.lua
@@ -256,7 +256,8 @@ if nil == file then C("opening mirrors file - " .. e) else
256 "<p>Due to the nature of the tests, some errors or warnings will be counted several times. &nbsp; " .. 256 "<p>Due to the nature of the tests, some errors or warnings will be counted several times. &nbsp; " ..
257 "Refer to the logs below for details.</p>\n\n" .. 257 "Refer to the logs below for details.</p>\n\n" ..
258 "<p>Please see below the current status of the Devuan Package Mirror network:</p>\n" .. 258 "<p>Please see below the current status of the Devuan Package Mirror network:</p>\n" ..
259 "<h2>==== mirror status: ====</h2>\n<table>\n" 259 "<h2>==== mirror status: ====</h2>\n<table>\n" ..
260 "<tr><th></th><th>http</th><th>https</th><th>DNS-RR</th><th>Protocol</th><th>URL-Sanity</th><th>Integrity</th><th>Updated</th></tr>\n"
260 ) 261 )
261 for k, v in orderedPairs(mirrors) do 262 for k, v in orderedPairs(mirrors) do
262 local results = loadfile("results/" .. k .. ".lua")() 263 local results = loadfile("results/" .. k .. ".lua")()
@@ -308,12 +309,12 @@ if nil == file then C("opening mirrors file - " .. e) else
308 end 309 end
309 end 310 end
310 end 311 end
311 if "" == dns then dns = "DNS-RR: [<font color='gray'><b>no</b></font>]" else dns = "DNS-RR:" .. dns end 312 if "" == dns then dns = "[<font color='gray'><b>no</b></font>]" end
312 end 313 end
313 314
314 file:write("<td>http: " .. http .. "&nbsp;</td><td>https: " .. https .. "&nbsp;</td><td>" .. dns .. 315 file:write("<td>" .. http .. "&nbsp;</td><td>" .. https .. "&nbsp;</td><td>" .. dns ..
315 "&nbsp;</td><td>Protocol: " .. protocol .. "&nbsp;</td><td>URL-sanity: " .. sanity .. 316 "&nbsp;</td><td>" .. protocol .. "&nbsp;</td><td>" .. sanity ..
316 "&nbsp;</td><td>Integrity: " .. integrity .. "&nbsp;</td><td>Updated: " .. updated .. "</td></tr>\n") 317 "&nbsp;</td><td>" .. integrity .. "&nbsp;</td><td>" .. updated .. "</td></tr>\n")
317 end 318 end
318 file:write( "</table>\n<br>\n<h2>==== faulty mirrors: ====</h2>\n" .. faulty) 319 file:write( "</table>\n<br>\n<h2>==== faulty mirrors: ====</h2>\n" .. faulty)
319 file:write( "<br>\n<br>\n<h2>==== DNS and logs: ====</h2>\n") 320 file:write( "<br>\n<br>\n<h2>==== DNS and logs: ====</h2>\n")