summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/target.html
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2014-03-24 19:50:50 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-28 13:44:51 +0000
commit056fbc47c76f5ff238fb01302f0dce457dabc08d (patch)
treefba1b27c46050583b0d676bc9903a64c4c0bcda9 /bitbake/lib/toaster/toastergui/templates/target.html
parent405e190b314db29e1332c56376dff026a9631202 (diff)
downloadpoky-056fbc47c76f5ff238fb01302f0dce457dabc08d.tar.gz
bitbake: toaster: blocks for custom/highlighted navigation and breadcrumb links
Implement the navigation links as blocks so that each page can override and have its respective link appear highlighted. Make the build breadcrumb a block so that it is customizable to not be a link for the dashboard page. Reorder the page headers to be consistent order for extends, projecttags, localbreadcrumb, nav-links. [YOCTO #5916] [YOCTO #4258] (Bitbake rev: cb26c4df04170143babd6c9fd60600bfb31486ed) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/target.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/target.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/target.html b/bitbake/lib/toaster/toastergui/templates/target.html
index 5396b17dc9..ceffada081 100644
--- a/bitbake/lib/toaster/toastergui/templates/target.html
+++ b/bitbake/lib/toaster/toastergui/templates/target.html
@@ -5,6 +5,16 @@
5 5
6{% load projecttags %} 6{% load projecttags %}
7 7
8{% block nav-target %}
9 {% for t in build.get_sorted_target_list %}
10 {% ifequal target.pk t.pk %}
11 <li class="active"><a href="{% url 'target' build.pk t.pk %}">{{t.target}}</a><li>
12 {% else %}
13 <li><a href="{% url 'target' build.pk t.pk %}">{{t.target}}</a><li>
14 {% endifequal %}
15 {% endfor %}
16{% endblock %}
17
8{% block buildinfomain %} 18{% block buildinfomain %}
9 19
10<div class="row-fluid span10"> 20<div class="row-fluid span10">