Author: jw Date: 2006-06-02 17:58:05 +0200 (Fri, 02 Jun 2006) New Revision: 1482 Modified: tools/scripts/check_urls Log: check_urls: Add title to html report Modified: tools/scripts/check_urls =================================================================== --- tools/scripts/check_urls 2006-06-02 15:35:05 UTC (rev 1481) +++ tools/scripts/check_urls 2006-06-02 15:58:05 UTC (rev 1482) @@ -125,10 +125,12 @@ return fi echo "<html><head><title>check_urls status</title><style type=\"text/css\">" > $HTMLLOG + echo "* { font-family: sans-serif; } " >> $HTMLLOG echo "h3 { background: #ff8888; } " >> $HTMLLOG echo "h3.NEW { background: #ffcccc; } " >> $HTMLLOG echo "h3.RESOLVED { background: #77ff77; } " >> $HTMLLOG echo "</style></head><body>" >> $HTMLLOG + echo "<h1>check_urls report for $(date)</h1>" >> $HTMLLOG cat $LOGFILE|sort --field-separator="|" -n|\ awk -F\| '/.*/ { print "<p ><h3 class=\""$4"\">"$2"</h3>" \ "<b>Status:</b> "$4"<br>" \
participants (1)
-
crux@crux.nu