From 77eeb4200efa28af080c8343333cd651aaeb3923 Mon Sep 17 00:00:00 2001 From: David Reyna Date: Thu, 6 Feb 2014 21:06:27 -0800 Subject: bitbake: toaster: implement recipe summary page Implement the updated design for the recipe summay page, with pop-up boxes for the dependecies and layer commit ids, column filtering, and column sorting support. [YOCTO #4294] (Bitbake rev: 92b71c8e6cfcd656866fbf9bd00bf184b223c5fa) Signed-off-by: David Reyna Signed-off-by: Richard Purdie --- .../lib/toaster/toastergui/templates/recipes.html | 106 ++++++++++++++------- 1 file changed, 69 insertions(+), 37 deletions(-) (limited to 'bitbake/lib/toaster/toastergui/templates/recipes.html') diff --git a/bitbake/lib/toaster/toastergui/templates/recipes.html b/bitbake/lib/toaster/toastergui/templates/recipes.html index 2e0c2d1c6d..aa0610434f 100755 --- a/bitbake/lib/toaster/toastergui/templates/recipes.html +++ b/bitbake/lib/toaster/toastergui/templates/recipes.html @@ -1,51 +1,83 @@ {% extends "basebuildpage.html" %} +{% load projecttags %} + {% block localbreadcrumb %}
  • Recipes
  • {% endblock %} {% block buildinfomain %} -
    +
    + {% include "basetable_top.html" %} - - - Name - Version - Summary - Description - Section - License - License file - Homepage - Bugtracker - File_path - Recipe Dependency - - - {% for recipe in objects %} + {% for recipe in objects %} - - {{recipe.name}} - {{recipe.version}} - {{recipe.summary}} - {{recipe.description}} - {{recipe.section}} - {{recipe.license}} - {{recipe.licensing_info}} - {{recipe.homepage}} - {{recipe.bugtracker}} - {{recipe.file_path}} - -
    - {% for rr in recipe.r_dependencies_recipe.all %} - {{rr.depends_on.name}}
    - {% endfor %} -
    - - + + {{recipe.name}} + {{recipe.version}} + + + {% if recipe.r_dependencies_recipe.all.count %} + {{recipe.name}} depends on" + data-content="
      + {% for i in recipe.r_dependencies_recipe.all|dictsort:"depends_on.name"%} +
    • {{i.depends_on.name}}
    • + {% endfor %} +
    "> + {{recipe.r_dependencies_recipe.all.count}} + + {% endif %} + + + + {% if recipe.r_dependencies_depends.all.count %} + {{recipe.name}} is brought in by" + data-content="
      + {% for i in recipe.r_dependencies_depends.all|dictsort:"recipe.name"%} +
    • {{i.recipe.name}}
    • + {% endfor %} +
    "> + {{recipe.r_dependencies_depends.all.count}} + + {% endif %} + + + {{recipe.file_path}} + + {{recipe.section}} + + {{recipe.license}} + + {{recipe.layer_version.layer.name}} + + {{recipe.layer_version.branch}} + + + + {{recipe.layer_version.commit|truncatechars:13}} + + + + {{recipe.layer_version.layer.local_path}} + - {% endfor %} + {% endfor %} {% include "basetable_bottom.html" %}
    -- cgit v1.2.3-54-g00ecf