[Toaster] [review-request][PATCH] bitbake: toaster: <Add class id to a few columns>
Damian, Alexandru
alexandru.damian at intel.com
Thu May 7 03:31:58 PDT 2015
Taken for submission,
Thank you,
Alex
On Mon, May 4, 2015 at 12:47 PM, Mihail Stanciu <stanciux.mihail at intel.com>
wrote:
> Added class ids to columns that were missing them in the Packages and
> Recipes pages. This is required for Toaster UI automation efforts.
>
> [YOCTO #7377]
> ---
> bitbake/lib/toaster/toastergui/templates/bpackage.html | 4 ++--
> bitbake/lib/toaster/toastergui/templates/recipes.html | 8 ++++++--
> 2 files changed, 8 insertions(+), 4 deletions(-)
>
> diff --git a/bitbake/lib/toaster/toastergui/templates/bpackage.html
> b/bitbake/lib/toaster/toastergui/templates/bpackage.html
> index 80229f9..6fbdc7b 100644
> --- a/bitbake/lib/toaster/toastergui/templates/bpackage.html
> +++ b/bitbake/lib/toaster/toastergui/templates/bpackage.html
> @@ -60,9 +60,9 @@
> <tr class="data">
>
> <!-- Package -->
> - <td><a href="{% url "package_built_detail" build.pk package.pk
> %}">{{package.name}}</a></td>
> + <td class="package_name"><a href="{% url "package_built_detail"
> build.pk package.pk %}">{{package.name}}</a></td>
> <!-- Package Version -->
> - <td>{%if package.version%}<a href="{% url "package_built_detail"
> build.pk package.pk
> %}">{{package.version}}-{{package.revision}}</a>{%endif%}</td>
> + <td class="package_version">{%if package.version%}<a href="{% url
> "package_built_detail" build.pk package.pk
> %}">{{package.version}}-{{package.revision}}</a>{%endif%}</td>
> <!-- Package Size -->
> <td class="size
> sizecol">{{package.size|filtered_filesizeformat}}</td>
> <!-- License -->
> diff --git a/bitbake/lib/toaster/toastergui/templates/recipes.html
> b/bitbake/lib/toaster/toastergui/templates/recipes.html
> index 889e676..a083a29 100644
> --- a/bitbake/lib/toaster/toastergui/templates/recipes.html
> +++ b/bitbake/lib/toaster/toastergui/templates/recipes.html
> @@ -41,8 +41,12 @@
> {% for recipe in objects %}
>
> <tr class="data">
> - <td><a href="{% url "recipe" build.pk recipe.pk %}">{{recipe.name
> }}</a></td>
> - <td><a href="{% url "recipe" build.pk recipe.pk
> %}">{{recipe.version}}</a></td>
> + <td class="recipe__name">
> + <a href="{% url "recipe" build.pk recipe.pk %}">{{recipe.name
> }}</a>
> + </td>
> + <td class="recipe__version">
> + <a href="{% url "recipe" build.pk recipe.pk
> %}">{{recipe.version}}</a>
> + </td>
> <!-- Depends -->
> <td class="depends_on">
> {% with deps=recipe_deps|get_dict_value:recipe.pk %}
> --
> 2.1.0
>
> --
> _______________________________________________
> toaster mailing list
> toaster at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster
>
--
Alex Damian
Yocto Project
SSG / OTC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20150507/4e1a28a3/attachment.html>
More information about the toaster
mailing list