summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldviewer/templates/simple_layer.html
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2013-12-18 19:50:45 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-10 15:20:24 +0000
commit47621ecb24eedd803f17a551230a524193089c9a (patch)
treed972454f7ea2dfaf2c4da519d4f36d00c5a37044 /bitbake/lib/toaster/bldviewer/templates/simple_layer.html
parent8172f24b62ed65cb7267b13b01024c1b1e891119 (diff)
downloadpoky-47621ecb24eedd803f17a551230a524193089c9a.tar.gz
bitbake: toaster: clone Simple UI as base for Toaster GUI
This patch clones the Simple UI to provide the base code for the development of the Toaster GUI. The clone takes the place of the application that was reserved for Javascript MVC code. The templates used for Simple UI are renamed to start with an "simple_" to prevent name resolution conflict with the Toaster GUI templates. Minor changes are made to the settings.py and urls.py in the toaster main section to account for the newly enabled application. (Bitbake rev: e2fde84f16da017ba0d71aef6a1fa8e2b9255db4) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/bldviewer/templates/simple_layer.html')
-rw-r--r--bitbake/lib/toaster/bldviewer/templates/simple_layer.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldviewer/templates/simple_layer.html b/bitbake/lib/toaster/bldviewer/templates/simple_layer.html
new file mode 100644
index 0000000000..35dd99e284
--- /dev/null
+++ b/bitbake/lib/toaster/bldviewer/templates/simple_layer.html
@@ -0,0 +1,34 @@
1{% extends "simple_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 objects %}
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 %}