Revert "make the stats page fit with the rest of the site"

This reverts commit e3492a5769.
This commit is contained in:
Holden Karau 2008-04-09 19:57:45 -04:00
parent 3debd46f5e
commit e8ec7b5b10
3 changed files with 18 additions and 20 deletions

View File

@ -1,12 +1,11 @@
<!ELEMENT cscpage (biglogo*, section*, header*, footer*)> <!ELEMENT cscpage (biglogo*, section*, header*, footer*)>
<!ATTLIST cscpage <!ATTLIST cscpage
title CDATA #REQUIRED title CDATA #REQUIRED>
morestyle CDATA "">
<!ELEMENT biglogo EMPTY> <!ELEMENT biglogo EMPTY>
<!ELEMENT section (#PCDATA)> <!ELEMENT section (#PCDATA)>
<!ATTLIST section <!ATTLIST section
title CDATA " "> title CDATA #REQUIRED>
<!ELEMENT header EMPTY> <!ELEMENT header EMPTY>
<!ELEMENT footer EMPTY> <!ELEMENT footer EMPTY>

View File

@ -1,13 +1,17 @@
<?xml version='1.0'?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<!DOCTYPE cscpage SYSTEM "csc.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
<head>
<cscpage title="Network Statistics" morestyle="td { <title>Network Statistics</title>
<style type="text/css">
td {
padding: 2px 2px 8px 2px; padding: 2px 2px 8px 2px;
text-align: center; text-align: center;
}"> }
<header/> </style>
<section > </head>
<body>
<table> <table>
<tr> <tr>
<td colspan="2">IST: <td colspan="2">IST:
@ -112,6 +116,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</section>
<footer /> </body>
</cscpage> </html>

View File

@ -17,11 +17,6 @@
type="application/rss+xml" /> type="application/rss+xml" />
<title><xsl:value-of select="@title" /></title> <title><xsl:value-of select="@title" /></title>
<link rel="stylesheet" href="{$g_pre}default.css" type="text/css" /> <link rel="stylesheet" href="{$g_pre}default.css" type="text/css" />
<xsl:if test="@morestyle">
<style>
<xsl:value-of select="@morestyle" />
</style>
</xsl:if>
</head> </head>
<body><div class="content"> <body><div class="content">
<a id="pagetop" /> <a id="pagetop" />
@ -37,7 +32,7 @@
<xsl:if test="@anchor"> <xsl:if test="@anchor">
<a id="{@anchor}" /> <a id="{@anchor}" />
</xsl:if> </xsl:if>
<h2><xsl:value-of select="@title" /></h2> <h2><xsl:value-of select="@title" /></h2>
<xsl:apply-templates /> <xsl:apply-templates />
</xsl:template> </xsl:template>