summaryrefslogtreecommitdiffstats
path: root/bitbake
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
parent694da9cd094898c9db7db939e8e6c68191d26570 (diff)
downloadast2050-yocto-poky-3e1560919a131db3501af07901eacc32bbdc4e8b.zip
ast2050-yocto-poky-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')
-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 3fc0f31..f625901 100644
--- a/bitbake/lib/toaster/toastergui/templates/basetable_top.html
+++ b/bitbake/lib/toaster/toastergui/templates/basetable_top.html
@@ -30,7 +30,7 @@
<div class="navbar">
<div class="navbar-inner">
<form class="navbar-search input-append pull-left" id="searchform">
- <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%}
+ <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%}
<input type="hidden" name="orderby" value="{{request.GET.orderby}}">
<input type="hidden" name="page" value="1">
<button class="btn" type="submit" value="Search">Search</button>
OpenPOWER on IntegriCloud