make the stats page fit with the rest of the site

This commit is contained in:
Holden Karau 2008-04-09 19:14:13 -04:00
parent 702d4331c2
commit e3492a5769
3 changed files with 20 additions and 18 deletions

View File

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

View File

@ -1,17 +1,13 @@
<?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">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Network Statistics</title>
<style type="text/css">
td {
<?xml version='1.0'?>
<!DOCTYPE cscpage SYSTEM "csc.dtd">
<cscpage title="Network Statistics" morestyle="td {
padding: 2px 2px 8px 2px;
text-align: center;
}
</style>
</head>
<body>
}">
<header/>
<section >
<table>
<tr>
<td colspan="2">IST:
@ -116,6 +112,6 @@
</td>
</tr>
</table>
</body>
</html>
</section>
<footer />
</cscpage>

View File

@ -17,6 +17,11 @@
type="application/rss+xml" />
<title><xsl:value-of select="@title" /></title>
<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>
<body><div class="content">
<a id="pagetop" />
@ -32,7 +37,7 @@
<xsl:if test="@anchor">
<a id="{@anchor}" />
</xsl:if>
<h2><xsl:value-of select="@title" /></h2>
<h2><xsl:value-of select="@title" /></h2>
<xsl:apply-templates />
</xsl:template>