Show More
@@ -285,7 +285,8 class hgweb(object): | |||||
285 | yield self.t('search', |
|
285 | yield self.t('search', | |
286 | query=query, |
|
286 | query=query, | |
287 | node=hex(cl.tip()), |
|
287 | node=hex(cl.tip()), | |
288 |
entries=changelist |
|
288 | entries=changelist, | |
|
289 | archives=self.archivelist("tip")) | |||
289 |
|
290 | |||
290 | def changeset(self, ctx): |
|
291 | def changeset(self, ctx): | |
291 | n = ctx.node() |
|
292 | n = ctx.node() |
@@ -1,27 +1,32 | |||||
1 | #header# |
|
1 | #header# | |
|
2 | <title>#repo|escape#: Search</title> | |||
|
3 | <link rel="alternate" type="application/rss+xml" | |||
|
4 | href="{url}rss-log" title="RSS feed for #repo|escape#"> | |||
|
5 | </head> | |||
|
6 | <body> | |||
|
7 | ||||
|
8 | <div class="page_header"> | |||
|
9 | <a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / search | |||
|
10 | ||||
|
11 | <form action="{url}log"> | |||
|
12 | {sessionvars%hiddenformentry} | |||
|
13 | <div class="search"> | |||
|
14 | <input type="text" name="rev" value="#query|escape#" /> | |||
|
15 | </div> | |||
|
16 | </form> | |||
|
17 | </div> | |||
|
18 | ||||
2 | <div class="page_nav"> |
|
19 | <div class="page_nav"> | |
3 | <a href="{url}summary{sessionvars%urlparameter}">summary</a> | |
|
20 | <a href="{url}summary{sessionvars%urlparameter}">summary</a> | | |
4 | <a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | |
|
21 | <a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | | |
5 | <a href="{url}log{sessionvars%urlparameter}">changelog</a> | |
|
22 | <a href="{url}log{sessionvars%urlparameter}">changelog</a> | | |
6 | <a href="{url}tags{sessionvars%urlparameter}">tags</a> | |
|
23 | <a href="{url}tags{sessionvars%urlparameter}">tags</a> | | |
7 |
<a href="{url}file/#node|short#{sessionvars%urlparameter}">manifest</a> |
|
24 | <a href="{url}file/#node|short#{sessionvars%urlparameter}">manifest</a>#archives%archiveentry# | |
|
25 | <br/> | |||
8 | </div> |
|
26 | </div> | |
9 |
|
27 | |||
10 |
< |
|
28 | <div class="title">searching for #query|escape#</div> | |
11 |
|
||||
12 | <form action="{url}log"> |
|
|||
13 | {sessionvars%hiddenformentry} |
|
|||
14 | search: |
|
|||
15 | <input name="rev" type="text" width="30" value="#query|escape#"> |
|
|||
16 | </form> |
|
|||
17 |
|
29 | |||
18 | #entries# |
|
30 | #entries# | |
19 |
|
31 | |||
20 | <form action="{url}log"> |
|
|||
21 | {sessionvars%hiddenformentry} |
|
|||
22 | search: |
|
|||
23 | <input type="hidden" name="style" value="gitweb"> |
|
|||
24 | <input name="rev" type="text" width="30"> |
|
|||
25 | </form> |
|
|||
26 |
|
||||
27 | #footer# |
|
32 | #footer# |
General Comments 0
You need to be logged in to leave comments.
Login now