diff options
4 files changed, 56 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 %} | 
diff --git a/bitbake/lib/toaster/toastergui/templates/configvars.html b/bitbake/lib/toaster/toastergui/templates/configvars.html index ecd5a0f3d8..5c552c9d82 100644 --- a/bitbake/lib/toaster/toastergui/templates/configvars.html +++ b/bitbake/lib/toaster/toastergui/templates/configvars.html  | |||
| @@ -30,6 +30,19 @@ | |||
| 30 | 30 | ||
| 31 | <!-- variables --> | 31 | <!-- variables --> | 
| 32 | <div id="variables" class="tab-pane"> | 32 | <div id="variables" class="tab-pane"> | 
| 33 | |||
| 34 | {% if objects.paginator.count == 0 %} | ||
| 35 | <div class="row-fluid"> | ||
| 36 | <div class="alert"> | ||
| 37 | <form class="no-results input-append" id="searchform"> | ||
| 38 | <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> | ||
| 39 | <button class="btn" type="submit" value="Search">Search</button> | ||
| 40 | <button class="btn btn-link" onclick="javascript:$('#search').val('');searchform.submit()">Show all variables</button> | ||
| 41 | </form> | ||
| 42 | </div> | ||
| 43 | </div> | ||
| 44 | |||
| 45 | {% else %} | ||
| 33 | {% include "basetable_top.html" %} | 46 | {% include "basetable_top.html" %} | 
| 34 | 47 | ||
| 35 | {% for variable in objects %} | 48 | {% for variable in objects %} | 
| @@ -52,6 +65,7 @@ | |||
| 52 | {% endfor %} | 65 | {% endfor %} | 
| 53 | 66 | ||
| 54 | {% include "basetable_bottom.html" %} | 67 | {% include "basetable_bottom.html" %} | 
| 68 | {% endif %} | ||
| 55 | </div> <!-- endvariables --> | 69 | </div> <!-- endvariables --> | 
| 56 | 70 | ||
| 57 | <!-- file list popups --> | 71 | <!-- file list popups --> | 
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 %} | 
diff --git a/bitbake/lib/toaster/toastergui/templates/tasks.html b/bitbake/lib/toaster/toastergui/templates/tasks.html index ce75b75c94..f484867958 100644 --- a/bitbake/lib/toaster/toastergui/templates/tasks.html +++ b/bitbake/lib/toaster/toastergui/templates/tasks.html  | |||
| @@ -17,6 +17,20 @@ | |||
| 17 | {%endif%} | 17 | {%endif%} | 
| 18 | </h1> | 18 | </h1> | 
| 19 | </div> | 19 | </div> | 
| 20 | |||
| 21 | {% if objects.paginator.count == 0 %} | ||
| 22 | <div class="row-fluid"> | ||
| 23 | <div class="alert"> | ||
| 24 | <form class="no-results input-append" id="searchform"> | ||
| 25 | <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> | ||
| 26 | <button class="btn" type="submit" value="Search">Search</button> | ||
| 27 | <button class="btn btn-link" onclick="javascript:$('#search').val('');searchform.submit()">Show all tasks</button> | ||
| 28 | </form> | ||
| 29 | </div> | ||
| 30 | </div> | ||
| 31 | |||
| 32 | |||
| 33 | {% else %} | ||
| 20 | {% include "basetable_top.html" %} | 34 | {% include "basetable_top.html" %} | 
| 21 | 35 | ||
| 22 | {% for task in objects %} | 36 | {% for task in objects %} | 
| @@ -58,5 +72,6 @@ | |||
| 58 | {% endfor %} | 72 | {% endfor %} | 
| 59 | 73 | ||
| 60 | {% include "basetable_bottom.html" %} | 74 | {% include "basetable_bottom.html" %} | 
| 75 | {% endif %} | ||
| 61 | </div> | 76 | </div> | 
| 62 | {% endblock %} | 77 | {% endblock %} | 
