diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/bpackage.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/bpackage.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/bpackage.html b/bitbake/lib/toaster/toastergui/templates/bpackage.html index 1eb1f8e5c3..54f4bb4d5d 100644 --- a/bitbake/lib/toaster/toastergui/templates/bpackage.html +++ b/bitbake/lib/toaster/toastergui/templates/bpackage.html | |||
@@ -20,6 +20,18 @@ | |||
20 | </h1> | 20 | </h1> |
21 | </div> | 21 | </div> |
22 | 22 | ||
23 | {% if objects.paginator.count == 0 %} | ||
24 | <div class="row-fluid"> | ||
25 | <div class="alert"> | ||
26 | <form class="no-results input-append" id="searchform"> | ||
27 | <input id="search" name="search" class="input-xxlarge" type="text" value="{{request.GET.search}}"/><a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a> | ||
28 | <button class="btn" type="submit" value="Search">Search</button> | ||
29 | <button class="btn btn-link" onclick="javascript:$('#search').val('');searchform.submit()">Show all packages</button> | ||
30 | </form> | ||
31 | </div> | ||
32 | </div> | ||
33 | |||
34 | {% else %} | ||
23 | {% include "basetable_top.html" %} | 35 | {% include "basetable_top.html" %} |
24 | 36 | ||
25 | {% for package in objects %} | 37 | {% for package in objects %} |
@@ -69,5 +81,6 @@ | |||
69 | {% endfor %} | 81 | {% endfor %} |
70 | 82 | ||
71 | {% include "basetable_bottom.html" %} | 83 | {% include "basetable_bottom.html" %} |
84 | {% endif %} | ||
72 | </div> | 85 | </div> |
73 | {% endblock %} | 86 | {% endblock %} |