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/recipe_packages.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/recipe_packages.html')
-rw-r--r-- | poky/bitbake/lib/toaster/toastergui/templates/recipe_packages.html | 135 |
1 files changed, 135 insertions, 0 deletions
diff --git a/poky/bitbake/lib/toaster/toastergui/templates/recipe_packages.html b/poky/bitbake/lib/toaster/toastergui/templates/recipe_packages.html new file mode 100644 index 000000000..37a586f38 --- /dev/null +++ b/poky/bitbake/lib/toaster/toastergui/templates/recipe_packages.html @@ -0,0 +1,135 @@ +{% extends "basebuilddetailpage.html" %} + +{% load projecttags %} +{% load humanize %} +{% block localbreadcrumb %} +<li><a href="{% url 'recipes' build.pk %}">Recipes</a></li> +<li>{{recipe.name}}_{{recipe.version}} </li> +{% endblock %} + +{% block pagedetailinfomain %} + +<!-- Begin container --> + +<div class="row"> + <div class="col-md-12"> + <div class="page-header build-data"> + <h1>{{recipe.name}}_{{recipe.version}}</h1> + </div> + </div> +</div> + +<div class="row"> + <div class="col-md-8 tabbable"> + <ul class="nav nav-tabs"> + <li> + <a href="{% url "recipe" build.pk recipe.id "1" %}"> + <span class="glyphicon glyphicon-question-sign get-help" title="Build-related + information about the recipe"></span> + Recipe details + </a> + </li> + <li class="active"> + <a href="#packages-built" data-toggle="tab"> + <span class="glyphicon glyphicon-question-sign get-help" title="The packaged + output resulting from building the recipe"></span> + Packages ({{object_count}}) + </a> + </li> + <li> + <a href="{% url "recipe" build.pk recipe.id "3" %}"> + <span class="glyphicon glyphicon-question-sign get-help" title="The recipe + build-time dependencies (i.e. other recipes)"></span> + Build dependencies ({{recipe.r_dependencies_recipe.all.count}}) + </a> + </li> + <li> + <a href="{% url "recipe" build.pk recipe.id "4" %}"> + <span class="glyphicon glyphicon-question-sign get-help" title="The recipe + build-time reverse dependencies (i.e. the recipes that + depend on this recipe)"></span> + Reverse build dependencies ({{recipe.r_dependencies_depends.all.count}}) + </a> + </li> + </ul> + <div class="tab-content"> +{# <div class="tab-pane active" id="packages-built" name="packages-built">#} + <div class="tab-pane active" id="packages-built"> + {% if not objects and not request.GET.search %} + <div class="alert alert-info"> + <strong>{{recipe.name}}_{{recipe.version}}</strong> does not build any packages. + </div> + + {% elif not objects %} + {# have empty search results, no table nor pagination #} + {% with "packages" as search_what %} + {% include "detail_search_header.html" %} + {% endwith %} + + {% else %} + + + {% with "packages" as search_what %} + {% include "detail_search_header.html" %} + {% endwith %} + <table class="table table-bordered table-hover tablesorter" id="otable"> + {% include "detail_sorted_header.html" %} + + <tbody> + {% for package in objects %} + + <tr> + <td><a href="{% url "package_built_detail" build.pk package.pk %}">{{package.name}}</a></td> + <td>{{package.version}}_{{package.revision}}</td> + <td class="sizecol">{{package.size|filtered_filesizeformat}}</td> + </tr> + + {% endfor %} + + {% endif %} + {% if objects %} + </tbody> + </table> + {% include "detail_pagination_bottom.html" %} + {% endif %} + </div> {# tab-pane #} + </div> {# tab-content #} +</div> {# col-md-8 #} + +<div class="col-md-4"> + <div class="well"> + <h2>About {{recipe.name}}</h2> + <dl class="item-info"> + {% if recipe.summary %} + <dt>Summary</dt> + <dd>{{recipe.summary}}</dd> + {% endif %} + {% if recipe.description %} + <dt>Description</dt> + <dd>{{recipe.description}}</dd> + {% endif %} + {% if recipe.homepage %} + <dt>Homepage</dt> + <dd><a href="{{recipe.homepage}}">{{recipe.homepage}}</a></dd> + {% endif %} + {% if recipe.bugtracker %} + <dt>Bugtracker</dt> + <dd><a href="{{recipe.bugtracker}}">{{recipe.bugtracker}}</a></dd> + {% endif %} + {% if recipe.section %} + <dt> + Section + <i class="icon-question-sign get-help" title="The section in which recipes should be categorized"></i> + </dt> + <dd>{{recipe.section}}</dd> + {% endif %} + {% if recipe.license %} + <dt>License</dt> + <dd>{{recipe.license}}</dd> + {% endif %} + </dl> + </div> +</div> + +</div> <!-- end row --> +{% endblock pagedetailinfomain %} |