summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2017-06-14 21:40:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-27 22:36:45 +0100
commit1a8d9119893f3568e1a244e074e7b3f5a8c25b6b (patch)
tree69a529ce3840e86a3345d3a980d55e79e0044815 /bitbake/lib
parenta19c27b8074332205fa4749ecb0887f2353a4bcb (diff)
downloadpoky-1a8d9119893f3568e1a244e074e7b3f5a8c25b6b.tar.gz
bitbake: toaster: add ID's to navigation links
Add IDs to the navigation bar links "All builds", "All projects", and "Documentation. This will support test automation. [YOCTO #11335] (Bitbake rev: 4734001672cb35789be5a8d5c8b91ca57821bdba) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/base.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html
index 496dd6eab8..11c6f91260 100644
--- a/bitbake/lib/toaster/toastergui/templates/base.html
+++ b/bitbake/lib/toaster/toastergui/templates/base.html
@@ -100,7 +100,8 @@
100 <div class="collapse navbar-collapse" id="global-nav"> 100 <div class="collapse navbar-collapse" id="global-nav">
101 <ul class="nav navbar-nav"> 101 <ul class="nav navbar-nav">
102 {% if request.resolver_match.url_name != 'landing' and request.resolver_match.url_name != 'newproject' %} 102 {% if request.resolver_match.url_name != 'landing' and request.resolver_match.url_name != 'newproject' %}
103 <li {% if request.resolver_match.url_name == 'all-builds' %} 103 <li id="navbar-all-builds"
104 {% if request.resolver_match.url_name == 'all-builds' %}
104 class="active" 105 class="active"
105 {% endif %}> 106 {% endif %}>
106 <a href="{% url 'all-builds' %}"> 107 <a href="{% url 'all-builds' %}">
@@ -108,7 +109,8 @@
108 All builds 109 All builds
109 </a> 110 </a>
110 </li> 111 </li>
111 <li {% if request.resolver_match.url_name == 'all-projects' %} 112 <li id="navbar-all-projects"
113 {% if request.resolver_match.url_name == 'all-projects' %}
112 class="active" 114 class="active"
113 {% endif %}> 115 {% endif %}>
114 <a href="{% url 'all-projects' %}"> 116 <a href="{% url 'all-projects' %}">
@@ -117,7 +119,7 @@
117 </a> 119 </a>
118 </li> 120 </li>
119 {% endif %} 121 {% endif %}
120 <li> 122 <li id="navbar-docs">
121 <a target="_blank" href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html"> 123 <a target="_blank" href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html">
122 <i class="glyphicon glyphicon-book"></i> 124 <i class="glyphicon glyphicon-book"></i>
123 Documentation 125 Documentation