diff options
author | des <des@FreeBSD.org> | 2004-09-08 16:04:38 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-09-08 16:04:38 +0000 |
commit | 5d17d7721f6519c6367f9d333f14471a8a067dc8 (patch) | |
tree | 7a331af2066a28d10e08bad986d2cbdbfd9c9685 /tools | |
parent | 149e5a04f74fb1cfc857fa0f9ef9b70cd86520f5 (diff) | |
download | FreeBSD-src-5d17d7721f6519c6367f9d333f14471a8a067dc8.zip FreeBSD-src-5d17d7721f6519c6367f9d333f14471a8a067dc8.tar.gz |
Make the output more suitable for use in a frameset.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/tinderbox/www/index.cgi | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/tools/tools/tinderbox/www/index.cgi b/tools/tools/tinderbox/www/index.cgi index 92f9de3..73d24b9 100644 --- a/tools/tools/tinderbox/www/index.cgi +++ b/tools/tools/tinderbox/www/index.cgi @@ -90,19 +90,19 @@ sub do_config($) { $age = 9 if ($age > 9); $class .= "-$age"; - $links .= "<span class=\"$class\">" . + $links .= "<span class='$class'>" . strftime("%Y-%m-%d %H:%M UTC", gmtime($stat[9])) . "</span><br />"; my $size = sprintf("[%.1f kB]", $stat[7] / 1024); - $links .= " <span class=\"tiny\">" . - "<a href=\"$log.brief\">summary $size</a>" . + $links .= " <span class='tiny'>" . + "<a target='_top' href='$log.brief'>summary $size</a>" . "</span><br />"; } if (-f "$DIR/$log.full") { my @stat = stat("$DIR/$log.full"); my $size = sprintf("[%.1f MB]", $stat[7] / 1048576); - $links .= " <span class=\"tiny\">" . - "<a href=\"$log.full\">full log $size</a>" . + $links .= " <span class='tiny'>" . + "<a target='_top' href='$log.full'>full log $size</a>" . "</span><br />"; } if ($links eq "") { @@ -138,22 +138,22 @@ MAIN:{ } closedir(DIR); - print "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?> + print "<?xml version='1.0' encoding='iso-8859-1'?> <!DOCTYPE html - PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" - \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\"> -<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"> + PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' + 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'> <head> <title>FreeBSD tinderbox logs</title> - <meta name=\"robots\" content=\"nofollow\" /> - <meta http-equiv=\"refresh\" content=\"600\" /> - <link rel=\"stylesheet\" type=\"text/css\" media=\"screen\" href=\"tb.css\" /> - <link rel=\"shortcut icon\" type=\"image/png\" href=\"daemon.png\" /> + <meta name='robots' content='nofollow' /> + <meta http-equiv='refresh' content='600' /> + <link rel='stylesheet' type='text/css' media='screen' href='tb.css' /> + <link rel='shortcut icon' type='image/png' href='daemon.png' /> </head> <body> - <h1>FreeBSD tinderbox logs</h1> + <!-- h1>FreeBSD tinderbox logs</h1 --> - <table border=\"1\" cellpadding=\"3\"> + <table border='1' cellpadding='3'> "; foreach my $config (sort(keys(%CONFIGS))) { next if $config =~ m/^update_/; @@ -162,15 +162,15 @@ MAIN:{ my $date = strftime("%Y-%m-%d %H:%M UTC", gmtime()); print " </table> - <p class=\"update\">Last updated: $date</p> - <p> - <a href=\"http://validator.w3.org/check/referer\"><img - src=\"valid-xhtml10.png\" - alt=\"Valid XHTML 1.0!\" height=\"31\" width=\"88\" /></a> - <a href=\"http://jigsaw.w3.org/css-validator/check/referer\"><img - src=\"valid-css.png\" - alt=\"Valid CSS!\" height=\"31\" width=\"88\" /></a> - </p> + <!-- p class='update'>Last updated: $date</p --> + <!-- p> + <a target='_top' href='http://validator.w3.org/check/referer'><img + src='valid-xhtml10.png' + alt='Valid XHTML 1.0!' height='31' width='88' /></a> + <a target='_top' href='http://jigsaw.w3.org/css-validator/check/referer'><img + src='valid-css.png' + alt='Valid CSS!' height='31' width='88' /></a> + </p --> </body> </html> "; |