summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/basebuildpage.html
blob: 46110519e98fc2c6fed9e2d17ac2eca4331d9898 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{% extends "base.html" %}
{% load projecttags %}
{% 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>
            {% block parentbreadcrumb %}
            <a href="{%url 'builddashboard' build.pk%}">
                {{build.get_sorted_target_list.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>
            {% endblock %}
            </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">
              {% if build.target_set.all.0.is_image and build.outcome == 0 %}
                <li class="nav-header">Images</li>
                {% block nav-target %}
                  {% for t in build.get_sorted_target_list %}
                    <li><a href="{% url 'target' build.pk t.pk %}">{{t.target}}</a><li>
                  {% endfor %}
                {% endblock %}
              {% endif %}
              <li class="nav-header">Build</li>
              {% block nav-configuration %}
                  <li><a href="{% url 'configuration' build.pk %}">Configuration</a></li>
              {% endblock %}
              {% block nav-tasks %}
                  <li><a href="{% url 'tasks' build.pk %}">Tasks</a></li>
              {% endblock %}
              {% block nav-recipes %}
                  <li><a href="{% url 'recipes' build.pk %}">Recipes</a></li>
              {% endblock %}
              {% block nav-packages %}
                  <li><a href="{% url 'packages' build.pk %}">Packages</a></li>
              {% endblock %}
                  <li class="nav-header">Performance</li>
              {% block nav-buildtime %}
                  <li><a href="{% url 'buildtime' build.pk %}">Time</a></li>
              {% endblock %}
              {% block nav-cpuusage %}
                  <li><a href="{% url 'cpuusage' build.pk %}">CPU usage</a></li>
              {% endblock %}
              {% block nav-diskio %}
                  <li><a href="{% url 'diskio' build.pk %}">Disk I/O</a></li>
              {% endblock %}
            </ul>
        </div>
        <!-- end left sidebar container -->

        <!-- Begin right container -->
        {% block buildinfomain %}{% endblock %}
        <!-- End right container -->


    </div>
  </div>


{% endblock %}