diff options
author | David Reyna <David.Reyna@windriver.com> | 2014-01-17 16:58:08 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-27 21:01:06 +0000 |
commit | 84b239086dbd53c59d51f4e0779767a72af02d2b (patch) | |
tree | 62ff436a8710f4d3d80913bcb0c02dab7a514859 /bitbake/lib/toaster/toastergui/templates/recipes.html | |
parent | b45defd88821bb712d5f5d56835600732b05025c (diff) | |
download | poky-84b239086dbd53c59d51f4e0779767a72af02d2b.tar.gz |
bitbake: toaster: Implementation of recipe detail views
Add the new recipe detail page and update the view context accordingly.
Rename the recipe summary page to 'recipes.html' and add the respective
links to the recipe details page.
The views are based on specifications found in attachments to
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4299
[YOCTO #4299]
(Bitbake rev: d561000b6c4927ef6ec269e9ab7c70249b3c344a)
Signed-off-by: David Reyna <david.reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/recipes.html')
-rwxr-xr-x | bitbake/lib/toaster/toastergui/templates/recipes.html | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/recipes.html b/bitbake/lib/toaster/toastergui/templates/recipes.html new file mode 100755 index 0000000000..2e0c2d1c6d --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/recipes.html | |||
@@ -0,0 +1,52 @@ | |||
1 | {% extends "basebuildpage.html" %} | ||
2 | |||
3 | {% block localbreadcrumb %} | ||
4 | <li>Recipes</li> | ||
5 | {% endblock %} | ||
6 | |||
7 | {% block buildinfomain %} | ||
8 | <div class="row-fluid pull-right span10"> | ||
9 | {% include "basetable_top.html" %} | ||
10 | |||
11 | <tr> | ||
12 | </tr> | ||
13 | <th>Name</th> | ||
14 | <th>Version</th> | ||
15 | <th>Summary</th> | ||
16 | <th>Description</th> | ||
17 | <th>Section</th> | ||
18 | <th>License</th> | ||
19 | <th>License file</th> | ||
20 | <th>Homepage</th> | ||
21 | <th>Bugtracker</th> | ||
22 | <th>File_path</th> | ||
23 | <th style="width: 30em">Recipe Dependency</th> | ||
24 | |||
25 | |||
26 | {% for recipe in objects %} | ||
27 | |||
28 | <tr class="data"> | ||
29 | <td><a name="{{recipe.name}}" href="{% url "recipe" build.pk recipe.pk %}">{{recipe.name}}</a></td> | ||
30 | <td>{{recipe.version}}</td> | ||
31 | <td>{{recipe.summary}}</td> | ||
32 | <td>{{recipe.description}}</td> | ||
33 | <td>{{recipe.section}}</td> | ||
34 | <td>{{recipe.license}}</td> | ||
35 | <td>{{recipe.licensing_info}}</td> | ||
36 | <td>{{recipe.homepage}}</td> | ||
37 | <td>{{recipe.bugtracker}}</td> | ||
38 | <td>{{recipe.file_path}}</td> | ||
39 | <td> | ||
40 | <div style="height: 5em; overflow:auto"> | ||
41 | {% for rr in recipe.r_dependencies_recipe.all %} | ||
42 | <a href="#{{rr.depends_on.name}}">{{rr.depends_on.name}}</a><br/> | ||
43 | {% endfor %} | ||
44 | </div> | ||
45 | </td> | ||
46 | </tr> | ||
47 | |||
48 | {% endfor %} | ||
49 | |||
50 | {% include "basetable_bottom.html" %} | ||
51 | </div> | ||
52 | {% endblock %} | ||