diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/basetable_bottom.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/basetable_bottom.html | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html b/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html index cbdc164273..e6b9506281 100644 --- a/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html +++ b/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html | |||
@@ -23,13 +23,14 @@ | |||
23 | {%endif%} | 23 | {%endif%} |
24 | </ul> | 24 | </ul> |
25 | <div class="pull-right"> | 25 | <div class="pull-right"> |
26 | <span class="help-inline" style="padding-top:5px;">Show rows:</span> | 26 | <span class="help-inline" style="padding-top:5px;">Show rows:</span> |
27 | <select style="margin-top:5px;margin-bottom:0px;" class="pagesize"> | 27 | <select style="margin-top:5px;margin-bottom:0px;" class="pagesize"> |
28 | {% with "2 5 10 25 50 100" as list%} | 28 | {% with "2 5 10 25 50 100" as list%} |
29 | {% for i in list.split %}<option value="{{i}}">{{i}}</option> | 29 | {% for i in list.split %} |
30 | {% endfor %} | 30 | <option value="{{i}}">{{i}}</option> |
31 | {% endwith %} | 31 | {% endfor %} |
32 | </select> | 32 | {% endwith %} |
33 | </select> | ||
33 | </div> | 34 | </div> |
34 | </div> | 35 | </div> |
35 | 36 | ||
@@ -40,21 +41,21 @@ | |||
40 | 41 | ||
41 | // we load cookies for the column display | 42 | // we load cookies for the column display |
42 | save = $.cookie('_displaycols_{{objectname}}'); | 43 | save = $.cookie('_displaycols_{{objectname}}'); |
43 | if (save != undefined) { | 44 | if (save != undefined) { |
44 | setting = save.split(';'); | 45 | setting = save.split(';'); |
45 | for ( i = 0; i < setting.length; i++) { | 46 | for ( i = 0; i < setting.length; i++) { |
46 | if (setting[i].length > 0) { | 47 | if (setting[i].length > 0) { |
47 | splitlist = setting[i].split(':'); | 48 | splitlist = setting[i].split(':'); |
48 | id = splitlist[0], v = splitlist[1]; | 49 | id = splitlist[0], v = splitlist[1]; |
49 | if (v == 'true') { | 50 | if (v == 'true') { |
50 | $('.chbxtoggle#'+id).prop('checked', true); | 51 | $('.chbxtoggle#'+id).prop('checked', true); |
51 | } | 52 | } |
52 | else { | 53 | else { |
53 | $('.chbxtoggle#'+id).prop('checked', false); | 54 | $('.chbxtoggle#'+id).prop('checked', false); |
55 | } | ||
54 | } | 56 | } |
55 | } | 57 | } |
56 | } | 58 | } |
57 | } | ||
58 | 59 | ||
59 | // load cookie for number of entries to be displayed on page | 60 | // load cookie for number of entries to be displayed on page |
60 | pagesize = $.cookie('count'); | 61 | pagesize = $.cookie('count'); |