diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2013-10-11 13:46:23 +0100 |
---|---|---|
committer | Alexandru DAMIAN <alexandru.damian@intel.com> | 2013-10-16 15:26:37 +0100 |
commit | cb1338dedc3873ac81488df9dd3aa6f048e6b02f (patch) | |
tree | c94cfe05a88b87bcd8cda1ae5b825ac475601b80 /bitbake/lib/toaster/bldviewer/templates/layer.html | |
parent | faf8f8660fae26a14578738b642fdeb08bcb9d54 (diff) | |
download | poky-cb1338dedc3873ac81488df9dd3aa6f048e6b02f.tar.gz |
bitbake: 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>.
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Diffstat (limited to 'bitbake/lib/toaster/bldviewer/templates/layer.html')
-rw-r--r-- | bitbake/lib/toaster/bldviewer/templates/layer.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldviewer/templates/layer.html b/bitbake/lib/toaster/bldviewer/templates/layer.html new file mode 100644 index 0000000000..fa4fd9bde8 --- /dev/null +++ b/bitbake/lib/toaster/bldviewer/templates/layer.html | |||
@@ -0,0 +1,34 @@ | |||
1 | {% extends "basetable.html" %} | ||
2 | |||
3 | {% block pagename %} | ||
4 | <h1>Toaster - Layers</h1> | ||
5 | {% endblock %} | ||
6 | |||
7 | {% block pagetable %} | ||
8 | {% load projecttags %} | ||
9 | |||
10 | <tr> | ||
11 | <th>Name</th> | ||
12 | <th>Local Path</th> | ||
13 | <th>Layer Index URL</th> | ||
14 | <th>Known Versions</th> | ||
15 | </tr> | ||
16 | |||
17 | {% for layer in layers %} | ||
18 | |||
19 | <tr class="data"> | ||
20 | <td>{{layer.name}}</td> | ||
21 | <td>{{layer.local_path}}</td> | ||
22 | <td><a href='{{layer.layer_index_url}}'>{{layer.layer_index_url}}</a></td> | ||
23 | <td><table> | ||
24 | {% for lv in layer.versions %} | ||
25 | <tr><td> | ||
26 | <a href="{% url layer_versions_recipes lv.id %}">({{lv.priority}}){{lv.branch}}:{{lv.commit}} ({{lv.count}} recipes)</a> | ||
27 | </td></tr> | ||
28 | {% endfor %} | ||
29 | </table></td> | ||
30 | </tr> | ||
31 | |||
32 | {% endfor %} | ||
33 | |||
34 | {% endblock %} | ||