changeset 256:26127a48bc09 trunk

[svn r273] added html header to web statistics
author ChristianK
date Thu, 12 Jun 2008 18:22:33 +0200
parents 4d14a1c84be7
children 4234b014a4f2
files tests/makewebstatistics.d tests/web/index.html
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/makewebstatistics.d	Thu Jun 12 18:19:54 2008 +0200
+++ b/tests/makewebstatistics.d	Thu Jun 12 18:22:33 2008 +0200
@@ -482,6 +482,7 @@
 	BufferedFile index = new BufferedFile(std.path.join(basedir, "index.html"), FileMode.Out);
 	scope(exit) index.close();
 	index.writefln(`
+		<html><body>
 		<table style="border-collapse:collapse; text-align:center;">
 		<colgroup>
 			<col style="border-right: medium solid black;">
@@ -515,7 +516,7 @@
 		index.writef(cast(char[])std.file.read(statsname));
 	}
 
-	index.writefln(`</table>`);
+	index.writefln(`</table></body></html>`);
 	
 	return 0;
 }
--- a/tests/web/index.html	Thu Jun 12 18:19:54 2008 +0200
+++ b/tests/web/index.html	Thu Jun 12 18:22:33 2008 +0200
@@ -1,4 +1,5 @@
 
+		<html><body>
 		<table style="border-collapse:collapse; text-align:center;">
 		<colgroup>
 			<col style="border-right: medium solid black;">
@@ -109,4 +110,4 @@
 <td><a href="llvmdc-2008-05-07/xpass.html">302</a></td>
 <td><a href="llvmdc-2008-05-07/error.html">757</a></td>
 </tr>
-</table>
+</table></body></html>