[gnome-continuous-yocto/gnomeostree-3.28-rocko: 6420/8267] bitbake: toaster: add ID's to navigation links
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 6420/8267] bitbake: toaster: add ID's to navigation links
- Date: Sun, 17 Dec 2017 04:49:11 +0000 (UTC)
commit b8d5944b8b8cdf8e968b8e6e0c55486b78afb56a
Author: David Reyna <David Reyna windriver com>
Date: Wed Jun 14 21:40:56 2017 -0700
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>
bitbake/lib/toaster/toastergui/templates/base.html | 8 +++++---
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 496dd6e..11c6f91 100644
--- a/bitbake/lib/toaster/toastergui/templates/base.html
+++ b/bitbake/lib/toaster/toastergui/templates/base.html
@@ -100,7 +100,8 @@
<div class="collapse navbar-collapse" id="global-nav">
<ul class="nav navbar-nav">
{% if request.resolver_match.url_name != 'landing' and request.resolver_match.url_name !=
'newproject' %}
- <li {% if request.resolver_match.url_name == 'all-builds' %}
+ <li id="navbar-all-builds"
+ {% if request.resolver_match.url_name == 'all-builds' %}
class="active"
{% endif %}>
<a href="{% url 'all-builds' %}">
@@ -108,7 +109,8 @@
All builds
</a>
</li>
- <li {% if request.resolver_match.url_name == 'all-projects' %}
+ <li id="navbar-all-projects"
+ {% if request.resolver_match.url_name == 'all-projects' %}
class="active"
{% endif %}>
<a href="{% url 'all-projects' %}">
@@ -117,7 +119,7 @@
</a>
</li>
{% endif %}
- <li>
+ <li id="navbar-docs">
<a target="_blank"
href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html">
<i class="glyphicon glyphicon-book"></i>
Documentation
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]