diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/recipes.html')
-rwxr-xr-x | bitbake/lib/toaster/toastergui/templates/recipes.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/recipes.html b/bitbake/lib/toaster/toastergui/templates/recipes.html index 724bcf5879..da5ac99bd5 100755 --- a/bitbake/lib/toaster/toastergui/templates/recipes.html +++ b/bitbake/lib/toaster/toastergui/templates/recipes.html | |||
@@ -19,6 +19,19 @@ | |||
19 | {%endif%} | 19 | {%endif%} |
20 | </h1> | 20 | </h1> |
21 | </div> | 21 | </div> |
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 recipes</button> | ||
30 | </form> | ||
31 | </div> | ||
32 | </div> | ||
33 | |||
34 | {% else %} | ||
22 | {% include "basetable_top.html" %} | 35 | {% include "basetable_top.html" %} |
23 | 36 | ||
24 | {% for recipe in objects %} | 37 | {% for recipe in objects %} |
@@ -80,5 +93,6 @@ | |||
80 | {% endfor %} | 93 | {% endfor %} |
81 | 94 | ||
82 | {% include "basetable_bottom.html" %} | 95 | {% include "basetable_bottom.html" %} |
96 | {% endif %} | ||
83 | </div> | 97 | </div> |
84 | {% endblock %} | 98 | {% endblock %} |