diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2016-08-17 14:31:25 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-08-22 16:43:26 +0000 |
commit | 60f9d69e016b11c468c98ea75ba0a60c44afbbc4 (patch) | |
tree | ecb49581a9e41a37943c22cd9ef3f63451b20ee7 /import-layers/yocto-poky/bitbake/lib/toaster/toastergui/templates/package_detail_base.html | |
parent | e18c61205e0234b03697129c20cc69c9b3940efc (diff) | |
download | blackbird-openbmc-60f9d69e016b11c468c98ea75ba0a60c44afbbc4.tar.gz blackbird-openbmc-60f9d69e016b11c468c98ea75ba0a60c44afbbc4.zip |
yocto-poky: Move to import-layers subdir
We are going to import additional layers, so create a subdir to
hold all of the layers that we import with git-subtree.
Change-Id: I6f732153a22be8ca663035c518837e3cc5ec0799
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
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 | 149 |
1 files changed, 149 insertions, 0 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 new file mode 100644 index 000000000..9fa28a8f8 --- /dev/null +++ b/import-layers/yocto-poky/bitbake/lib/toaster/toastergui/templates/package_detail_base.html @@ -0,0 +1,149 @@ +{% 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="muted"> as ' + alias + ' '; + r += '<i class="icon-question-sign get-help'; + if (hover) { + r+= ' hover-help'; + } + else { + r+= ' heading-help'; + } + r += '"'; + title = package_name + ' was renamed at packaging time and was installed on your system as ' + alias; + r += ' title="' + title + '">'; + r += '</i>'; + 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 span11"> + <div class="page-header"> + {% block mainheading %} + <h1>{{package.fullpackagespec}}</h1> + {% endblock %} + </div> <!-- page-header --> + </div> <!-- row span11 page-header --> + + {% block twocolumns %} + <div class="row span7 tabbable"> + {% block tabcontent %} + {% endblock tabcontent %} + </div> <!-- row span7 --> + + <div class="row span4 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> + </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 + <i class="icon-question-sign get-help" title="The license under which this package is distributed"></i> + </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 + <i class="icon-question-sign get-help" title="The name of the recipe building this package"></i> + </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 + <i class="icon-question-sign get-help" title="The version of the recipe building this package"></i> + </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> + </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="icon-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> + </dt> + <dd>{{package.recipe.layer_version.branch}}</dd> + {% 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> + </dt> + + <dd class="iscommit">{{package.recipe.layer_version.commit}}</dd> + + </dl> + </div> <!-- row4 well --> + {% endblock twocolumns %} +{% endblock pagedetailinfomain %} |