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>
This commit is contained in:
parent
05a684f6e5
commit
b45defd888
|
@ -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 %}
|
Loading…
Reference in New Issue