summaryrefslogtreecommitdiff
path: root/doc/stats.html
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@banu.com>2008-07-14 11:58:19 +0530
committerMukund Sivaraman <muks@banu.com>2008-07-14 11:58:19 +0530
commit922e0be57416f69ab0d22dce3446bca89c6b0242 (patch)
tree3c3cdb5fffa37163d547d958c961c3477d29262c /doc/stats.html
parent7751efc218c49c228189fb3de65d85e6841fd830 (diff)
downloadtinyproxy-922e0be57416f69ab0d22dce3446bca89c6b0242.tar.gz
tinyproxy-922e0be57416f69ab0d22dce3446bca89c6b0242.zip
Update error pages to valid XHTML format
Also change some text and how the messages are displayed, to look better.
Diffstat (limited to '')
-rw-r--r--doc/stats.html73
1 files changed, 64 insertions, 9 deletions
diff --git a/doc/stats.html b/doc/stats.html
index 2168606..2f90c88 100644
--- a/doc/stats.html
+++ b/doc/stats.html
@@ -1,10 +1,65 @@
-<html><head><title>{package} ({version}) stats</title></head>
+<?xml version="1.0" encoding="UTF-8" ?>
+<!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" xml:lang="en">
+
+<head>
+<title>{package} {version} run-time statistics</title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+
+<style type="text/css" media="screen" title="Mukund theme">
+<!--/*--><![CDATA[<!--*/
+
+th, td
+{
+ text-align: left;
+ padding: 0.5em;
+ border: 1px solid gray;
+}
+
+/*]]>*/-->
+</style>
+
+</head>
+
<body>
-<center><h2>{package} ({version}) run-time statistics</h2></center><hr>
-<blockquote>
-Number of open connections: {opens}<br>
-Number of requests: {reqs}<br>
-Number of bad connections: {badconns}<br>
-Number of denied connections: {deniedconns}<br>
-Number of refused connections due to high load: {refusedconns}<br>
-</blockquote></body></html>
+
+<h2>{package} {version} run-time statistics</h2>
+
+<table>
+
+<tr>
+ <th>Name</th>
+ <th>Value</th>
+</tr>
+
+<tr>
+ <td>Number of open connections</td>
+ <td>{opens}</td>
+</tr>
+
+<tr>
+ <td>Number of requests</td>
+ <td>{reqs}</td>
+</tr>
+
+<tr>
+ <td>Number of bad connections</td>
+ <td>{badconns}</td>
+</tr>
+
+<tr>
+ <td>Number of denied connections</td>
+ <td>{deniedconns}</td>
+</tr>
+
+<tr>
+ <td>Number of refused connections due to high load</td>
+ <td>{refusedconns}</td>
+</tr>
+
+</table>
+
+</body>
+
+</html>