summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/projects.html
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2014-10-03 18:03:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-30 13:39:50 +0000
commita1f7a09801c2240b5f9a29683a2b538fcb9991d6 (patch)
treecc80a89b15fbac86fb01defc6c789bf582921986 /bitbake/lib/toaster/toastergui/templates/projects.html
parentc7382dbd8bb273062164e7cdb7233b60874c91d3 (diff)
downloadpoky-a1f7a09801c2240b5f9a29683a2b538fcb9991d6.tar.gz
bitbake: toaster: changes to the landing page
This patch brings in a new landing page to be shown when there are no builds and no projects available. The builds page now displays only only the builds part, without the landing page bits. There is a new projects page that displays the All Projects table as specified in the design. [YOCTO #6682] (Bitbake rev: c6c7c05521daa9bf16c122d7d472330ca4c05e88) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/projects.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/projects.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/projects.html b/bitbake/lib/toaster/toastergui/templates/projects.html
new file mode 100644
index 0000000000..432f025d3c
--- /dev/null
+++ b/bitbake/lib/toaster/toastergui/templates/projects.html
@@ -0,0 +1,36 @@
1{% extends "base.html" %}
2
3{% load static %}
4{% load projecttags %}
5{% load humanize %}
6
7{% block pagecontent %}
8
9
10 {% include "mrb_section.html" %}
11
12
13 <div class="page-header top-air">
14 <h1>
15 All projects
16 </h1>
17 </div>
18
19{% include "basetable_top_projectbuilds.html" %}
20 {% for o in objects %}
21 <tr class="data">
22 <td><a href="{% url 'project' o.id %}">{{o.name}}</a></td>
23 <td><a href="{% url 'project' o.id %}">{{o.release.name}}</a></td>
24 <td>{{o.get_current_machine_name}}</td>
25 <td>{{o.get_number_of_builds}}</td>
26 <td>{{o.get_last_outcome}}</td>
27 <td>{{o.get_last_target}}</td>
28 <td>{{o.get_last_errors}}</td>
29 <td>{{o.get_last_warnings}}</td>
30 <td>{{o.get_last_imgfiles}}</td>
31 <td>{{o.updated|date:"d/m/y H:i"}}</td>
32 </tr>
33 {% endfor %}
34{% include "basetable_bottom.html" %}
35
36{% endblock %}