summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/bpackage.html
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/bpackage.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/bpackage.html106
1 files changed, 0 insertions, 106 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/bpackage.html b/bitbake/lib/toaster/toastergui/templates/bpackage.html
deleted file mode 100644
index 575c27b3b5..0000000000
--- a/bitbake/lib/toaster/toastergui/templates/bpackage.html
+++ /dev/null
@@ -1,106 +0,0 @@
1{% extends "basebuildpage.html" %}
2
3{% load projecttags %}
4
5{% block title %} Packages built - {{build.target_set.all|dictsort:"target"|join:", "}} {{build.machine}} - {{build.project.name}} - Toaster {% endblock %}
6{% block localbreadcrumb %}
7<li>Packages</li>
8{% endblock %}
9
10{% block nav-packages %}
11 <li class="active"><a href="{% url 'packages' build.pk %}">Packages</a></li>
12{% endblock %}
13
14{% block buildinfomain %}
15<div class="col-md-10">
16
17{% if not request.GET.filter and not request.GET.search and not objects.paginator.count %}
18
19<!-- Empty - no data in database -->
20<div class="page-header">
21 <h1>
22 Packages
23 </h1>
24</div>
25<div class="alert alert-info lead">
26 <strong>No packages were built.</strong> How did this happen? Well, BitBake reuses as much stuff as possible.
27 If all of the packages needed were already built and available in your build infrastructure, BitBake
28 will not rebuild any of them. This might be slightly confusing, but it does make everything faster.
29</div>
30
31{% else %}
32
33<div class="page-header">
34 <h1>
35 {% if request.GET.search and objects.paginator.count > 0 %}
36 {{objects.paginator.count}} package{{objects.paginator.count|pluralize}} found
37 {%elif request.GET.search and objects.paginator.count == 0%}
38 No packages found
39 {%else%}
40 Packages
41 {%endif%}
42 </h1>
43</div>
44
45 {% if objects.paginator.count == 0 %}
46 <div class="alert">
47 <form class="no-results input-append" id="searchform">
48 <input id="search" name="search" class="input-xxlarge" type="text" value="{{request.GET.search}}"/>{% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="input-append-addon btn" tabindex="-1"><i class="glyphicon glyphicon-remove"></i></a>{% endif %}
49 <button class="btn" type="submit" value="Search">Search</button>
50 <button class="btn btn-link" onclick="javascript:$('#search').val('');searchform.submit()">Show all packages</button>
51 </form>
52 </div>
53
54 {% else %}
55 {% include "basetable_top.html" %}
56
57 {% for package in objects %}
58
59 <tr class="data">
60
61 <!-- Package -->
62 <td class="package_name"><a href="{% url "package_built_detail" build.pk package.pk %}">{{package.name}}</a></td>
63 <!-- Package Version -->
64 <td class="package_version">{%if package.version%}<a href="{% url "package_built_detail" build.pk package.pk %}">{{package.version}}-{{package.revision}}</a>{%endif%}</td>
65 <!-- Package Size -->
66 <td class="size sizecol">{{package.size|filtered_filesizeformat}}</td>
67 <!-- License -->
68 <td class="license">{{package.license}}</td>
69
70 {%if package.recipe%}
71 <!-- Recipe -->
72 <td class="recipe__name"><a href="{% url "recipe" build.pk package.recipe.pk %}">{{package.recipe.name}}</a></td>
73 <!-- Recipe Version -->
74 <td class="recipe__version"><a href="{% url "recipe" build.pk package.recipe.pk %}">{{package.recipe.version}}</a></td>
75
76 <!-- Layer -->
77 <td class="recipe__layer_version__layer__name">{{package.recipe.layer_version.layer.name}}</td>
78 <!-- Layer branch -->
79 <td class="recipe__layer_version__branch">{{package.recipe.layer_version.branch}}</td>
80 <!-- Layer commit -->
81 <td class="recipe__layer_version__layer__commit">
82 <a class="btn"
83 data-content="<ul class='list-unstyled'>
84 <li>{{package.recipe.layer_version.commit}}</li>
85 </ul>">
86 {{package.recipe.layer_version.commit|truncatechars:13}}
87 </a>
88 </td>
89 <!-- Layer directory -->
90 {%else%}
91 <td class="recipe__name"></td>
92 <td class="recipe__version"></td>
93 <td class="recipe__layer_version__layer__name"></td>
94 <td class="recipe__layer_version__branch"></td>
95 <td class="recipe__layer_version__layer__commit"></td>
96 <td class="recipe__layer_version__local_path"></td>
97 {%endif%}
98
99 </tr>
100 {% endfor %}
101
102 {% include "basetable_bottom.html" %}
103 {% endif %} {# objects.paginator.count #}
104{% endif %} {# Empty #}
105</div>
106{% endblock %}