mirror of
https://git.yoctoproject.org/poky
synced 2026-06-06 03:52:39 +02:00
This patch adds the build dashboard page implementation,
which is the landing page for the Toaster GUI.
Also adds correct links from the main build page
to the various parts of the dashboard.
[YOCTO #4258]
(Bitbake rev: bf7fbf5c0ee39564d813f82e194242f9d4f73c47)
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|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>
|
|
|
|
<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 %}
|
|
|