diff options
author | David Reyna <David.Reyna@windriver.com> | 2017-06-14 21:45:15 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-22 09:23:38 +0100 |
commit | 761325fd632f4462f0f28080dd7f777deda3223c (patch) | |
tree | a1dad95f00522d9418b99e830642280e185075fb | |
parent | b8d5944b8b8cdf8e968b8e6e0c55486b78afb56a (diff) | |
download | poky-761325fd632f4462f0f28080dd7f777deda3223c.tar.gz |
bitbake: toaster: add ID's to build menu links
Add IDs to the build page menu lines, for example "Tasks", "Recipes",
"Time", "CPU Time", "Disk I/O", and so forth. This will support test
automation.
[YOCTO #11337]
(Bitbake rev: 49d11490fad683a96f71de21f55035398ad8247a)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/basebuildpage.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html index f5eee96516..a41911f52a 100644 --- a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html +++ b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html | |||
@@ -132,16 +132,16 @@ | |||
132 | {% endif %} | 132 | {% endif %} |
133 | <li class="nav-header">Build</li> | 133 | <li class="nav-header">Build</li> |
134 | <li id="menu-configuration"><a href="{% url 'configuration' build.pk %}">Configuration</a></li> | 134 | <li id="menu-configuration"><a href="{% url 'configuration' build.pk %}">Configuration</a></li> |
135 | <li><a href="{% url 'tasks' build.pk %}">Tasks</a></li> | 135 | <li id="menu-tasks"><a href="{% url 'tasks' build.pk %}">Tasks</a></li> |
136 | <li><a href="{% url 'recipes' build.pk %}">Recipes</a></li> | 136 | <li id="menu-recipes"><a href="{% url 'recipes' build.pk %}">Recipes</a></li> |
137 | <li><a href="{% url 'packages' build.pk %}">Packages</a></li> | 137 | <li id="menu-packages"><a href="{% url 'packages' build.pk %}">Packages</a></li> |
138 | <li class="nav-header">Performance</li> | 138 | <li class="nav-header">Performance</li> |
139 | <li><a href="{% url 'buildtime' build.pk %}">Time</a></li> | 139 | <li id="menu-time"><a href="{% url 'buildtime' build.pk %}">Time</a></li> |
140 | <li><a href="{% url 'cputime' build.pk %}">CPU usage</a></li> | 140 | <li id="menu-cpu-time"><a href="{% url 'cputime' build.pk %}">CPU usage</a></li> |
141 | <li><a href="{% url 'diskio' build.pk %}">Disk I/O</a></li> | 141 | <li id="menu-disk-io"><a href="{% url 'diskio' build.pk %}">Disk I/O</a></li> |
142 | 142 | ||
143 | <li class="nav-header">Actions</li> | 143 | <li class="nav-header">Actions</li> |
144 | <li> | 144 | <li id="menu-download-build-log"> |
145 | <a href="{% url 'build_artifact' build.id 'cookerlog' build.id %}"> | 145 | <a href="{% url 'build_artifact' build.id 'cookerlog' build.id %}"> |
146 | <span class="glyphicon glyphicon-download-alt"></span> | 146 | <span class="glyphicon glyphicon-download-alt"></span> |
147 | Download build log | 147 | Download build log |
@@ -151,7 +151,7 @@ | |||
151 | {% with build.get_custom_image_recipes as custom_image_recipes %} | 151 | {% with build.get_custom_image_recipes as custom_image_recipes %} |
152 | {% if custom_image_recipes.count > 0 %} | 152 | {% if custom_image_recipes.count > 0 %} |
153 | <!-- edit custom image built during this build --> | 153 | <!-- edit custom image built during this build --> |
154 | <li> | 154 | <li id="menu-edit-custom-image"> |
155 | <a href="#" data-role="edit-custom-image-trigger"> | 155 | <a href="#" data-role="edit-custom-image-trigger"> |
156 | <span class="glyphicon glyphicon-edit"></span> | 156 | <span class="glyphicon glyphicon-edit"></span> |
157 | Edit custom image | 157 | Edit custom image |
@@ -186,7 +186,7 @@ | |||
186 | 186 | ||
187 | <!-- new custom image from image recipe in this build --> | 187 | <!-- new custom image from image recipe in this build --> |
188 | {% if build.has_image_recipes %} | 188 | {% if build.has_image_recipes %} |
189 | <li> | 189 | <li id="menu-new-custom-image"> |
190 | <a href="#" data-role="new-custom-image-trigger"> | 190 | <a href="#" data-role="new-custom-image-trigger"> |
191 | <span class="glyphicon glyphicon-plus"></span> | 191 | <span class="glyphicon glyphicon-plus"></span> |
192 | New custom image | 192 | New custom image |
@@ -216,7 +216,7 @@ | |||
216 | </script> | 216 | </script> |
217 | {% endif %} | 217 | {% endif %} |
218 | 218 | ||
219 | <li> | 219 | <li id="menu-delete-build"> |
220 | <a href="#delete-build-modal" id="delete-build" data-toggle="modal" data-target="#delete-build-modal" class="text-danger"> | 220 | <a href="#delete-build-modal" id="delete-build" data-toggle="modal" data-target="#delete-build-modal" class="text-danger"> |
221 | <span class="glyphicon glyphicon-trash"></span> | 221 | <span class="glyphicon glyphicon-trash"></span> |
222 | Delete build | 222 | Delete build |