blob: 433b2a6a2f478981aa5e5154fedfbbd326c160ba (
plain)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
{{{header}}}
<div id="main">
<div class="panel panel-default">
<div class="panel-heading">Search for packages</div>
<div class="panel-body">
<form class="form-inline" role="form" id="search">
<div class="form-group">
<label for="package">Package name</label>
<input type="text" class="form-control" id="package" name="package" value="{{{package}}}">
</div>
<div class="form-group">
<label for="repo">Repository</label>
<select name="repo" class="form-control" id="repo">
<option{{{#all}}} selected {{{/all}}}>all</option>
<option{{{#main}}} selected {{{/main}}}>main</option>
<option{{{#testing}}} selected {{{/testing}}}>testing</option>
</select>
</div>
<div class="form-group">
<label for="arch">Architecture</label>
<select name="arch" class="form-control" id="arch">
<option{{#x86}} selected {{/x86}}>x86</option>
<option{{#x86_64}} selected {{/x86_64}}>x86_64</option>
<option{{#armhf}} selected {{/armhf}}>armhf</option>
</select>
</div>
<button type="submit" class="btn btn-primary">Search</button>
</form>
</div>
<div class="table-responsive">
<table class="table table-striped table-bordered table-condensed">
<tr>
<th>Package</th>
<th>Version</th>
<th>Project</th>
<th>Licence</th>
<th>Architecture</th>
<th>Repository</th>
<th>Maintainer</th>
<th>Build date</th>
</tr>{{#rows}}
<tr>
<td class="package" title="{{{desc}}}"><a href="/package/{{{arch}}}/{{{package}}}">{{{package}}}</a></td>
<td class="version">{{{version}}}</td>
<td class="url"><a href="{{{project}}}">URL</a></td>
<td class="license">{{{license}}}</td>
<td class="arch">{{{arch}}}</td>
<td class="repo">{{{repo}}}</td>
<td class="maintainer">{{{maintainer}}}</td>
<td class="bdate">{{{bdate}}}</td>
</tr>{{/rows}}
{{{^rows}}}
<tr>
<td colspan="8">No item found...</td>
</tr>
{{{/rows}}}
</table>
</div>
<div class="panel-footer text-center">{{#pager}}
<nav>
<ul class="pagination">{{/pager}}{{#pager}}{{#prev}}
<li class=""><a href="/packages?{{{prev}}}" aria-label="Previous"><span aria-hidden="true">«</span></a></li>{{/prev}}{{/pager}}{{#pager}}{{^prev}}
<li class="disabled"><a href="" aria-label="Previous"><span aria-hidden="true">«</span></a></li>{{/prev}}{{/pager}}{{#pager}}
<li class="active"><a href="#">{{{page}}}</a></li>{{/pager}}{{#pager}}{{#next}}
<li><a href="/packages?{{{next}}}" aria-label="Next"><span aria-hidden="true">»</span></a></li>{{/next}}{{/pager}}{{#pager}}{{^next}}
<li class="disabled"><a href="#" aria-label="Next"><span aria-hidden="true">»</span></a></li>{{/next}}{{/pager}}{{#pager}}
</ul>
</nav>{{/pager}}
</div>
</div>
</div>
{{{footer}}}
|