templates/search.tmpl
author Dirkjan Ochtman <dirkjan@ochtman.nl>
Mon, 20 Oct 2008 10:15:26 +0200
changeset 7180 a42d27bc809d
parent 6693 7f58dec6aeb7
permissions -rw-r--r--
hgweb: be sure to drain request data even in early error conditions Thanks to Mads Kiilerich with noticing this. The hg client can only read data after all the sent data has been read, so we have to read all the request data even if we're not going to do anything with it (in error conditions). This is not easy to fix in the client, because we're using Python's httplib, which is strictly stateful. Abstracted the draining into a separate method.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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">
3363
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3362
diff changeset
     7
<a href="#url#log{sessionvars%urlparameter}">changelog</a>
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3362
diff changeset
     8
<a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a>
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6177
diff changeset
     9
<a href="#url#graph{sessionvars%urlparameter}">graph</a>
3363
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3362
diff changeset
    10
<a href="#url#tags{sessionvars%urlparameter}">tags</a>
6177
673d8a6bc709 Renamed "manifest" to "files" in web templates.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 4471
diff changeset
    11
<a href="#url#file/#node|short#{sessionvars%urlparameter}">files</a>
4471
1196998c62e3 Add archive download links to hgweb search template
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3363
diff changeset
    12
#archives%archiveentry#
538
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    13
</div>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    14
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    15
<h2>searching for #query|escape#</h2>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    16
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    17
<form>
3362
887da2247b57 hgweb: Keep session variables (currently only style) in HTML forms, too.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3273
diff changeset
    18
{sessionvars%hiddenformentry}
1441
cbc36ad70945 hgweb: a couple of fixes on search page
TK Soh <teekaysoh@yahoo.com>
parents: 1432
diff changeset
    19
<p>
538
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    20
search:
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    21
<input name="rev" type="text" width="30" value="#query|escape#">
1441
cbc36ad70945 hgweb: a couple of fixes on search page
TK Soh <teekaysoh@yahoo.com>
parents: 1432
diff changeset
    22
</p>
538
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    23
</form>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    24
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    25
#entries#
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    26
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    27
<form>
3362
887da2247b57 hgweb: Keep session variables (currently only style) in HTML forms, too.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3273
diff changeset
    28
{sessionvars%hiddenformentry}
1441
cbc36ad70945 hgweb: a couple of fixes on search page
TK Soh <teekaysoh@yahoo.com>
parents: 1432
diff changeset
    29
<p>
538
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    30
search:
1441
cbc36ad70945 hgweb: a couple of fixes on search page
TK Soh <teekaysoh@yahoo.com>
parents: 1432
diff changeset
    31
<input name="rev" type="text" width="30" value="#query|escape#">
cbc36ad70945 hgweb: a couple of fixes on search page
TK Soh <teekaysoh@yahoo.com>
parents: 1432
diff changeset
    32
</p>
538
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    33
</form>
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    34
7140bc781655 Add multiple keyword search to hgweb
mpm@selenic.com
parents:
diff changeset
    35
#footer#