1 {% extends
"base.html" %}
3 {% block title %}{{ _(
"Search results for '%s'") % pattern }}{% end block %}
8 <div class=
"col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">
9 <nav aria-label=
"breadcrumb" role=
"navigation">
10 <ol class=
"breadcrumb">
11 <li class=
"breadcrumb-item"><a href=
"/">{{ _(
"Home") }}
</a></li>
12 <li class=
"breadcrumb-item"><a href=
"/search">{{ _(
"Search results") }}
</a></li>
13 <li class=
"breadcrumb-item active">
14 <a href=
"/search?q={{ pattern }}">{{ pattern }}
</a>
22 <div class=
"col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">
23 <h2 style=
"word-wrap: break-word;">
24 {{ _(
"Search results for '%s'") % pattern }}
30 <div class=
"col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12 mb-2">
31 <form class=
"form-inline" method=
"GET" action=
"/search">
32 <div class=
"form-group">
33 <input type=
"text" class=
"form-control mr-2" id=
"q" name=
"q" placeholder=
"{{ _("Search
") }}"
34 value=
"{{ pattern }}">
36 <button type=
"submit" class=
"btn btn-primary">{{ _(
"Go!") }}
</button>
44 <div class=
"col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">
45 <h3 style=
"word-wrap: break-word;">
46 {{ _(
"Packages") }}
<small>({{ len(pkgs) }})
</small>
48 <div class=
"table-responsive mb-2">
49 <table class=
"table table-striped table-hover">
54 <a href=
"/package/{{ pkg.name }}">
58 <td>{{ pkg.summary }}
</td>
70 <div class=
"col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">
71 <h3 style=
"word-wrap: break-word;">
72 {{ _(
"Files") }}
<small>({{ len(files) }})
</small>
75 {{ _(
"%s was found in the following package.",
"%s was found in the following packages.", len(files)) % pattern }}
77 <div class=
"table-responsive mb-2">
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>
99 <div class=
"col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">
100 <h3 style=
"word-wrap: break-word;">
101 {{ _(
"Users") }}
<small>({{ len(users) }})
</small>
103 <div class=
"table-responsive mb-2">
104 <table class=
"table table-striped table-hover">
106 {% for user in users %}
109 <a href=
"/user/{{ user.name }}">{{ user.realname }}
110 {% if not user.name == user.realname %}