diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-02-24 17:20:52 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-24 23:35:43 +0000 |
commit | 4742ae94a91028f7128b862fdb6ec80123749859 (patch) | |
tree | 36806ada60bf85c818cd92727937f57ea2cd234b /bitbake/lib/toaster/toastergui/templates/layerdetails.html | |
parent | 00e3545029a6e08900591e4c1001c17fbd0c4566 (diff) | |
download | poky-4742ae94a91028f7128b862fdb6ec80123749859.tar.gz |
bitbake: toaster: layerdetails Fix pagination controls
Bring the pagination controls into line with others in toaster by
limiting the number of page buttons to 5
[YOCTO #7195]
(Bitbake rev: 0b35eed7ca758476f20d6875291ee31fad35b7d3)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/layerdetails.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/layerdetails.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/layerdetails.html b/bitbake/lib/toaster/toastergui/templates/layerdetails.html index 49c62c6bc0..1f48c653a9 100644 --- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html +++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html | |||
@@ -287,7 +287,7 @@ | |||
287 | {%else%} | 287 | {%else%} |
288 | <li class="disabled"><a href="#">«</a></li> | 288 | <li class="disabled"><a href="#">«</a></li> |
289 | {%endif%} | 289 | {%endif%} |
290 | {% for i in targets.paginator.page_range %} | 290 | {% for i in targets.page_range %} |
291 | <li {%if i == targets.number %} class="active" {%endif%}><a href="?tpage={{i}}#targets">{{i}}</a></li> | 291 | <li {%if i == targets.number %} class="active" {%endif%}><a href="?tpage={{i}}#targets">{{i}}</a></li> |
292 | {% endfor %} | 292 | {% endfor %} |
293 | {%if targets.has_next%} | 293 | {%if targets.has_next%} |
@@ -418,7 +418,7 @@ | |||
418 | {%else%} | 418 | {%else%} |
419 | <li class="disabled"><a href="#">«</a></li> | 419 | <li class="disabled"><a href="#">«</a></li> |
420 | {%endif%} | 420 | {%endif%} |
421 | {% for i in machines.paginator.page_range %} | 421 | {% for i in machines.page_range %} |
422 | <li {%if i == machines.number %} class="active" {%endif%}><a href="?mpage={{i}}#machines">{{i}}</a></li> | 422 | <li {%if i == machines.number %} class="active" {%endif%}><a href="?mpage={{i}}#machines">{{i}}</a></li> |
423 | {% endfor %} | 423 | {% endfor %} |
424 | {%if machines.has_next%} | 424 | {%if machines.has_next%} |