aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2017-06-14 21:45:15 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-27 22:32:14 +0100
commit0bd1fcdbfa6b9bf4642f1a2b1d46767c7c15a5d1 (patch)
tree071ca2bf4fbb94821e6edbf87e12f9b72fbb42ea
parent4734001672cb35789be5a8d5c8b91ca57821bdba (diff)
downloadbitbake-0bd1fcdbfa6b9bf4642f1a2b1d46767c7c15a5d1.tar.gz
bitbake-0bd1fcdbfa6b9bf4642f1a2b1d46767c7c15a5d1.tar.bz2
bitbake-0bd1fcdbfa6b9bf4642f1a2b1d46767c7c15a5d1.zip
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] Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/toaster/toastergui/templates/basebuildpage.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/toaster/toastergui/templates/basebuildpage.html b/lib/toaster/toastergui/templates/basebuildpage.html
index f5eee965..a41911f5 100644
--- a/lib/toaster/toastergui/templates/basebuildpage.html
+++ b/lib/toaster/toastergui/templates/basebuildpage.html
@@ -132,16 +132,16 @@
{% endif %}
<li class="nav-header">Build</li>
<li id="menu-configuration"><a href="{% url 'configuration' build.pk %}">Configuration</a></li>
- <li><a href="{% url 'tasks' build.pk %}">Tasks</a></li>
- <li><a href="{% url 'recipes' build.pk %}">Recipes</a></li>
- <li><a href="{% url 'packages' build.pk %}">Packages</a></li>
+ <li id="menu-tasks"><a href="{% url 'tasks' build.pk %}">Tasks</a></li>
+ <li id="menu-recipes"><a href="{% url 'recipes' build.pk %}">Recipes</a></li>
+ <li id="menu-packages"><a href="{% url 'packages' build.pk %}">Packages</a></li>
<li class="nav-header">Performance</li>
- <li><a href="{% url 'buildtime' build.pk %}">Time</a></li>
- <li><a href="{% url 'cputime' build.pk %}">CPU usage</a></li>
- <li><a href="{% url 'diskio' build.pk %}">Disk I/O</a></li>
+ <li id="menu-time"><a href="{% url 'buildtime' build.pk %}">Time</a></li>
+ <li id="menu-cpu-time"><a href="{% url 'cputime' build.pk %}">CPU usage</a></li>
+ <li id="menu-disk-io"><a href="{% url 'diskio' build.pk %}">Disk I/O</a></li>
<li class="nav-header">Actions</li>
- <li>
+ <li id="menu-download-build-log">
<a href="{% url 'build_artifact' build.id 'cookerlog' build.id %}">
<span class="glyphicon glyphicon-download-alt"></span>
Download build log
@@ -151,7 +151,7 @@
{% with build.get_custom_image_recipes as custom_image_recipes %}
{% if custom_image_recipes.count > 0 %}
<!-- edit custom image built during this build -->
- <li>
+ <li id="menu-edit-custom-image">
<a href="#" data-role="edit-custom-image-trigger">
<span class="glyphicon glyphicon-edit"></span>
Edit custom image
@@ -186,7 +186,7 @@
<!-- new custom image from image recipe in this build -->
{% if build.has_image_recipes %}
- <li>
+ <li id="menu-new-custom-image">
<a href="#" data-role="new-custom-image-trigger">
<span class="glyphicon glyphicon-plus"></span>
New custom image
@@ -216,7 +216,7 @@
</script>
{% endif %}
- <li>
+ <li id="menu-delete-build">
<a href="#delete-build-modal" id="delete-build" data-toggle="modal" data-target="#delete-build-modal" class="text-danger">
<span class="glyphicon glyphicon-trash"></span>
Delete build