From 2d6e2f8a8b06399a6afdf1a73d4093adb0f07ea7 Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 13 Nov 2019 22:10:32 +1000 Subject: Some more sprucing up of the email and web reports. --- apt-panopticon-report-web.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'apt-panopticon-report-web.lua') diff --git a/apt-panopticon-report-web.lua b/apt-panopticon-report-web.lua index 75f2895..1981def 100755 --- a/apt-panopticon-report-web.lua +++ b/apt-panopticon-report-web.lua @@ -190,8 +190,9 @@ local m = {} local file, e = io.open("results/Report-web.html", "w+") if nil == file then C("opening mirrors file - " .. e) else - file:write( "\n" .. + file:write( "apt-panopticon results\n" .. '' .. + "

Welcome to the apt-opticon results page.

\n" .. "

Check time: " .. os.date("!%a %b %d %T %Z %Y") .. "

\n" .. "

The full list of Devuan package mirrors is available at the URL: " .. "https://pkgmaster.devuan.org/mirror_list.txt
\n" .. @@ -268,6 +269,9 @@ if nil == file then C("opening mirrors file - " .. e) else "

\n" ) file:write(dumpTableHTML(m, "", "")) - file:write( "\n
\n\n\n") + file:write( "\n
\n\n" .. + "

The email report.

" .. + "

All the logs and other output.

" .. + "\n") file:close() end -- cgit v1.1