diff options
Diffstat (limited to 'import-layers/yocto-poky/bitbake/lib/toaster/toastergui/templates/package_detail_base.html')
-rw-r--r-- | import-layers/yocto-poky/bitbake/lib/toaster/toastergui/templates/package_detail_base.html | 62 |
1 files changed, 41 insertions, 21 deletions
diff --git a/import-layers/yocto-poky/bitbake/lib/toaster/toastergui/templates/package_detail_base.html b/import-layers/yocto-poky/bitbake/lib/toaster/toastergui/templates/package_detail_base.html index 9fa28a8f8..66f8e7f06 100644 --- a/import-layers/yocto-poky/bitbake/lib/toaster/toastergui/templates/package_detail_base.html +++ b/import-layers/yocto-poky/bitbake/lib/toaster/toastergui/templates/package_detail_base.html @@ -14,8 +14,8 @@ function fmtAliasHelp(package_name, alias, hover) { var r = null; if (alias != null && alias != '') { - r = '<span class="muted"> as ' + alias + ' '; - r += '<i class="icon-question-sign get-help'; + r = '<span class="text-muted"> as ' + alias + ' '; + r += '<span class="glyphicon glyphicon-question-sign get-help'; if (hover) { r+= ' hover-help'; } @@ -23,9 +23,9 @@ r+= ' heading-help'; } r += '"'; - title = package_name + ' was renamed at packaging time and was installed on your system as ' + alias; + title = '<code>' + package_name + '</code> was renamed at packaging time and was installed on your system as <code>' + alias + '</code>'; r += ' title="' + title + '">'; - r += '</i>'; + r += '</span>'; r += '</span>'; document.write(r); } @@ -43,28 +43,32 @@ {% endblock localbreadcrumb %} {% block pagedetailinfomain %} - <div class="row span11"> - <div class="page-header"> + <div class="row"> + <div class="col-md-12"> + <div class="page-header build-data"> {% block mainheading %} <h1>{{package.fullpackagespec}}</h1> {% endblock %} </div> <!-- page-header --> - </div> <!-- row span11 page-header --> + </div> <!-- col-md-12 page-header --> + </div> <!-- end row --> {% block twocolumns %} - <div class="row span7 tabbable"> + <div class="row"> + <div class="col-md-8 tabbable"> {% block tabcontent %} {% endblock tabcontent %} - </div> <!-- row span7 --> + </div> <!-- row col-md-8 --> - <div class="row span4 well"> + <div class="col-md-4"> + <div class="well"> <h2>Package information</h2> <!-- info presented as definition list --> <dl class="item-info"> <dt> Size - <i class="icon-question-sign get-help" title="The size of the package"></i> + <span class="glyphicon glyphicon-question-sign get-help" title="The size of the package"></span> </dt> <dd> {% comment %} @@ -81,7 +85,7 @@ <dt> License - <i class="icon-question-sign get-help" title="The license under which this package is distributed"></i> + <span class="glyphicon glyphicon-question-sign get-help" title="The license under which this package is distributed"></span> </dt> <dd>{{package.license}}</dd> @@ -97,7 +101,7 @@ <dt> Recipe - <i class="icon-question-sign get-help" title="The name of the recipe building this package"></i> + <span class="glyphicon glyphicon-question-sign get-help" title="The name of the recipe building this package"></span> </dt> <dd> {% if package.recipe_id > 0 %} @@ -109,13 +113,13 @@ <dt> Recipe version - <i class="icon-question-sign get-help" title="The version of the recipe building this package"></i> + <span class="glyphicon glyphicon-question-sign get-help" title="The version of the recipe building this package"></span> </dt> <dd>{{package.recipe.version}}</dd> <dt> Layer - <i class="icon-question-sign get-help" title="The name of the layer providing the recipe that builds this package"></i> + <span class="glyphicon glyphicon-question-sign get-help" title="The name of the layer providing the recipe that builds this package"></span> </dt> <dd> {{package.recipe.layer_version.layer.name}} @@ -124,26 +128,42 @@ # Removed per team meeting of 1/29/2014 until # decision on index search algorithm <a href="http://layers.openembedded.org" target="_blank"> - <i class="icon-share get-info"></i> + <i class="glyphicon glyphicon-share get-info"></i> </a> {% endcomment %} {% endif %} </dd> - {% if package.recipe.layer_version.branch %} <dt> Layer branch - <i class="icon-question-sign get-help" title="The Git branch of the layer providing the recipe that builds this package"></i> + <span class="glyphicon glyphicon-question-sign get-help" title="The Git branch of the layer providing the recipe that builds this package"></span> + {%if package.recipe.layer_version.layer.local_source_dir %} + <dd> + <span class="text-muted">Not applicable</span> + <span class="glyphicon glyphicon-question-sign get-help" title="The source code of {{package.recipe.layer_version.layer.name}} is not in a Git repository, so there is no branch associated with it"></span> + </dd> + {% endif %} </dt> + {% if not package.recipe.layer_version.layer.local_source_dir %} <dd>{{package.recipe.layer_version.branch}}</dd> - {% endif %} + {% endif %} <dt> Layer commit - <i class="icon-question-sign get-help" title="The Git commit of the layer providing the recipe that builds this package"></i> + <span class="glyphicon glyphicon-question-sign get-help" title="The Git commit of the layer providing the recipe that builds this package"></span> + {%if package.recipe.layer_version.layer.local_source_dir %} + <dd> + <span class="text-muted">Not applicable</span> + <span class="glyphicon glyphicon-question-sign get-help" title="The source code of {{package.recipe.layer_version.layer.name}} is not in a Git repository, so there is no commit associated with it"></span> + </dd> + {% endif %} </dt> + {% if not package.recipe.layer_version.layer.local_source_dir %} <dd class="iscommit">{{package.recipe.layer_version.commit}}</dd> + {% endif %} </dl> - </div> <!-- row4 well --> + <div> <!-- end well --> + </div> <!-- end 4-column section --> {% endblock twocolumns %} + </div> <!-- end row --> {% endblock pagedetailinfomain %} |