[bitbake-devel] [PATCH 06/18] toaster: Fix alignment issue in searchform

Alex DAMIAN alexandru.damian at intel.com
Mon Mar 24 18:37:16 UTC 2014


From: Belen Barros Pena <belen.barros.pena at intel.com>

The search form in basetable_top.html had a small alignment
issue between the search text field and the search button.
This change aligns the elements correctly.

Whitespace fix by Alex Damian.

Signed-off-by: Belen Barros Pena <belen.barros.pena at intel.com>
---
 lib/toaster/toastergui/templates/basetable_top.html | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/lib/toaster/toastergui/templates/basetable_top.html b/lib/toaster/toastergui/templates/basetable_top.html
index 9df3647..58b55b6 100644
--- a/lib/toaster/toastergui/templates/basetable_top.html
+++ b/lib/toaster/toastergui/templates/basetable_top.html
@@ -30,12 +30,10 @@
 <div class="navbar">
     <div class="navbar-inner">
         <form class="navbar-search input-append pull-left" id="searchform">
-	<div class="input-append" style="padding-right:1em">
             <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%}
-	</div>
-	    <input type="hidden" name="orderby" value="{{request.GET.orderby}}">
-	    <input type="hidden" name="page" value="1">
-            <input class="btn" type="submit" value="Search"/>
+            <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>
         </form>
         <div class="pull-right">
 {% if tablecols %}
-- 
1.8.3.2




More information about the bitbake-devel mailing list