diff options
author | Dave Cobbley <david.j.cobbley@linux.intel.com> | 2018-08-14 20:05:37 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-08-23 04:26:31 +0300 |
commit | eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 (patch) | |
tree | de291a73dc37168da6370e2cf16c347d1eba9df8 /poky/bitbake/lib/toaster/toastergui/templates/package_detail_base.html | |
parent | 9c3cf826d853102535ead04cebc2d6023eff3032 (diff) | |
download | openbmc-eb8dc40360f0cfef56fb6947cc817a547d6d9bc6.tar.xz |
[Subtree] Removing import-layers directory
As part of the move to subtrees, need to bring all the import layers
content to the top level.
Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f
Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'poky/bitbake/lib/toaster/toastergui/templates/package_detail_base.html')
-rw-r--r-- | poky/bitbake/lib/toaster/toastergui/templates/package_detail_base.html | 169 |
1 files changed, 169 insertions, 0 deletions
diff --git a/poky/bitbake/lib/toaster/toastergui/templates/package_detail_base.html b/poky/bitbake/lib/toaster/toastergui/templates/package_detail_base.html new file mode 100644 index 0000000000..66f8e7f069 --- /dev/null +++ b/poky/bitbake/lib/toaster/toastergui/templates/package_detail_base.html @@ -0,0 +1,169 @@ +{% extends "basebuilddetailpage.html" %} +{% load projecttags %} + +{% block title %} + {% if target %} + {{package.fullpackagespec}} - {{ target.target }} {{ build.machine }} - {{ build.project.name }} - Toaster + {% else %} + {{package.fullpackagespec}} - {{ build.target_set.all|dictsort:"target"|join:", " }} {{ build.machine }} - {{ build.project.name }} - Toaster + {% endif %} +{% endblock %} +{% block extraheadcontent %} + <!-- functions to format package 'installed_package' alias --> + <script> + function fmtAliasHelp(package_name, alias, hover) { + var r = null; + if (alias != null && alias != '') { + r = '<span class="text-muted"> as ' + alias + ' '; + r += '<span class="glyphicon glyphicon-question-sign get-help'; + if (hover) { + r+= ' hover-help'; + } + else { + r+= ' heading-help'; + } + r += '"'; + title = '<code>' + package_name + '</code> was renamed at packaging time and was installed on your system as <code>' + alias + '</code>'; + r += ' title="' + title + '">'; + r += '</span>'; + r += '</span>'; + document.write(r); + } + } + </script> +{% endblock extraheadcontent %} +{% block localbreadcrumb %} + {% if target %} + <li><a href="{% url "target" build.id target.id %}">{{target.target}}</a></li> + <li>{{package.fullpackagespec}} {% if package.alias %} as {{package.alias}}{% endif %}</li> + {% else %} + <li><a href="{% url "packages" build.id %}"> Packages </a></li> + <li>{{package.fullpackagespec}}</li> + {% endif %} +{% endblock localbreadcrumb %} + +{% block pagedetailinfomain %} + <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> <!-- col-md-12 page-header --> + </div> <!-- end row --> + + {% block twocolumns %} + <div class="row"> + <div class="col-md-8 tabbable"> + {% block tabcontent %} + {% endblock tabcontent %} + </div> <!-- row col-md-8 --> + + <div class="col-md-4"> + <div class="well"> + <h2>Package information</h2> + + <!-- info presented as definition list --> + <dl class="item-info"> + <dt> + Size + <span class="glyphicon glyphicon-question-sign get-help" title="The size of the package"></span> + </dt> + <dd> + {% comment %} + if recipe is absent, filesize is not 0 + {% endcomment %} + {% if package.recipe_id > 0 %} + {{package.size|filtered_filesizeformat}} + {% if target.file_size %} + ({{package.size|multiply:100|divide:target.file_size}}% of included package size) + {% endif %} + + {% endif %} + </dd> + + <dt> + License + <span class="glyphicon glyphicon-question-sign get-help" title="The license under which this package is distributed"></span> + </dt> + <dd>{{package.license}}</dd> + + {% comment %} + # Removed per review on 1/18/2014 until license data population + # problemse are resolved. + <dt> + License files + <i class="icon-question-sign get-help" title="Path to the license files that apply to the package"></i> + </dt> + <dd></dd> + {% endcomment %} + + <dt> + Recipe + <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 %} + <a href="{% url "recipe" build.id package.recipe_id %}"> {{package.recipe.name}} </a> + {% else %} + {{package.recipe.name}} + {% endif %} + </dd> + + <dt> + Recipe version + <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 + <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}} + {% if package.recipe.layer_version.layer.name|format_none_and_zero != "" %} + {% comment %} + # Removed per team meeting of 1/29/2014 until + # decision on index search algorithm + <a href="http://layers.openembedded.org" target="_blank"> + <i class="glyphicon glyphicon-share get-info"></i> + </a> + {% endcomment %} + {% endif %} + </dd> + <dt> + Layer branch + <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 %} + <dt> + Layer commit + <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> <!-- end well --> + </div> <!-- end 4-column section --> + {% endblock twocolumns %} + </div> <!-- end row --> +{% endblock pagedetailinfomain %} |