bitbake: toaster: <Add class id to a few columns>
PATCH 1/1 bitbake: toaster: <Add class id to a few columns>
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(-)
bitbake/lib/toaster/toastergui/templates/bpackage.html +2 -2
@@ -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 -->
bitbake/lib/toaster/toastergui/templates/recipes.html +6 -2
@@ -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 %}
Signature · 1 line
2.1.0
Taken for submission,
Thank you,
Alex
Quoted 66 lines · Mihail Stanciu
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(-)bitbake/lib/toaster/toastergui/templates/bpackage.html +0
-1@@ -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 -->bitbake/lib/toaster/toastergui/templates/recipes.html +0
-2@@ -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>
bitbake/lib/toaster/toastergui/templates/recipes.html +2
-0+ <td class="recipe__name"> + <a href="{% url "recipe" build.pk recipe.pk %}">{{recipe.name}}</a>
bitbake/lib/toaster/toastergui/templates/recipes.html +3
-0+ </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
[email protected]
https://lists.yoctoproject.org/listinfo/toaster
Signature · 3 lines
Alex Damian Yocto Project SSG / OTC