From f3e06436b5a6081e71c6308ca136e9ff1fa1ebef Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Sun, 13 Sep 2009 03:48:24 +0530 Subject: doc: Move templates to data/templates/ directory --- data/Makefile.am | 2 ++ data/templates/Makefile.am | 7 +++++ data/templates/debug.html | 56 ++++++++++++++++++++++++++++++++++++ data/templates/default.html | 23 +++++++++++++++ data/templates/stats.html | 69 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 157 insertions(+) create mode 100644 data/Makefile.am create mode 100644 data/templates/Makefile.am create mode 100644 data/templates/debug.html create mode 100644 data/templates/default.html create mode 100644 data/templates/stats.html (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am new file mode 100644 index 0000000..4a03cc5 --- /dev/null +++ b/data/Makefile.am @@ -0,0 +1,2 @@ +SUBDIRS = \ + templates diff --git a/data/templates/Makefile.am b/data/templates/Makefile.am new file mode 100644 index 0000000..5c2f1be --- /dev/null +++ b/data/templates/Makefile.am @@ -0,0 +1,7 @@ +TEMPLATES = \ + debug.html \ + default.html \ + stats.html + +EXTRA_DIST = \ + $(TEMPLATES) diff --git a/data/templates/debug.html b/data/templates/debug.html new file mode 100644 index 0000000..6ee3367 --- /dev/null +++ b/data/templates/debug.html @@ -0,0 +1,56 @@ + + + + + + +{errno} {cause} + + + + + +

{cause}

+ +

{detail}

+ +

Here are the error variables:

+ +
+ +
request
+
{request}
+ +
cause
+
{cause}
+ +
clientip
+
{clientip}
+ +
clienthost
+
{clienthost}
+ +
version
+
{version}
+ +
package
+
{package}
+ +
date
+
{date}
+ +
detail
+
{detail}
+ +
url
+
{url}
+ +
+ +
+ +

Generated by {package} version {version}.

+ + + + diff --git a/data/templates/default.html b/data/templates/default.html new file mode 100644 index 0000000..67354b7 --- /dev/null +++ b/data/templates/default.html @@ -0,0 +1,23 @@ + + + + + + +{errno} {cause} + + + + + +

{cause}

+ +

{detail}

+ +
+ +

Generated by {package} version {version}.

+ + + + 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 @@ + + + + + + +{package} version {version} run-time statistics + + + + + + + + +

{package} version {version} run-time statistics

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameValue
Number of open connections{opens}
Number of requests{reqs}
Number of bad connections{badconns}
Number of denied connections{deniedconns}
Number of refused connections due to high load{refusedconns}
+ +
+ +

Generated by {package} version {version}.

+ + + + -- cgit v1.2.3