xref: /openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/templates/target.html (revision ac13d5f36a6bd845f1709b7f41c02bd3b412ad15)
1eb8dc403SDave Cobbley{% extends "basebuildpage.html" %}
2eb8dc403SDave Cobbley{% block title %} Packages included - {{ target.target }} {{ target.build.machine }} - {{ target.build.project.name }} - Toaster {% endblock %}
3eb8dc403SDave Cobbley{% block localbreadcrumb %}
4eb8dc403SDave Cobbley<li>{{target.target}}</li>
5eb8dc403SDave Cobbley{% endblock localbreadcrumb%}
6eb8dc403SDave Cobbley
7eb8dc403SDave Cobbley{% load projecttags %}
8eb8dc403SDave Cobbley
9eb8dc403SDave Cobbley{% block nav-target %}
10eb8dc403SDave Cobbley  {% for t in build.get_sorted_target_list %}
11*ac13d5f3SPatrick Williams    {% if target.pk == t.pk %}
12eb8dc403SDave Cobbley      <li class="active"><a href="{% url 'target' build.pk t.pk %}">{{t.target}}</a><li>
13eb8dc403SDave Cobbley    {% else %}
14eb8dc403SDave Cobbley      <li><a href="{% url 'target' build.pk t.pk %}">{{t.target}}</a><li>
15*ac13d5f3SPatrick Williams    {% endif %}
16eb8dc403SDave Cobbley  {% endfor %}
17eb8dc403SDave Cobbley{% endblock %}
18eb8dc403SDave Cobbley
19eb8dc403SDave Cobbley{% block buildinfomain %}
20eb8dc403SDave Cobbley<div class="col-md-10">
21eb8dc403SDave Cobbley    <div class="page-header build-data">
22eb8dc403SDave Cobbley        <h1>
23eb8dc403SDave Cobbley            {% if request.GET.search and objects.paginator.count > 0 %}
24eb8dc403SDave Cobbley                {{objects.paginator.count}} package{{objects.paginator.count|pluralize}} found
25eb8dc403SDave Cobbley            {% elif request.GET.search and objects.paginator.count == 0 %}
26eb8dc403SDave Cobbley                No packages found
27eb8dc403SDave Cobbley            {% else %}
28eb8dc403SDave Cobbley                {{target.target}}
29eb8dc403SDave Cobbley            {% endif %}
30eb8dc403SDave Cobbley        </h1>
31eb8dc403SDave Cobbley    </div>
32eb8dc403SDave Cobbley<div id="navTab">
33eb8dc403SDave Cobbley    <ul class="nav nav-tabs">
34eb8dc403SDave Cobbley        <li class="active">
35eb8dc403SDave Cobbley            <a href="#target">
36eb8dc403SDave Cobbley            <span class="glyphicon glyphicon-question-sign get-help" title="Of all the packages built, the subset installed in the root file system of this image"></span>
37eb8dc403SDave Cobbley                Packages included ({{target.package_count}} - {{packages_sum|filtered_filesizeformat}})
38eb8dc403SDave Cobbley            </a>
39eb8dc403SDave Cobbley        </li>
40eb8dc403SDave Cobbley        <li>
41eb8dc403SDave Cobbley            <a href="{% url 'dirinfo' build.id target.id %}">
42eb8dc403SDave Cobbley                <span class="glyphicon glyphicon-question-sign get-help" title="The directories and files in the root file system of this image"></span>
43eb8dc403SDave Cobbley                Directory structure
44eb8dc403SDave Cobbley            </a>
45eb8dc403SDave Cobbley        </li>
46eb8dc403SDave Cobbley    </ul>
47eb8dc403SDave Cobbley
48eb8dc403SDave Cobbley    <div id="image-packages" class="tab-pane">
49eb8dc403SDave Cobbley        {# xhr_table_url is just the current url so leave it blank #}
50eb8dc403SDave Cobbley        {% with xhr_table_url='' %}
51eb8dc403SDave Cobbley        {% include "toastertable.html" %}
52eb8dc403SDave Cobbley        {% endwith %}
53eb8dc403SDave Cobbley    </div> <!-- tabpane -->
54eb8dc403SDave Cobbley	</div> <!--navTab -->
55eb8dc403SDave Cobbley<!-- col-md-10 -->
56eb8dc403SDave Cobbley{% endblock buildinfomain %}
57