summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2014-03-16 16:59:13 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-01 10:22:43 +0100
commit3e1560919a131db3501af07901eacc32bbdc4e8b (patch)
treebf3849d00429321b579833cd8213f62d1ff5320d /bitbake/lib/toaster/toastergui
parent694da9cd094898c9db7db939e8e6c68191d26570 (diff)
downloadpoky-3e1560919a131db3501af07901eacc32bbdc4e8b.tar.gz
bitbake: toaster: Match search results form to no results form
In the search results form, add the btn class to the clear search button and set its tabindex to -1 so that you don't accidentally clear the search when you want to search again. (Bitbake rev: 1cd01dbf3cd59bac6b62fe91ba2bafa0c62fd7f1) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/basetable_top.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basetable_top.html b/bitbake/lib/toaster/toastergui/templates/basetable_top.html
index 3fc0f319a1..f6259011e8 100644
--- a/bitbake/lib/toaster/toastergui/templates/basetable_top.html
+++ b/bitbake/lib/toaster/toastergui/templates/basetable_top.html
@@ -30,7 +30,7 @@
30<div class="navbar"> 30<div class="navbar">
31 <div class="navbar-inner"> 31 <div class="navbar-inner">
32 <form class="navbar-search input-append pull-left" id="searchform"> 32 <form class="navbar-search input-append pull-left" id="searchform">
33 <input class="input-xxlarge" id="search" name="search" type="text" placeholder="Search {%if object_search_display %}{{object_search_display}}{%else%}{{objectname}}{%endif%}" value="{{request.GET.search}}"/>{% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="add-on"><i class="icon-remove"></i></a>{%endif%} 33 <input class="input-xxlarge" id="search" name="search" type="text" placeholder="Search {%if object_search_display %}{{object_search_display}}{%else%}{{objectname}}{%endif%}" 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%}
34 <input type="hidden" name="orderby" value="{{request.GET.orderby}}"> 34 <input type="hidden" name="orderby" value="{{request.GET.orderby}}">
35 <input type="hidden" name="page" value="1"> 35 <input type="hidden" name="page" value="1">
36 <button class="btn" type="submit" value="Search">Search</button> 36 <button class="btn" type="submit" value="Search">Search</button>