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-06-22 09:23:38 +0100
commitb8d5944b8b8cdf8e968b8e6e0c55486b78afb56a (patch)
tree34f1eb56a3125d529bad52a201d062dd7c32c7dd /bitbake/lib
parent5b07a3920f2a7dcda0afecee4d139a0fb9df93c4 (diff)
downloadpoky-b8d5944b8b8cdf8e968b8e6e0c55486b78afb56a.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: 5cbf6f67994fc42dae72ece191e5c9630fc4b5af) 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