summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2014-02-20 11:36:13 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-17 13:59:37 +0000
commit287310354039da342b7c893df9c81bd4f524db2c (patch)
treecf44d22e9801c456910a5c5089b9db19f0ebf01a /bitbake/lib
parentd7fde8bb3cf1f7e45c16f053d723db349020fc73 (diff)
downloadpoky-287310354039da342b7c893df9c81bd4f524db2c.tar.gz
bitbake: toaster: Small tweaks to the no results page
Correctly align the Search button to the text input field, add .btn class to the clear search button, replace the placeholder attribute with the value attribute so that you can edit your search query, remove the clear search button from the tab index so that you don't clear the search by mistake and edit the margins of the .no-results class. (Bitbake rev: 4ada4307623c1e27b589831d359dc6351e6e3ad5) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Conflicts: bitbake/lib/toaster/toastergui/templates/build.html Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/toaster/toastergui/static/css/default.css2
-rw-r--r--bitbake/lib/toaster/toastergui/templates/build.html12
2 files changed, 6 insertions, 8 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css
index 76d6cb9b8b..2b47aff6f9 100644
--- a/bitbake/lib/toaster/toastergui/static/css/default.css
+++ b/bitbake/lib/toaster/toastergui/static/css/default.css
@@ -102,7 +102,7 @@ select { width: auto; }
102.progress { margin-bottom: 0px; } 102.progress { margin-bottom: 0px; }
103.lead .badge { font-size: 18px; font-weight: normal; border-radius: 15px; padding: 9px; } 103.lead .badge { font-size: 18px; font-weight: normal; border-radius: 15px; padding: 9px; }
104.well > .lead, .alert .lead { margin-bottom: 0px; } 104.well > .lead, .alert .lead { margin-bottom: 0px; }
105.no-results { margin: 10px 0 0; } 105.no-results { margin: 10px 0; }
106.task-name { margin-left: 7px; } 106.task-name { margin-left: 7px; }
107 107
108 108
diff --git a/bitbake/lib/toaster/toastergui/templates/build.html b/bitbake/lib/toaster/toastergui/templates/build.html
index 85de98aae7..f0ef4d42ab 100644
--- a/bitbake/lib/toaster/toastergui/templates/build.html
+++ b/bitbake/lib/toaster/toastergui/templates/build.html
@@ -68,13 +68,11 @@
68 {% if objects.paginator.count == 0 %} 68 {% if objects.paginator.count == 0 %}
69 <div class="row-fluid"> 69 <div class="row-fluid">
70 <div class="alert"> 70 <div class="alert">
71 <form class="no-results" id="searchform"> 71 <form class="no-results input-append" id="searchform">
72 <div class="input-append"> 72 <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 %}
73 <input id="search" name="search" class="input-xxlarge" type="text" placeholder="{{request.GET.search}}" />{% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="add-on"><i class="icon-remove"></i></a>{% endif %} 73 <button class="btn" type="submit" value="Search">Search</button>
74 <input class="btn" type="submit" value="Search"/> 74 <button class="btn btn-link" onclick="javascript:reload_params({'search':'', 'filter':''})">Show all builds</button>
75 <button class="btn btn-link" onclick="javascript:reload_params({'search':'', 'filter':''})">Show all builds</button> 75 </form>
76 </div>
77 </form>
78 </div> 76 </div>
79 </div> 77 </div>
80 78