mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
bitbake: toaster: port all build analysis pages to bootstrap 3
Port all the pages in the build analysis area to bootstrap version 3. (Bitbake rev: f963b73f0bf32db2df39dd79d8d85184c280cda0) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
46271833be
commit
a7d498dfd3
@@ -59,9 +59,6 @@
|
||||
function formatRow(o) {
|
||||
/* setup tr-wide formatting */
|
||||
var tr = '<tr class="';
|
||||
if (o.link_to != null) {
|
||||
tr += 'muted ';
|
||||
}
|
||||
if (o.isdir && o.childcount) {
|
||||
tr += 'branch" data-tt-branch="true" ';
|
||||
}
|
||||
@@ -75,7 +72,7 @@
|
||||
tr += '>';
|
||||
|
||||
/* setup td specific formatting */
|
||||
var link_to = td(o.link_to);
|
||||
var link_to = '<td class="text-muted">' + o.link_to + '</td>';
|
||||
var size = '<td class = "sizecol">' + o.size + '</td>'
|
||||
var permission = td(o.permission);
|
||||
var owner = td(o.owner);
|
||||
@@ -96,7 +93,7 @@
|
||||
if (o.childcount) {
|
||||
name += '<a href="">';
|
||||
}
|
||||
name += '<i class="icon-folder-close"></i>';
|
||||
name += '<span class="glyphicon glyphicon-folder-close"></span>';
|
||||
name += ' ' + o.name;
|
||||
if (o.childcount) {
|
||||
name += '</a>';
|
||||
@@ -110,10 +107,10 @@
|
||||
namespan = 3;
|
||||
}
|
||||
var colspan = 'colspan="' + namespan + '"';
|
||||
name = '<td ' + colspan + '><i class="glyphicon glyphicon-file"></i>';
|
||||
name = '<td ' + colspan + '><span class="glyphicon glyphicon-file"></span>';
|
||||
}
|
||||
else {
|
||||
name = '<td><i class="icon-hand-right"></i>';
|
||||
name = '<td class="text-muted"><span class="glyphicon glyphicon-hand-right"></span>';
|
||||
}
|
||||
name += ' ' + o.name;
|
||||
name += '</td>';
|
||||
@@ -134,10 +131,10 @@
|
||||
package += '</a>';
|
||||
if (o.installed_package != o.package) {
|
||||
/* make class muted and add hover help */
|
||||
package += '<span class="muted"> as ' + o.installed_package + ' </span>';
|
||||
package += '<i class="icon-question-sign get-help hover-help" ';
|
||||
package += '<span class="text-muted"> as ' + o.installed_package + ' </span>';
|
||||
package += '<span class="glyphicon glyphicon-question-sign get-help hover-help" ';
|
||||
package += 'title="' + o.package + ' was renamed at packaging time and was installed in your image as ' + o.installed_package + '">';
|
||||
package += '</i>';
|
||||
package += '</span>';
|
||||
}
|
||||
}
|
||||
package = td(package);
|
||||
@@ -186,20 +183,20 @@
|
||||
|
||||
<div class="col-md-10">
|
||||
|
||||
<div class="page-header">
|
||||
<div class="page-header build-data">
|
||||
<h1> {{target.target}} </h1>
|
||||
</div>
|
||||
|
||||
<ul class="nav nav-pills">
|
||||
<li class="">
|
||||
<ul class="nav nav-tabs">
|
||||
<li>
|
||||
<a href="{% url 'target' build.id target.id %}">
|
||||
<i class="icon-question-sign get-help" title="Of all the packages built, the subset installed in the root file system of this image"></i>
|
||||
<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>
|
||||
Packages included ({{target.package_count}} - {{packages_sum|filtered_filesizeformat}})
|
||||
</a>
|
||||
</li>
|
||||
<li class="active">
|
||||
<a href="{% url 'dirinfo' build.id target.id %}">
|
||||
<i class="icon-question-sign get-help" title="The directories and files in the root file system of this image"></i>
|
||||
<span class="glyphicon glyphicon-question-sign get-help" title="The directories and files in the root file system of this image"></span>
|
||||
Directory structure
|
||||
</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user