diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/detail_pagination_bottom.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/detail_pagination_bottom.html | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/detail_pagination_bottom.html b/bitbake/lib/toaster/toastergui/templates/detail_pagination_bottom.html index 211548b1ef..15adfbc914 100644 --- a/bitbake/lib/toaster/toastergui/templates/detail_pagination_bottom.html +++ b/bitbake/lib/toaster/toastergui/templates/detail_pagination_bottom.html | |||
@@ -6,7 +6,7 @@ | |||
6 | 6 | ||
7 | {# only paginate if 10 or more rows unfiltered, all pages #} | 7 | {# only paginate if 10 or more rows unfiltered, all pages #} |
8 | {% if object_count >= 10 %} | 8 | {% if object_count >= 10 %} |
9 | <div> | 9 | <div id="pagination-detail"> |
10 | <ul class="pagination"> | 10 | <ul class="pagination"> |
11 | {%if objects.has_previous %} | 11 | {%if objects.has_previous %} |
12 | <li><a href="javascript:reload_params({'page':{{objects.previous_page_number}}})">«</a></li> | 12 | <li><a href="javascript:reload_params({'page':{{objects.previous_page_number}}})">«</a></li> |
@@ -23,16 +23,18 @@ | |||
23 | {%endif%} | 23 | {%endif%} |
24 | </ul> | 24 | </ul> |
25 | 25 | ||
26 | <div class="pull-right"> | 26 | <form class="navbar-form navbar-right"> |
27 | <span class="help-inline">Show rows:</span> | 27 | <div class=form-group"> |
28 | <select class="pagesize"> | 28 | <label>Show rows:</label> |
29 | {% with "10 25 50 100 150" as list%} | 29 | <select class="pagesize form-control"> |
30 | {% with "10 25 50 100 150" as list%} | ||
30 | {% for i in list.split %} | 31 | {% for i in list.split %} |
31 | <option value="{{i}}">{{i}}</option> | 32 | <option value="{{i}}">{{i}}</option> |
32 | {% endfor %} | 33 | {% endfor %} |
33 | {% endwith %} | 34 | {% endwith %} |
34 | </select> | 35 | </select> |
35 | </div> | 36 | </div> |
37 | </form> | ||
36 | </div> | 38 | </div> |
37 | 39 | ||
38 | <!-- Update page display settings --> | 40 | <!-- Update page display settings --> |