[svn r273] added html header to web statistics

This commit is contained in:
Christian Kamm
2008-06-12 18:22:33 +02:00
parent 8ddd281bb1
commit 5ab116dab4
2 changed files with 4 additions and 2 deletions

View File

@@ -482,6 +482,7 @@ int main(char[][] args){
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 @@ int main(char[][] args){
index.writef(cast(char[])std.file.read(statsname));
}
index.writefln(`</table>`);
index.writefln(`</table></body></html>`);
return 0;
}

View File

@@ -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>