diff options
author | David Reyna <David.Reyna@windriver.com> | 2014-03-24 19:50:50 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-28 13:44:51 +0000 |
commit | 056fbc47c76f5ff238fb01302f0dce457dabc08d (patch) | |
tree | fba1b27c46050583b0d676bc9903a64c4c0bcda9 /bitbake/lib/toaster/toastergui/templates/configuration.html | |
parent | 405e190b314db29e1332c56376dff026a9631202 (diff) | |
download | poky-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/configuration.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/configuration.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/configuration.html b/bitbake/lib/toaster/toastergui/templates/configuration.html index 674f896b03..49a6a89d5c 100644 --- a/bitbake/lib/toaster/toastergui/templates/configuration.html +++ b/bitbake/lib/toaster/toastergui/templates/configuration.html | |||
@@ -1,9 +1,13 @@ | |||
1 | {% extends "basebuildpage.html" %} | 1 | {% extends "basebuildpage.html" %} |
2 | {% load projecttags %} | ||
3 | |||
2 | {% block localbreadcrumb %} | 4 | {% block localbreadcrumb %} |
3 | <li>Configuration</li> | 5 | <li>Configuration</li> |
4 | {% endblock %} | 6 | {% endblock %} |
5 | 7 | ||
6 | {% load projecttags %} | 8 | {% block nav-configuration %} |
9 | <li class="active"><a href="{% url 'configuration' build.pk %}">Configuration</a></li> | ||
10 | {% endblock %} | ||
7 | 11 | ||
8 | {% block buildinfomain %} | 12 | {% block buildinfomain %} |
9 | <!-- page title --> | 13 | <!-- page title --> |