blob: 1924a0dad7377d30b6c9cf9bf049168e50ab7890 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001{% extends "basebuildpage.html" %}
Patrick Williamsf1e5d692016-03-30 15:21:19 -05002{% block title %} Packages included - {{ target.target }} {{ target.build.machine }} - {{ target.build.project.name }} - Toaster {% endblock %}
Patrick Williamsc124f4f2015-09-15 14:41:29 -05003{% 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 %}
Patrick Williamsc0f7c042017-02-23 20:41:17 -060020<div class="col-md-10">
21 <div class="page-header build-data">
Patrick Williamsc124f4f2015-09-15 14:41:29 -050022 <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>
Patrick Williamsc0f7c042017-02-23 20:41:17 -060032<div id="navTab">
33 <ul class="nav nav-tabs">
Patrick Williamsc124f4f2015-09-15 14:41:29 -050034 <li class="active">
35 <a href="#target">
Patrick Williamsc0f7c042017-02-23 20:41:17 -060036 <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>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050037 Packages included ({{target.package_count}} - {{packages_sum|filtered_filesizeformat}})
38 </a>
39 </li>
40 <li>
41 <a href="{% url 'dirinfo' build.id target.id %}">
Patrick Williamsc0f7c042017-02-23 20:41:17 -060042 <span class="glyphicon glyphicon-question-sign get-help" title="The directories and files in the root file system of this image"></span>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050043 Directory structure
44 </a>
45 </li>
46 </ul>
47
48 <div id="image-packages" class="tab-pane">
Patrick Williamsc0f7c042017-02-23 20:41:17 -060049 {# xhr_table_url is just the current url so leave it blank #}
50 {% with xhr_table_url='' %}
51 {% include "toastertable.html" %}
52 {% endwith %}
Patrick Williamsc124f4f2015-09-15 14:41:29 -050053 </div> <!-- tabpane -->
Patrick Williamsc0f7c042017-02-23 20:41:17 -060054 </div> <!--navTab -->
55<!-- col-md-10 -->
Patrick Williamsc124f4f2015-09-15 14:41:29 -050056{% endblock buildinfomain %}