diff options
| author | David Reyna <David.Reyna@windriver.com> | 2014-01-16 17:41:57 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-27 21:01:06 +0000 |
| commit | b45defd88821bb712d5f5d56835600732b05025c (patch) | |
| tree | 7d04efdb766808334005b763f25f6fff028b1c97 | |
| parent | 05a684f6e590a703ad45eb0c74c65e2ff773781e (diff) | |
| download | poky-b45defd88821bb712d5f5d56835600732b05025c.tar.gz | |
bitbake: 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.
(Bitbake rev: 2d7e9a6f8464783e165804974a7d94b544c9a43f)
Signed-off-by: David Reyna <david.reyna@windriver.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rwxr-xr-x | bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html b/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html new file mode 100755 index 0000000000..2be80a59f1 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | {% extends "base.html" %} | ||
| 2 | {% load humanize %} | ||
| 3 | {% block pagecontent %} | ||
| 4 | |||
| 5 | <div class="row-fluid"> | ||
| 6 | <!-- Breadcrumbs --> | ||
| 7 | <div class="section"> | ||
| 8 | <ul class="breadcrumb" id="breadcrumb"> | ||
| 9 | <li><a href="{% url 'all-builds' %}">All 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.machine}} ({{build.completed_on|naturaltime}})</a></li> | ||
| 11 | {% block localbreadcrumb %}{% endblock %} | ||
| 12 | </ul> | ||
| 13 | <script> | ||
| 14 | $( function () { | ||
| 15 | $('#breadcrumb > li').append("<span class=\"divider\">→</span>"); | ||
| 16 | $('#breadcrumb > li:last').addClass("active"); | ||
| 17 | $('#breadcrumb > li:last > span').remove(); | ||
| 18 | }); | ||
| 19 | </script> | ||
| 20 | </div> <!--section--> | ||
| 21 | |||
| 22 | <!-- Begin container --> | ||
| 23 | {% block pagedetailinfomain %}{% endblock %} | ||
| 24 | <!-- End container --> | ||
| 25 | |||
| 26 | </div> | ||
| 27 | |||
| 28 | {% endblock %} | ||
