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