diff options
author | David Reyna <David.Reyna@windriver.com> | 2014-01-16 17:41:57 -0800 |
---|---|---|
committer | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-01-27 15:19:49 +0000 |
commit | 2d7e9a6f8464783e165804974a7d94b544c9a43f (patch) | |
tree | 4cc42ba4acca75bb69d55c47926ab4fc97f9bd4a /lib | |
parent | 1e9253984e6f107c6eed1c3b9df3a444076e2989 (diff) | |
download | bitbake-2d7e9a6f8464783e165804974a7d94b544c9a43f.tar.gz |
toaster: Implementation of base build details page
This page is the standard base page for 'details' views. It is
based on 'basebuildpage.html' but does not include the build's
quick-link sidebar.
Signed-off-by: David Reyna <david.reyna@windriver.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/toaster/toastergui/templates/basebuilddetailpage.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/toaster/toastergui/templates/basebuilddetailpage.html b/lib/toaster/toastergui/templates/basebuilddetailpage.html new file mode 100755 index 000000000..2be80a59f --- /dev/null +++ b/lib/toaster/toastergui/templates/basebuilddetailpage.html @@ -0,0 +1,28 @@ +{% extends "base.html" %} +{% load humanize %} +{% block pagecontent %} + +<div class="row-fluid"> +<!-- Breadcrumbs --> + <div class="section"> + <ul class="breadcrumb" id="breadcrumb"> + <li><a href="{% url 'all-builds' %}">All builds</a></li> + <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.machine}} ({{build.completed_on|naturaltime}})</a></li> + {% block localbreadcrumb %}{% endblock %} + </ul> + <script> + $( function () { + $('#breadcrumb > li').append("<span class=\"divider\">→</span>"); + $('#breadcrumb > li:last').addClass("active"); + $('#breadcrumb > li:last > span').remove(); + }); + </script> + </div> <!--section--> + + <!-- Begin container --> + {% block pagedetailinfomain %}{% endblock %} + <!-- End container --> + +</div> + +{% endblock %} |