summaryrefslogtreecommitdiff
path: root/data/templates/stats.html
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@banu.com>2009-09-13 03:48:24 +0530
committerMukund Sivaraman <muks@banu.com>2009-09-13 03:48:24 +0530
commitf3e06436b5a6081e71c6308ca136e9ff1fa1ebef (patch)
treea64b12c3e7bc60ca4ec085c030237f8a662e4b79 /data/templates/stats.html
parentd7296318a0f5d7ee06b0358911889b64599f9ce5 (diff)
downloadtinyproxy-f3e06436b5a6081e71c6308ca136e9ff1fa1ebef.tar.gz
tinyproxy-f3e06436b5a6081e71c6308ca136e9ff1fa1ebef.zip
doc: Move templates to data/templates/ directory
Diffstat (limited to 'data/templates/stats.html')
-rw-r--r--data/templates/stats.html69
1 files changed, 69 insertions, 0 deletions
diff --git a/data/templates/stats.html b/data/templates/stats.html
new file mode 100644
index 0000000..7179859
--- /dev/null
+++ b/data/templates/stats.html
@@ -0,0 +1,69 @@
+<?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 {version} run-time statistics</title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+
+<style type="text/css" media="screen">
+<!--/*--><![CDATA[<!--*/
+
+th, td
+{
+ text-align: left;
+ padding: 0.5em;
+ border: 1px solid gray;
+}
+
+/*]]>*/-->
+</style>
+
+</head>
+
+<body>
+
+<h1>{package} version {version} run-time statistics</h1>
+
+<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>
+
+<hr />
+
+<p><em>Generated by <a href="{website}">{package}</a> version {version}.</em></p>
+
+</body>
+
+</html>