summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldviewer/templates/recipe.html
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2013-10-11 13:46:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-18 11:13:49 +0100
commit164ab730ccb504b823f43b48de282de702ccf71b (patch)
tree3f8331f10df8fadab7b761f2a90416aa08507697 /bitbake/lib/toaster/bldviewer/templates/recipe.html
parentd0072fc1391eda890268a91d692075b876f85914 (diff)
downloadpoky-164ab730ccb504b823f43b48de282de702ccf71b.tar.gz
bitbake: toaster: add toaster code to bitbake
This patch adds the Toaster component to Bitbake. Toaster is a module designed to record the progress of a Bitbake build, and data about the resultant artifacts. It contains a web-based interface and a REST API allowing post-facto inspection of the build process and artifacts. Features present in this build: * toaster start script * relational data model * Django boilerplate code * the REST API * the Simple UI web interface This patch has all the development history squashed together. Code portions contributed by Calin Dragomir <calindragomir@gmail.com>. (Bitbake rev: d24334a5e83d09b3ab227af485971bb768bf5412) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/bldviewer/templates/recipe.html')
-rw-r--r--bitbake/lib/toaster/bldviewer/templates/recipe.html54
1 files changed, 54 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldviewer/templates/recipe.html b/bitbake/lib/toaster/bldviewer/templates/recipe.html
new file mode 100644
index 0000000000..a62437066d
--- /dev/null
+++ b/bitbake/lib/toaster/bldviewer/templates/recipe.html
@@ -0,0 +1,54 @@
1{% extends "basetable.html" %}
2
3{% block pagename %}
4<ul class="nav nav-tabs" style="display: inline-block">
5 <li><a>Layer {{layer_version.layer.name}}&nbsp;:&nbsp;{{layer_version.branch}}&nbsp;:&nbsp;{{layer_version.commit}}&nbsp;:&nbsp;{{layer_version.priority}}</a></li>
6</ul>
7 <h1>Toaster - Recipes for a Layer</h1>
8{% endblock %}
9
10{% block pagetable %}
11 {% load projecttags %}
12
13 <tr>
14 </tr>
15 <th>Name</th>
16 <th>Version</th>
17 <th>Summary</th>
18 <th>Description</th>
19 <th>Section</th>
20 <th>License</th>
21 <th>License file</th>
22 <th>Homepage</th>
23 <th>Bugtracker</th>
24 <th>Author</th>
25 <th>File_path</th>
26 <th style="width: 30em">Recipe Dependency</th>
27
28
29 {% for recipe in recipes %}
30
31 <tr class="data">
32 <td><a name="{{recipe.name}}">{{recipe.name}}</a></td>
33 <td>{{recipe.version}}</td>
34 <td>{{recipe.summary}}</td>
35 <td>{{recipe.description}}</td>
36 <td>{{recipe.section}}</td>
37 <td>{{recipe.license}}</td>
38 <td>{{recipe.licensing_info}}</td>
39 <td>{{recipe.homepage}}</td>
40 <td>{{recipe.bugtracker}}</td>
41 <td>{{recipe.author}}</td>
42 <td>{{recipe.file_path}}</td>
43 <td>
44 <div style="height: 5em; overflow:auto">
45 {% for rr in recipe.r_dependencies_recipe.all %}
46 <a href="#{{rr.depends_on.name}}">{{rr.depends_on.name}}</a><br/>
47 {% endfor %}
48 </div>
49 </td>
50 </tr>
51
52 {% endfor %}
53
54{% endblock %}