diff options
author | Mukund Sivaraman <muks@banu.com> | 2009-09-13 03:48:24 +0530 |
---|---|---|
committer | Mukund Sivaraman <muks@banu.com> | 2009-09-13 03:48:24 +0530 |
commit | f3e06436b5a6081e71c6308ca136e9ff1fa1ebef (patch) | |
tree | a64b12c3e7bc60ca4ec085c030237f8a662e4b79 /doc | |
parent | d7296318a0f5d7ee06b0358911889b64599f9ce5 (diff) | |
download | tinyproxy-f3e06436b5a6081e71c6308ca136e9ff1fa1ebef.tar.gz tinyproxy-f3e06436b5a6081e71c6308ca136e9ff1fa1ebef.zip |
doc: Move templates to data/templates/ directory
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile.am | 9 | ||||
-rw-r--r-- | doc/debug.html | 56 | ||||
-rw-r--r-- | doc/default.html | 23 | ||||
-rw-r--r-- | doc/stats.html | 69 |
4 files changed, 2 insertions, 155 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index 6cbe3cc..ade0939 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,15 +1,10 @@ SUBDIRS = \ man8 -TEMPLATES = \ - debug.html \ - default.html \ - stats.html - EXTRA_DIST = \ tinyproxy.conf \ HTML_VARIABLES \ HTTP_ERROR_CODES \ RFC_INFO \ - filter-howto.txt \ - $(TEMPLATES) + filter-howto.txt + diff --git a/doc/debug.html b/doc/debug.html deleted file mode 100644 index 6ee3367..0000000 --- a/doc/debug.html +++ /dev/null @@ -1,56 +0,0 @@ -<?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>{errno} {cause}</title> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> -</head> - -<body> - -<h1>{cause}</h1> - -<p>{detail}</p> - -<p>Here are the error variables:</p> - -<dl> - - <dt>request</dt> - <dd>{request}</dd> - - <dt>cause</dt> - <dd>{cause}</dd> - - <dt>clientip</dt> - <dd>{clientip}</dd> - - <dt>clienthost</dt> - <dd>{clienthost}</dd> - - <dt>version</dt> - <dd>{version}</dd> - - <dt>package</dt> - <dd>{package}</dd> - - <dt>date</dt> - <dd>{date}</dd> - - <dt>detail</dt> - <dd>{detail}</dd> - - <dt>url</dt> - <dd>{url}</dd> - -</dl> - -<hr /> - -<p><em>Generated by <a href="{website}">{package}</a> version {version}.</em></p> - -</body> - -</html> diff --git a/doc/default.html b/doc/default.html deleted file mode 100644 index 67354b7..0000000 --- a/doc/default.html +++ /dev/null @@ -1,23 +0,0 @@ -<?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>{errno} {cause}</title> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> -</head> - -<body> - -<h1>{cause}</h1> - -<p>{detail}</p> - -<hr /> - -<p><em>Generated by <a href="{website}">{package}</a> version {version}.</em></p> - -</body> - -</html> diff --git a/doc/stats.html b/doc/stats.html deleted file mode 100644 index 7179859..0000000 --- a/doc/stats.html +++ /dev/null @@ -1,69 +0,0 @@ -<?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> |