mirror of
https://git.yoctoproject.org/poky
synced 2026-03-14 19:29:41 +01:00
THis is a large set of fixes for the generic table, Build and Dashboard pages. Among the fixes: * the table remembers which columns to show across refreshes, based on saving the settings in a cookie * added column timespent for a build which is a denormalization of the completed_on - started_on information due to limits in computing datetime differences in the SQL engine * fixed formatting of the time differences * various sorting header links fixed * correct error and warning CSS classes applied to the respective rows * fixes multiple divide-by-zero error in displaying duration estimations (Bitbake rev: 61e3dee55ac577fce1c0ae0fe7e0d3cf644e8ae6) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
56 lines
2.0 KiB
HTML
56 lines
2.0 KiB
HTML
{% extends "base.html" %}
|
|
{% load humanize %}
|
|
{% block pagecontent %}
|
|
|
|
|
|
<div class="">
|
|
<!-- 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|date:"d/m/y H:i"}})</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>
|
|
|
|
<div class="row-fluid">
|
|
|
|
<!-- begin left sidebar container -->
|
|
<div id="nav" class="span2">
|
|
<ul class="nav nav-list well">
|
|
<li class="nav-header">Images</li>
|
|
{% for t in build.target_set.all %}
|
|
<li><a href="{% url 'target' build.pk t.pk %}">{{t.target}}</a><li>
|
|
{% endfor %}
|
|
<li class="nav-header">Build</li>
|
|
<li><a href="{% url 'configuration' build.pk %}">Configuration</a></li>
|
|
<li><a href="{% url 'tasks' build.pk %}">Tasks</a></li>
|
|
<li><a href="{% url 'recipes' build.pk %}">Recipes</a></li>
|
|
<li><a href="{% url 'packages' build.pk %}">Packages</a></li>
|
|
<li class="nav-header">Performance</li>
|
|
<li><a href="{% url 'buildtime' build.pk %}">Time</a></li>
|
|
<li><a href="{% url 'cpuusage' build.pk %}">CPU usage</a></li>
|
|
<li><a href="{% url 'diskio' build.pk %}">Disk I/O</a></li>
|
|
</ul>
|
|
</div>
|
|
<!-- end left sidebar container -->
|
|
|
|
<!-- Begin right container -->
|
|
{% block buildinfomain %}{% endblock %}
|
|
<!-- End right container -->
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
{% endblock %}
|
|
|