diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/configvars.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/configvars.html | 14 |
1 files changed, 14 insertions, 0 deletions
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 --> |