Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | {% extends "basebuildpage.html" %} |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 2 | {% block title %} Packages included - {{ target.target }} {{ target.build.machine }} - {{ target.build.project.name }} - Toaster {% endblock %} |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 %} |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 20 | <div class="col-md-10"> |
| 21 | <div class="page-header build-data"> |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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> |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 32 | <div id="navTab"> |
| 33 | <ul class="nav nav-tabs"> |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 34 | <li class="active"> |
| 35 | <a href="#target"> |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 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> |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 %}"> |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 42 | <span class="glyphicon glyphicon-question-sign get-help" title="The directories and files in the root file system of this image"></span> |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 43 | Directory structure |
| 44 | </a> |
| 45 | </li> |
| 46 | </ul> |
| 47 | |
| 48 | <div id="image-packages" class="tab-pane"> |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 49 | {# xhr_table_url is just the current url so leave it blank #} |
| 50 | {% with xhr_table_url='' %} |
| 51 | {% include "toastertable.html" %} |
| 52 | {% endwith %} |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 53 | </div> <!-- tabpane --> |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 54 | </div> <!--navTab --> |
| 55 | <!-- col-md-10 --> |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 56 | {% endblock buildinfomain %} |