1 {% extends
"base.html" %}
3 {% block title %}{{ _(
"Search results for '%s'") % pattern }}{% end block %}
6 <ul class=
"breadcrumb">
8 <a href=
"/">{{ _(
"Home") }}
</a>
9 <span class=
"divider">/
</span>
12 <a href=
"/search">{{ _(
"Search results") }}
</a>
13 <span class=
"divider">/
</span>
16 <a href=
"/search?q={{ pattern }}">{{ pattern }}
</a>
20 <div class=
"page-header">
22 {{ _(
"Search results for '%s'") % pattern }}
26 {% if not pkgs and not files and not users %}
27 <div class=
"alert alert-block">
28 <h4 class=
"alert-heading">{{ _(
"No results found.") }}
</h4>
30 {{ _(
"Visit the advanced search page to find about how to define your query.") }}
36 <div class=
"span4 offset4">
37 <form class=
"well ac" method=
"GET" action=
"/search">
38 <div class=
"input-append">
39 <input type=
"text" class=
"input-large" name=
"q" placeholder=
"{{ _("Search
") }}"
40 value=
"{{ pattern }}"><button type=
"submit" class=
"btn">{{ _(
"Go!") }}
</button>
50 {{ _(
"Packages") }}
<small>({{ len(pkgs) }})
</small>
53 <table class=
"table table-striped table-hover">
58 <a href=
"/package/{{ pkg.name }}">
62 <td>{{ pkg.summary }}
</td>
71 {{ _(
"Files") }}
<small>({{ len(files) }})
</small>
75 {{ _(
"%s was found in the following package.",
"%s was found in the following packages.", len(files)) % pattern }}
78 <table class=
"table table-striped table-hover">
80 {% for pkg, file in files %}
83 <a href=
"/package/{{ pkg.uuid }}">{{ pkg.friendly_name }}
</a>
86 <pre>{{ format_filemode(file.type, file.mode) }} {{ file.user }}:{{ file.group }} {% if file.size %}{{ format_size(file.size) }}{% else %}-{% end %} {{ file.name }}
</pre>
96 {{ _(
"Users") }}
<small>({{ len(users) }})
</small>
99 <table class=
"table table-striped table-hover">
101 {% for user in users %}
104 <a href=
"/user/{{ user.name }}">{{ user.realname }}
105 {% if not user.name == user.realname %}