diff options
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/basetable_bottom.html | 39 | ||||
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/basetable_top.html | 9 |
2 files changed, 25 insertions, 23 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'); |
diff --git a/bitbake/lib/toaster/toastergui/templates/basetable_top.html b/bitbake/lib/toaster/toastergui/templates/basetable_top.html index 037554b627..e43eb2ce12 100644 --- a/bitbake/lib/toaster/toastergui/templates/basetable_top.html +++ b/bitbake/lib/toaster/toastergui/templates/basetable_top.html | |||
| @@ -211,10 +211,11 @@ | |||
| 211 | <span class="divider-vertical"></span> | 211 | <span class="divider-vertical"></span> |
| 212 | <span class="help-inline" style="padding-top:5px;">Show rows:</span> | 212 | <span class="help-inline" style="padding-top:5px;">Show rows:</span> |
| 213 | <select style="margin-top:5px;margin-bottom:0px;" class="pagesize"> | 213 | <select style="margin-top:5px;margin-bottom:0px;" class="pagesize"> |
| 214 | {% with "2 5 10 25 50 100" as list%} | 214 | {% with "2 5 10 25 50 100" as list%} |
| 215 | {% for i in list.split %} <option value="{{i}}">{{i}}</option> | 215 | {% for i in list.split %} |
| 216 | {% endfor %} | 216 | <option value="{{i}}">{{i}}</option> |
| 217 | {% endwith %} | 217 | {% endfor %} |
| 218 | {% endwith %} | ||
| 218 | </select> | 219 | </select> |
| 219 | </div> | 220 | </div> |
| 220 | </div> | 221 | </div> |
