diff options
Diffstat (limited to 'bitbake/lib/toaster')
4 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/bpackage.html b/bitbake/lib/toaster/toastergui/templates/bpackage.html index 54f4bb4d5d..7da8ce7e14 100644 --- a/bitbake/lib/toaster/toastergui/templates/bpackage.html +++ b/bitbake/lib/toaster/toastergui/templates/bpackage.html | |||
@@ -24,7 +24,7 @@ | |||
24 | <div class="row-fluid"> | 24 | <div class="row-fluid"> |
25 | <div class="alert"> | 25 | <div class="alert"> |
26 | <form class="no-results input-append" id="searchform"> | 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> | 27 | <input id="search" name="search" class="input-xxlarge" type="text" value="{{request.GET.search}}"/>{% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a>{% endif %} |
28 | <button class="btn" type="submit" value="Search">Search</button> | 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> | 29 | <button class="btn btn-link" onclick="javascript:$('#search').val('');searchform.submit()">Show all packages</button> |
30 | </form> | 30 | </form> |
diff --git a/bitbake/lib/toaster/toastergui/templates/configvars.html b/bitbake/lib/toaster/toastergui/templates/configvars.html index ae77be88c1..d7052534fc 100644 --- a/bitbake/lib/toaster/toastergui/templates/configvars.html +++ b/bitbake/lib/toaster/toastergui/templates/configvars.html | |||
@@ -35,7 +35,7 @@ | |||
35 | <div class="row-fluid"> | 35 | <div class="row-fluid"> |
36 | <div class="alert"> | 36 | <div class="alert"> |
37 | <form class="no-results input-append" id="searchform"> | 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> | 38 | <input id="search" name="search" class="input-xxlarge" type="text" value="{{request.GET.search}}"/>{% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a>{% endif %} |
39 | <button class="btn" type="submit" value="Search">Search</button> | 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> | 40 | <button class="btn btn-link" onclick="javascript:$('#search').val('');searchform.submit()">Show all variables</button> |
41 | </form> | 41 | </form> |
diff --git a/bitbake/lib/toaster/toastergui/templates/recipes.html b/bitbake/lib/toaster/toastergui/templates/recipes.html index da5ac99bd5..860d30d318 100755 --- a/bitbake/lib/toaster/toastergui/templates/recipes.html +++ b/bitbake/lib/toaster/toastergui/templates/recipes.html | |||
@@ -24,7 +24,7 @@ | |||
24 | <div class="row-fluid"> | 24 | <div class="row-fluid"> |
25 | <div class="alert"> | 25 | <div class="alert"> |
26 | <form class="no-results input-append" id="searchform"> | 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> | 27 | <input id="search" name="search" class="input-xxlarge" type="text" value="{{request.GET.search}}"/>{% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a>{% endif %} |
28 | <button class="btn" type="submit" value="Search">Search</button> | 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> | 29 | <button class="btn btn-link" onclick="javascript:$('#search').val('');searchform.submit()">Show all recipes</button> |
30 | </form> | 30 | </form> |
diff --git a/bitbake/lib/toaster/toastergui/templates/tasks.html b/bitbake/lib/toaster/toastergui/templates/tasks.html index f484867958..d881811bd9 100644 --- a/bitbake/lib/toaster/toastergui/templates/tasks.html +++ b/bitbake/lib/toaster/toastergui/templates/tasks.html | |||
@@ -22,7 +22,7 @@ | |||
22 | <div class="row-fluid"> | 22 | <div class="row-fluid"> |
23 | <div class="alert"> | 23 | <div class="alert"> |
24 | <form class="no-results input-append" id="searchform"> | 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> | 25 | <input id="search" name="search" class="input-xxlarge" type="text" value="{{request.GET.search}}"/>{% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a>{% endif %} |
26 | <button class="btn" type="submit" value="Search">Search</button> | 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> | 27 | <button class="btn btn-link" onclick="javascript:$('#search').val('');searchform.submit()">Show all tasks</button> |
28 | </form> | 28 | </form> |