summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMihail Stanciu <stanciux.mihail@intel.com>2015-05-04 07:47:10 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-12 12:14:13 +0100
commit44b7b671541e24ff9063cd71ad56b1b6dfd41651 (patch)
tree4e9bdd898f79eb2e14b237f709de2cbe93b9fa98
parent1e625fcc5f4d024d60ce9dd7ed27cb9e92f23a27 (diff)
downloadpoky-44b7b671541e24ff9063cd71ad56b1b6dfd41651.tar.gz
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] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/toaster/toastergui/templates/bpackage.html4
-rw-r--r--bitbake/lib/toaster/toastergui/templates/recipes.html8
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 80229f908d..6fbdc7b92d 100644
--- a/bitbake/lib/toaster/toastergui/templates/bpackage.html
+++ b/bitbake/lib/toaster/toastergui/templates/bpackage.html
@@ -60,9 +60,9 @@
60 <tr class="data"> 60 <tr class="data">
61 61
62 <!-- Package --> 62 <!-- Package -->
63 <td><a href="{% url "package_built_detail" build.pk package.pk %}">{{package.name}}</a></td> 63 <td class="package_name"><a href="{% url "package_built_detail" build.pk package.pk %}">{{package.name}}</a></td>
64 <!-- Package Version --> 64 <!-- Package Version -->
65 <td>{%if package.version%}<a href="{% url "package_built_detail" build.pk package.pk %}">{{package.version}}-{{package.revision}}</a>{%endif%}</td> 65 <td class="package_version">{%if package.version%}<a href="{% url "package_built_detail" build.pk package.pk %}">{{package.version}}-{{package.revision}}</a>{%endif%}</td>
66 <!-- Package Size --> 66 <!-- Package Size -->
67 <td class="size sizecol">{{package.size|filtered_filesizeformat}}</td> 67 <td class="size sizecol">{{package.size|filtered_filesizeformat}}</td>
68 <!-- License --> 68 <!-- License -->
diff --git a/bitbake/lib/toaster/toastergui/templates/recipes.html b/bitbake/lib/toaster/toastergui/templates/recipes.html
index 458d724568..dc2d9e8c3a 100644
--- a/bitbake/lib/toaster/toastergui/templates/recipes.html
+++ b/bitbake/lib/toaster/toastergui/templates/recipes.html
@@ -41,8 +41,12 @@
41 {% for recipe in objects %} 41 {% for recipe in objects %}
42 42
43 <tr class="data"> 43 <tr class="data">
44 <td><a href="{% url "recipe" build.pk recipe.pk %}">{{recipe.name}}</a></td> 44 <td class="recipe__name">
45 <td><a href="{% url "recipe" build.pk recipe.pk %}">{{recipe.version}}</a></td> 45 <a href="{% url "recipe" build.pk recipe.pk %}">{{recipe.name}}</a>
46 </td>
47 <td class="recipe__version">
48 <a href="{% url "recipe" build.pk recipe.pk %}">{{recipe.version}}</a>
49 </td>
46 <!-- Depends --> 50 <!-- Depends -->
47 <td class="depends_on"> 51 <td class="depends_on">
48 {% with deps=recipe_deps|get_dict_value:recipe.pk %} 52 {% with deps=recipe_deps|get_dict_value:recipe.pk %}