annotate templates/search.tmpl @ 941:4cf418c2a013

Add a multi-repository server This merges a bunch of the ideas for a multi-repository CGI script and simplifies things a bit. It uses PATH_INFO so it generally wants paths of the form: http://host/hg.cgi/virtualpath This gets mapped via a simple config file to the real path. All info about the repo is read from the repo's hgrc.
author mpm@selenic.com
date Fri, 19 Aug 2005 16:38:25 -0800
parents 7140bc781655
children 17703aa4491e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
538
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
1 #header#
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
2 <title>#repo|escape#: searching for #query|escape#</title>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
3 </head>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
4 <body>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
5
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
6 <div class="buttons">
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
7 <a href="?cmd=changelog;rev=#rev#">changelog</a>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
8 <a href="?cmd=tags">tags</a>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
9 <a href="?cmd=manifest;manifest=#manifest#;path=/">manifest</a>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
10 </div>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
11
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
12 <h2>searching for #query|escape#</h2>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
13
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
14 <form>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
15 search:
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
16 <input type="hidden" name="cmd" value="changelog">
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
17 <input name="rev" type="text" width="30" value="#query|escape#">
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
18 </form>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
19
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
20 #entries#
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
21
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
22 <form>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
23 search:
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
24 <input type="hidden" name="cmd" value="changelog">
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
25 <input name="rev" type="text" width="30">
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
26 </form>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
27
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
28 #footer#