diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-04-08 12:21:40 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-04-08 12:21:40 +0300 |
commit | 04163ef40681ed16e7027cda3886484d5a7481ec (patch) | |
tree | b76cd27ddc89309448615cd5056e6514d7df6457 /templates | |
parent | abb844aafca17ed8cdf04f08efaca3a19c477c8a (diff) | |
download | mailman-04163ef40681ed16e7027cda3886484d5a7481ec.tar.gz mailman-04163ef40681ed16e7027cda3886484d5a7481ec.tar.bz2 |
Add new files.
* Mailman/Cgi/listarchive.py: New file.
* templates/en/list/badperiod.html: New file.
* templates/en/list/empty.html: New file.
* templates/en/list/footer.html: New file.
* templates/en/list/header.html: New file.
* templates/en/list/listdir.html: New file.
* templates/en/list/listindex.html: New file.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/en/list/badperiod.html | 23 | ||||
-rw-r--r-- | templates/en/list/empty.html | 12 | ||||
-rw-r--r-- | templates/en/list/footer.html | 11 | ||||
-rw-r--r-- | templates/en/list/header.html | 0 | ||||
-rw-r--r-- | templates/en/list/listdir.html | 29 | ||||
-rw-r--r-- | templates/en/list/listindex.html | 49 |
6 files changed, 124 insertions, 0 deletions
diff --git a/templates/en/list/badperiod.html b/templates/en/list/badperiod.html new file mode 100644 index 0000000..0e01037 --- /dev/null +++ b/templates/en/list/badperiod.html @@ -0,0 +1,23 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> + <title>%(listname)s Archives</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <link rev="made" href="mailto:gray@gnu.org.ua" /> + <link rel="stylesheet" href="/maillist.css" type="text/css" /> +</head> +<body> +<h1>%(listname)s archives</h1> + +<ul class="idx-nav"> + <li><a href="%(listdir)s">All Lists</a></li> +</ul> + +<div id="error"> +<h1>Wrong Interval</h1> +<p>There are no messages in this interval.</p> +<p> + <a href="%(location)s">Return</a> +</p> +</div> diff --git a/templates/en/list/empty.html b/templates/en/list/empty.html new file mode 100644 index 0000000..29d593f --- /dev/null +++ b/templates/en/list/empty.html @@ -0,0 +1,12 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> + <title>%(listname)s Archives</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <link rev="made" href="mailto:gray@gnu.org.ua" /> + <link rel="stylesheet" href="/maillist.css" type="text/css" /> +</head> +<body> +<h1>%(listname)s archives</h1> +<div class="warning"><p>No messages in this list</p></div> diff --git a/templates/en/list/footer.html b/templates/en/list/footer.html new file mode 100644 index 0000000..8201050 --- /dev/null +++ b/templates/en/list/footer.html @@ -0,0 +1,11 @@ +<div id="footer"> +<p> +<address>Copyright © 2010 Sergey Poznyakoff</address>. +<span class="hint">Report problems and send sugestions to <a href="mailto:puszcza-hackers@gnu.org.ua">List Administrator</a>.</span> + +</p> +</div> +</body> +</html> + + diff --git a/templates/en/list/header.html b/templates/en/list/header.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/templates/en/list/header.html diff --git a/templates/en/list/listdir.html b/templates/en/list/listdir.html new file mode 100644 index 0000000..6cf6979 --- /dev/null +++ b/templates/en/list/listdir.html @@ -0,0 +1,29 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> + <title>Mail Archives</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <link rev="made" href="mailto:gray@gnu.org.ua" /> + <link rel="stylesheet" href="/maillist.css" type="text/css" /> +</head> +<body> +<h1>Mail Archives</h1> +<p> + Archives below are listed from most recently updated to oldest updated. +</p> + +<div class="dir listdir"> +<table class="listdir"> +<thead> + <tr> + <td>Name</td> + <td colspan="2">Current Index</td> + <td>Last Updated</td> + </tr> +</thead> +<tbody> +%(listdir)s +</tbody> +</table> +</div> diff --git a/templates/en/list/listindex.html b/templates/en/list/listindex.html new file mode 100644 index 0000000..2fff9e9 --- /dev/null +++ b/templates/en/list/listindex.html @@ -0,0 +1,49 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> + <title>%(listname)s Archives</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <link rev="made" href="mailto:gray@gnu.org.ua" /> + <link rel="stylesheet" href="/maillist.css" type="text/css" /> +</head> +<body> +<h1>%(listname)s archives</h1> + +<ul class="idx-nav"> + <li><a href="%(listdir)s">All Lists</a></li> +</ul> + +<div class="search-form"> + <form method="get" action="/mailman/findmail"> + <span class="input-label">Search for:</span> + <input type="text" name="query" size="40"> + <input type="submit" name="submit" value="Go!"> + <input type="hidden" name="idxname" value="%(listname)s"> + <a href="/mailman/findmail?idxname=%(listname)s">Advanced</a> + </form> +</div> + +<div class="descr"> +<p>The <b>%(listname)s</b> archives are divided into <dfn>sections</dfn>, +each section covering a period of one month. For each section, +two kinds of indices are provided: <dfn>date index</dfn> and +<dfn>thread index</dfn>.</p> +<p>Select the desired interval and index type and click on <i>Retrieve</i> +when ready:</p> +</div> + +<div class="dir"> +<form method="get" action="%(script)s"> + <span class="label">Period</span> + <select name="p">%(options)s</select> + <span class="label">Index</span> + <select name="t"> + <option value="date">Date</option> + <option value="thread">Thread</option> + </select> + <input type="submit" name="submit" value="Retrieve"> + <input type="hidden" name="l" value="%(listname)s"> +</form> +</div> + |