aboutsummaryrefslogtreecommitdiffstats
path: root/sitesummary-makewebreport
diff options
context:
space:
mode:
Diffstat (limited to 'sitesummary-makewebreport')
-rwxr-xr-xsitesummary-makewebreport11
1 files changed, 8 insertions, 3 deletions
diff --git a/sitesummary-makewebreport b/sitesummary-makewebreport
index cfac540..c1dc223 100755
--- a/sitesummary-makewebreport
+++ b/sitesummary-makewebreport
@@ -14,7 +14,6 @@ cat <<EOF
</head>
<body>
<h1>sitesummary report</h1>
-<pre>
EOF
for f in site-summary \
@@ -22,14 +21,20 @@ for f in site-summary \
kernelversion-summary \
agesinceseen-summary \
debian_edu-summary ; do
- echo "$f:"
+ echo "<h2>$f</h2>"
+ echo "<pre>"
/usr/lib/sitesummary/$f
+ echo "</pre>"
echo
done
+# Add last updated string
+echo "<hr>"
+echo -n "<p><b>Last updated</b>: "
date
+echo "</p>"
+
cat <<EOF
-</pre>
</body>
</html>
EOF