diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/dirinfo.html')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/dirinfo.html | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/dirinfo.html b/bitbake/lib/toaster/toastergui/templates/dirinfo.html index df06a94359..458e933685 100644 --- a/bitbake/lib/toaster/toastergui/templates/dirinfo.html +++ b/bitbake/lib/toaster/toastergui/templates/dirinfo.html | |||
| @@ -59,9 +59,6 @@ | |||
| 59 | function formatRow(o) { | 59 | function formatRow(o) { |
| 60 | /* setup tr-wide formatting */ | 60 | /* setup tr-wide formatting */ |
| 61 | var tr = '<tr class="'; | 61 | var tr = '<tr class="'; |
| 62 | if (o.link_to != null) { | ||
| 63 | tr += 'muted '; | ||
| 64 | } | ||
| 65 | if (o.isdir && o.childcount) { | 62 | if (o.isdir && o.childcount) { |
| 66 | tr += 'branch" data-tt-branch="true" '; | 63 | tr += 'branch" data-tt-branch="true" '; |
| 67 | } | 64 | } |
| @@ -75,7 +72,7 @@ | |||
| 75 | tr += '>'; | 72 | tr += '>'; |
| 76 | 73 | ||
| 77 | /* setup td specific formatting */ | 74 | /* setup td specific formatting */ |
| 78 | var link_to = td(o.link_to); | 75 | var link_to = '<td class="text-muted">' + o.link_to + '</td>'; |
| 79 | var size = '<td class = "sizecol">' + o.size + '</td>' | 76 | var size = '<td class = "sizecol">' + o.size + '</td>' |
| 80 | var permission = td(o.permission); | 77 | var permission = td(o.permission); |
| 81 | var owner = td(o.owner); | 78 | var owner = td(o.owner); |
| @@ -96,7 +93,7 @@ | |||
| 96 | if (o.childcount) { | 93 | if (o.childcount) { |
| 97 | name += '<a href="">'; | 94 | name += '<a href="">'; |
| 98 | } | 95 | } |
| 99 | name += '<i class="icon-folder-close"></i>'; | 96 | name += '<span class="glyphicon glyphicon-folder-close"></span>'; |
| 100 | name += ' ' + o.name; | 97 | name += ' ' + o.name; |
| 101 | if (o.childcount) { | 98 | if (o.childcount) { |
| 102 | name += '</a>'; | 99 | name += '</a>'; |
| @@ -110,10 +107,10 @@ | |||
| 110 | namespan = 3; | 107 | namespan = 3; |
| 111 | } | 108 | } |
| 112 | var colspan = 'colspan="' + namespan + '"'; | 109 | var colspan = 'colspan="' + namespan + '"'; |
| 113 | name = '<td ' + colspan + '><i class="glyphicon glyphicon-file"></i>'; | 110 | name = '<td ' + colspan + '><span class="glyphicon glyphicon-file"></span>'; |
| 114 | } | 111 | } |
| 115 | else { | 112 | else { |
| 116 | name = '<td><i class="icon-hand-right"></i>'; | 113 | name = '<td class="text-muted"><span class="glyphicon glyphicon-hand-right"></span>'; |
| 117 | } | 114 | } |
| 118 | name += ' ' + o.name; | 115 | name += ' ' + o.name; |
| 119 | name += '</td>'; | 116 | name += '</td>'; |
| @@ -134,10 +131,10 @@ | |||
| 134 | package += '</a>'; | 131 | package += '</a>'; |
| 135 | if (o.installed_package != o.package) { | 132 | if (o.installed_package != o.package) { |
| 136 | /* make class muted and add hover help */ | 133 | /* make class muted and add hover help */ |
| 137 | package += '<span class="muted"> as ' + o.installed_package + ' </span>'; | 134 | package += '<span class="text-muted"> as ' + o.installed_package + ' </span>'; |
| 138 | package += '<i class="icon-question-sign get-help hover-help" '; | 135 | package += '<span class="glyphicon glyphicon-question-sign get-help hover-help" '; |
| 139 | package += 'title="' + o.package + ' was renamed at packaging time and was installed in your image as ' + o.installed_package + '">'; | 136 | package += 'title="' + o.package + ' was renamed at packaging time and was installed in your image as ' + o.installed_package + '">'; |
| 140 | package += '</i>'; | 137 | package += '</span>'; |
| 141 | } | 138 | } |
| 142 | } | 139 | } |
| 143 | package = td(package); | 140 | package = td(package); |
| @@ -186,20 +183,20 @@ | |||
| 186 | 183 | ||
| 187 | <div class="col-md-10"> | 184 | <div class="col-md-10"> |
| 188 | 185 | ||
| 189 | <div class="page-header"> | 186 | <div class="page-header build-data"> |
| 190 | <h1> {{target.target}} </h1> | 187 | <h1> {{target.target}} </h1> |
| 191 | </div> | 188 | </div> |
| 192 | 189 | ||
| 193 | <ul class="nav nav-pills"> | 190 | <ul class="nav nav-tabs"> |
| 194 | <li class=""> | 191 | <li> |
| 195 | <a href="{% url 'target' build.id target.id %}"> | 192 | <a href="{% url 'target' build.id target.id %}"> |
| 196 | <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> | 193 | <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> |
| 197 | Packages included ({{target.package_count}} - {{packages_sum|filtered_filesizeformat}}) | 194 | Packages included ({{target.package_count}} - {{packages_sum|filtered_filesizeformat}}) |
| 198 | </a> | 195 | </a> |
| 199 | </li> | 196 | </li> |
| 200 | <li class="active"> | 197 | <li class="active"> |
| 201 | <a href="{% url 'dirinfo' build.id target.id %}"> | 198 | <a href="{% url 'dirinfo' build.id target.id %}"> |
| 202 | <i class="icon-question-sign get-help" title="The directories and files in the root file system of this image"></i> | 199 | <span class="glyphicon glyphicon-question-sign get-help" title="The directories and files in the root file system of this image"></span> |
| 203 | Directory structure | 200 | Directory structure |
| 204 | </a> | 201 | </a> |
| 205 | </li> | 202 | </li> |
