diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/projectbuilds.html')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/projectbuilds.html | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/projectbuilds.html b/bitbake/lib/toaster/toastergui/templates/projectbuilds.html new file mode 100644 index 0000000000..8c5942c7cb --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/projectbuilds.html | |||
| @@ -0,0 +1,59 @@ | |||
| 1 | {% extends "baseprojectpage.html" %} | ||
| 2 | {% load projecttags %} | ||
| 3 | {% load humanize %} | ||
| 4 | |||
| 5 | {% block localbreadcrumb %} | ||
| 6 | <li>Project builds</li> | ||
| 7 | {% endblock %} | ||
| 8 | |||
| 9 | {% block projectinfomain %} | ||
| 10 | <div class="page-header"> | ||
| 11 | <h1> | ||
| 12 | All builds | ||
| 13 | <i class="icon-question-sign get-help heading-help" title="This page lists all the layers compatible with Yocto Project 1.7 'Dxxxx' that Toaster knows about. They include community-created layers suitable for use on top of OpenEmbedded Core and any layers you have imported"></i> | ||
| 14 | </h1> | ||
| 15 | </div> | ||
| 16 | <!--div class="alert"> | ||
| 17 | <div class="input-append" style="margin-bottom:0px;"> | ||
| 18 | <input class="input-xxlarge" type="text" placeholder="Search layers" value="browser" /> | ||
| 19 | <a class="add-on btn"> | ||
| 20 | <i class="icon-remove"></i> | ||
| 21 | </a> | ||
| 22 | <button class="btn" type="button">Search</button> | ||
| 23 | <a class="btn btn-link" href="#">Show all layers</a> | ||
| 24 | </div> | ||
| 25 | </div--> | ||
| 26 | <div id="layer-added" class="alert alert-info lead" style="display:none;"></div> | ||
| 27 | <div id="layer-removed" class="alert alert-info lead" style="display:none;"> | ||
| 28 | <button type="button" class="close" data-dismiss="alert">×</button> | ||
| 29 | <strong>1</strong> layer deleted from <a href="project-with-targets.html">your project</a>: <a href="#">meta-aarch64</a> | ||
| 30 | </div> | ||
| 31 | |||
| 32 | |||
| 33 | {% include "basetable_top.html" %} | ||
| 34 | {% for build in objects %} | ||
| 35 | <tr class="data"> | ||
| 36 | <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> | ||
| 37 | <td class="target">{% for t in build.target_set.all %} <a href="{% url "builddashboard" build.id %}"> {{t.target}} </a> <br />{% endfor %}</td> | ||
| 38 | <td class="machine"><a href="{% url "builddashboard" build.id %}">{{build.machine}}</a></td> | ||
| 39 | <td class="started_on"><a href="{% url "builddashboard" build.id %}">{{build.started_on|date:"d/m/y H:i"}}</a></td> | ||
| 40 | <td class="completed_on"><a href="{% url "builddashboard" build.id %}">{{build.completed_on|date:"d/m/y H:i"}}</a></td> | ||
| 41 | <td class="failed_tasks error">{% query build.task_build outcome=4 order__gt=0 as exectask%}{% if exectask.count == 1 %}<a href="{% url "task" build.id exectask.0.id %}">{{exectask.0.recipe.name}}.{{exectask.0.task_name}}</a>{% elif exectask.count > 1%}<a href="{% url "tasks" build.id %}?filter=outcome%3A4">{{exectask.count}}</a>{%endif%}</td> | ||
| 42 | <td class="errors_no">{% if build.errors_no %}<a class="errors_no error" href="{% url "builddashboard" build.id %}#errors">{{build.errors_no}} error{{build.errors_no|pluralize}}</a>{%endif%}</td> | ||
| 43 | <td class="warnings_no">{% if build.warnings_no %}<a class="warnings_no warning" href="{% url "builddashboard" build.id %}#warnings">{{build.warnings_no}} warning{{build.warnings_no|pluralize}}</a>{%endif%}</td> | ||
| 44 | <td class="time"><a href="{% url "buildtime" build.id %}">{{build.timespent|sectohms}}</a></td> | ||
| 45 | <td class="log">{{build.cooker_log_path}}</td> | ||
| 46 | <td class="output"> | ||
| 47 | {% if build.outcome == build.SUCCEEDED %} | ||
| 48 | <a href="{%url "builddashboard" build.id%}#images">{{fstypes|get_dict_value:build.id}}</a> | ||
| 49 | {% endif %} | ||
| 50 | </td> | ||
| 51 | </tr> | ||
| 52 | |||
| 53 | {% endfor %} | ||
| 54 | {% include "basetable_bottom.html" %} | ||
| 55 | |||
| 56 | <!-- Modals --> | ||
| 57 | |||
| 58 | |||
| 59 | {% endblock %} | ||
