diff options
| author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2013-12-05 14:20:36 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-10 11:16:14 +0000 |
| commit | 192583a91e17b15da4668dbacee035def1d68b0c (patch) | |
| tree | 2dfef54dff47dddfb3005b619ee08d1731b63c2d /bitbake/lib/toaster/bldviewer/templates/bpackage.html | |
| parent | 415ebb738da2a9625d6cc1456f4e99e463797c31 (diff) | |
| download | poky-192583a91e17b15da4668dbacee035def1d68b0c.tar.gz | |
bitbake: toaster: add pagination to the Simple UI
In an effort to make the Simple UI more usable and
reponsive, this patch adds pagination support for the
pages with lots of entries: Builds, Configuration and
Tasks.
(Bitbake rev: d4f075c050ad9ecebe750420d49961a7f30d090b)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/bldviewer/templates/bpackage.html')
| -rw-r--r-- | bitbake/lib/toaster/bldviewer/templates/bpackage.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/bldviewer/templates/bpackage.html b/bitbake/lib/toaster/bldviewer/templates/bpackage.html index 07d079298e..67fc65ca3e 100644 --- a/bitbake/lib/toaster/bldviewer/templates/bpackage.html +++ b/bitbake/lib/toaster/bldviewer/templates/bpackage.html | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | {% block pagetitle %}Packages{% endblock %} | 3 | {% block pagetitle %}Packages{% endblock %} |
| 4 | {% block pagetable %} | 4 | {% block pagetable %} |
| 5 | {% if not packages %} | 5 | {% if not objects %} |
| 6 | <p>No packages were recorded for this target!</p> | 6 | <p>No packages were recorded for this target!</p> |
| 7 | {% else %} | 7 | {% else %} |
| 8 | 8 | ||
| @@ -18,12 +18,12 @@ | |||
| 18 | <th>Dependencies List (all)</th> | 18 | <th>Dependencies List (all)</th> |
| 19 | </tr> | 19 | </tr> |
| 20 | 20 | ||
| 21 | {% for package in packages %} | 21 | {% for package in objects %} |
| 22 | 22 | ||
| 23 | <tr class="data"> | 23 | <tr class="data"> |
| 24 | <td><a name="#{{package.name}}" href="{% url "bfile" build.pk package.pk %}">{{package.name}} ({{package.filelist_bpackage.count}} files)</a></td> | 24 | <td><a name="#{{package.name}}" href="{% url "bfile" build.pk package.pk %}">{{package.name}} ({{package.filelist_bpackage.count}} files)</a></td> |
| 25 | <td>{{package.version}}-{{package.revision}}</td> | 25 | <td>{{package.version}}-{{package.revision}}</td> |
| 26 | <td><a href="{% url "layer_versions_recipes" package.recipe.layer_version_id %}#{{package.recipe.name}}">{{package.recipe.name}}</a>{{package.package_name}}</a></td> | 26 | <td>{%if package.recipe%}<a href="{% url "layer_versions_recipes" package.recipe.layer_version_id %}#{{package.recipe.name}}">{{package.recipe.name}}</a>{{package.package_name}}</a>{%endif%}</td> |
| 27 | 27 | ||
| 28 | <td>{{package.summary}}</td> | 28 | <td>{{package.summary}}</td> |
| 29 | <td>{{package.section}}</td> | 29 | <td>{{package.section}}</td> |
