diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2015-09-04 11:05:19 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-09 14:27:57 +0100 |
commit | 446070074edbb47ca6a7d231ca45940bddb6a591 (patch) | |
tree | 16a0d7585acd25c88603f2a893bcb4a3aa64807d /bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html | |
parent | 6271fcb5896464d0c71172b02de548195191abf8 (diff) | |
download | poky-446070074edbb47ca6a7d231ca45940bddb6a591.tar.gz |
bitbake: toaster: Changes to navigation
This patch:
* Changes the breadcrumb to provide access to either
the project builds or the project configuration, as
appropriate
* Changes the left navigation in the project configuration
to reflect the hierarchical relationship between the
basic configuration and all other configuration pages
* Changes the left navigation in the build history to bring
it in line with the changes in the project configuration
This way the breadcrumb explicitly exposes the hierarchy
of the application, which is its correct behaviour, making it
easier to move around within Toaster.
(Bitbake rev: 135dff67216759286f584e501583584a9cb09f27)
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html b/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html index 8657845cd2..22ca50c0c3 100644 --- a/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html +++ b/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html | |||
@@ -6,7 +6,8 @@ | |||
6 | <!-- Breadcrumbs --> | 6 | <!-- Breadcrumbs --> |
7 | <div class="section"> | 7 | <div class="section"> |
8 | <ul class="breadcrumb" id="breadcrumb"> | 8 | <ul class="breadcrumb" id="breadcrumb"> |
9 | <li><a href="{% url 'project' build.project.id %}">{{build.project.name}}</a></li> | 9 | <li class="muted">{{build.project.name}}:</li> |
10 | <li><a href="{% url 'projectbuilds' build.project.id %}">Builds</a></li> | ||
10 | <li><a href="{%url 'builddashboard' build.pk%}">{{build.target_set.all.0.target}} {%if build.target_set.all.count > 1%}(+ {{build.target_set.all.count|add:"-1"}}){%endif%} ({{build.completed_on|date:"d/m/y H:i"}})</a></li> | 11 | <li><a href="{%url 'builddashboard' build.pk%}">{{build.target_set.all.0.target}} {%if build.target_set.all.count > 1%}(+ {{build.target_set.all.count|add:"-1"}}){%endif%} ({{build.completed_on|date:"d/m/y H:i"}})</a></li> |
11 | {% block localbreadcrumb %}{% endblock %} | 12 | {% block localbreadcrumb %}{% endblock %} |
12 | </ul> | 13 | </ul> |
@@ -14,7 +15,7 @@ | |||
14 | $( function () { | 15 | $( function () { |
15 | $('#breadcrumb > li').append('<span class="divider">→</span>'); | 16 | $('#breadcrumb > li').append('<span class="divider">→</span>'); |
16 | $('#breadcrumb > li:last').addClass("active"); | 17 | $('#breadcrumb > li:last').addClass("active"); |
17 | $('#breadcrumb > li:last > span').remove(); | 18 | $('#breadcrumb > li:last > span, #breadcrumb > li:first > span').remove(); |
18 | }); | 19 | }); |
19 | </script> | 20 | </script> |
20 | </div> <!--section--> | 21 | </div> <!--section--> |