forked from boundstate/hgweb-boundstate-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.tmpl
43 lines (33 loc) · 1.04 KB
/
search.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{header}
<title>{repo|escape}: searching for {query|escape}</title>
</head>
<body>
{menubar}
<div id="content" class="container">
<h1>{repo|escape}</h1>
<form id="search" class="form-search" action="{url}log">
{sessionvars%hiddenformentry}
<div class="input-append">
<input name="rev" id="search1" type="text" placeholder="Author, revision, filename, or commit" value="{query|escape}" /><a class="btn" onclick="document.getElementById('search').submit()"><i class="icon-search"></i></a>
</div>
</form>
<ul class="nav nav-tabs">
<li class="active"><a href="{url}">Commits</a></li>
<li><a href="{url}file">Files</a></li>
</ul>
<h3>Search results for '{query|escape}'</h3>
<table class="table">
<thead>
<tr>
<th class="age">Age</th>
<th class="author">Author</th>
<th class="description">Description</th>
</tr>
</thead>
<tbody>
{entries}
</tobyd>
</table>
<a class="btn" href="{url}search/{morevars%urlparameter}#more" name="more">More Results</a>
</div>
{footer}