diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2016-02-22 09:08:39 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-26 17:20:24 +0000 |
commit | 25b179d5c31ad12971aa2ff31ab72b6eae757a16 (patch) | |
tree | 6102ab5223da5d1545da1e2182fde11421264ec1 /bitbake/lib/toaster/toastergui/templates/basetable_top.html | |
parent | a97081ba5555691014312082037b8372ecd1e1e6 (diff) | |
download | poky-25b179d5c31ad12971aa2ff31ab72b6eae757a16.tar.gz |
bitbake: toaster: adjust the search field width
The search field at the top of our tables was using one of the Bootstrap
classes for text field sizing. Those classes are a bit rigid, resulting
in text fields too wide that made other table controls wrap.
Setting a maximum width to the search form using one of the span classes,
combined with a % width css declaration, make for text fields that
adapt a bit better to the horizontal space available in each table.
(Bitbake rev: 7833fab2e03f2d9a01ab9ad0a13c190382098b5e)
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/basetable_top.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/basetable_top.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basetable_top.html b/bitbake/lib/toaster/toastergui/templates/basetable_top.html index 33ede66872..0ddd749046 100644 --- a/bitbake/lib/toaster/toastergui/templates/basetable_top.html +++ b/bitbake/lib/toaster/toastergui/templates/basetable_top.html | |||
@@ -161,8 +161,8 @@ | |||
161 | <!-- control header --> | 161 | <!-- control header --> |
162 | <div class="navbar"> | 162 | <div class="navbar"> |
163 | <div class="navbar-inner"> | 163 | <div class="navbar-inner"> |
164 | <form class="navbar-search input-append pull-left" id="searchform"> | 164 | <form class="navbar-search input-append pull-left span6" id="searchform"> |
165 | <input class="input-xxlarge" id="search" name="search" type="text" placeholder="Search {%if object_search_display %}{{object_search_display}}{%else%}{{objectname}}{%endif%}" value="{%if request.GET.search %}{{request.GET.search}}{% endif %}"/>{% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a>{%endif%} | 165 | <input id="search" name="search" type="text" placeholder="Search {%if object_search_display %}{{object_search_display}}{%else%}{{objectname}}{%endif%}" value="{%if request.GET.search %}{{request.GET.search}}{% endif %}"/>{% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a>{%endif%} |
166 | <input type="hidden" name="orderby" value="{{request.GET.orderby}}"> | 166 | <input type="hidden" name="orderby" value="{{request.GET.orderby}}"> |
167 | <input type="hidden" name="page" value="1"> | 167 | <input type="hidden" name="page" value="1"> |
168 | <button class="btn" id="search-button" type="submit" value="Search">Search</button> | 168 | <button class="btn" id="search-button" type="submit" value="Search">Search</button> |