diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2013-12-13 17:14:34 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-10 15:20:26 +0000 |
commit | 5482409a370552809de75150350defef04ac7144 (patch) | |
tree | e0af09995517b66cc01be62508fef763907e051d /bitbake/lib/toaster/toastergui/templates/build.html | |
parent | 2251426ae420640c082ec0d0109b9be435075411 (diff) | |
download | poky-5482409a370552809de75150350defef04ac7144.tar.gz |
bitbake: toaster: Build dashboard implementation
This patch adds the build dashboard page implementation,
which is the landing page for the Toaster GUI.
Also adds correct links from the main build page
to the various parts of the dashboard.
[YOCTO #4258]
(Bitbake rev: bf7fbf5c0ee39564d813f82e194242f9d4f73c47)
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/build.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/build.html | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/build.html b/bitbake/lib/toaster/toastergui/templates/build.html index 27ce1ccbc5..43b491d558 100644 --- a/bitbake/lib/toaster/toastergui/templates/build.html +++ b/bitbake/lib/toaster/toastergui/templates/build.html | |||
@@ -12,7 +12,6 @@ | |||
12 | Recent Builds | 12 | Recent Builds |
13 | </h1> | 13 | </h1> |
14 | </div> | 14 | </div> |
15 | {{build_mru}} | ||
16 | {% for build in mru %} | 15 | {% for build in mru %} |
17 | <div class="alert {%if build.outcome == build.SUCCEEDED%}alert-success{%elif build.outcome == build.FAILED%}alert-error{%else%}alert-info{%endif%}"> | 16 | <div class="alert {%if build.outcome == build.SUCCEEDED%}alert-success{%elif build.outcome == build.FAILED%}alert-error{%else%}alert-info{%endif%}"> |
18 | <div class="row-fluid"> | 17 | <div class="row-fluid"> |
@@ -74,17 +73,17 @@ | |||
74 | </tr> | 73 | </tr> |
75 | {% for build in objects %} | 74 | {% for build in objects %} |
76 | <tr class="data"> | 75 | <tr class="data"> |
77 | <td class="outcome"><a href="{% url "configuration" build.id %}">{%if build.outcome == build.SUCCEEDED%}<i class="icon-ok-sign success"></i>{%elif build.outcome == build.FAILED%}<i class="icon-minus-sign error"></i>{%else%}{%endif%}</a></td> | 76 | <td class="outcome"><a href="{% url "builddashboard" build.id %}">{%if build.outcome == build.SUCCEEDED%}<i class="icon-ok-sign success"></i>{%elif build.outcome == build.FAILED%}<i class="icon-minus-sign error"></i>{%else%}{%endif%}</a></td> |
78 | <td class="target">{% for t in build.target_set.all %}{%if t.is_image %}<a href="{% url "target" build.id t.id %}">{% endif %}{{t.target}}{% if t.is_image %}</a>{% endif %}<br/>{% endfor %}</td> | 77 | <td class="target">{% for t in build.target_set.all %}{%if t.is_image %}<a href="{% url "target" build.id t.id %}">{% endif %}{{t.target}}{% if t.is_image %}</a>{% endif %}<br/>{% endfor %}</td> |
79 | <td class="machine">{{build.machine}}</td> | 78 | <td class="machine"><a href="{% url "builddashboard" build.id %}">{{build.machine}}</a></td> |
80 | <td class="started_on">{{build.started_on}}</td> | 79 | <td class="started_on"><a href="{% url "builddashboard" build.id %}">{{build.started_on}}</a></td> |
81 | <td class="completed_on">{{build.completed_on}}</td> | 80 | <td class="completed_on"><a href="{% url "builddashboard" build.id %}">{{build.completed_on}}</a></td> |
82 | <td class="failed_tasks"></td> | 81 | <td class="failed_tasks"></td> |
83 | <td class="errors">{% if build.errors_no %}<a class="error" href="#">{{build.errors_no}} error{{build.errors_no|pluralize}}</a>{%endif%}</td> | 82 | <td class="errors">{% if build.errors_no %}<a class="error" href="{% url "builddashboard" build.id %}#errors">{{build.errors_no}} error{{build.errors_no|pluralize}}</a>{%endif%}</td> |
84 | <td class="warnings">{% if build.warnings_no %}<a class="warning" href="#">{{build.warnings_no}} warning{{build.warnings_no|pluralize}}</a>{%endif%}</td> | 83 | <td class="warnings">{% if build.warnings_no %}<a class="warning" href="{% url "builddashboard" build.id %}#warnings">{{build.warnings_no}} warning{{build.warnings_no|pluralize}}</a>{%endif%}</td> |
85 | <td class="time">{{build|timespent}}</td> | 84 | <td class="time"><a href="{% url "buildtime" build.id %}">{{build|timespent}}</a></td> |
86 | <td class="log">{{build.log}}</td> | 85 | <td class="log">{{build.log}}</td> |
87 | <td class="output">{% if build.outcome == 0 %}{% for t in build.target_set.all %}{% if t.is_image %}{{build.image_fstypes}}{% endif %}{% endfor %}{% endif %}</td> | 86 | <td class="output">{% if build.outcome == 0 %}{% for t in build.target_set.all %}{% if t.is_image %}<a href="{%url "builddashboard" build.id%}#images">{{build.image_fstypes}}</a>{% endif %}{% endfor %}{% endif %}</td> |
88 | </tr> | 87 | </tr> |
89 | 88 | ||
90 | {% endfor %} | 89 | {% endfor %} |