annotate templates/searchentry.tmpl @ 538:7140bc781655

Add multiple keyword search to hgweb -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Add multiple keyword search to hgweb People kept pestering me about this one. Now it's done. If you type a tag/id/rev in the search box, it takes you to that entry in the changelog. If you type some other random keywords, it does a case-insensitive search through the history and returns the most recent N items. It's not super-fast, but it's serviceable. manifest hash: e8fa980dee92cf78c04051d3028da9b07a45f3de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCxO6JywK+sNU5EO8RArAwAKCq+9qO/OL0mQxa1J7C77Z6AcZoWgCfbiDC AZ5KllldwBtdRRREn7HH6go= =sIy0 -----END PGP SIGNATURE-----
author mpm@selenic.com
date Thu, 30 Jun 2005 23:19:37 -0800
parents
children e8fd41110dce
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 <div class="parity#parity#">
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
2 <table width="100%" cellpadding="0" cellspacing="0">
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
3 <tr>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
4 <td align="right" width="15%"><b>#date|age# ago:&nbsp;</b></td>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
5 <td><b>#desc|firstline|escape#</b></td></tr>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
6 <tr>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
7 <td align="right">changeset #rev#:&nbsp;</td>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
8 <td><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
9 #parent1#
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
10 #parent2#
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
11 <tr>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
12 <td align="right">author:&nbsp;</td>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
13 <td>#author|obfuscate#</td></tr>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
14 <tr>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
15 <td align="right">date:&nbsp;</td>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
16 <td>#date|date#</td></tr>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
17 <tr>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
18 <td align="right" valign="top"><a href="?cmd=manifest;manifest=#manifest#;path=/">files</a>:&nbsp;</td>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
19 <td>#files#</td></tr>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
20 </table>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
21 </div>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
22