summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/builds.html
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/builds.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/builds.html125
1 files changed, 0 insertions, 125 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/builds.html b/bitbake/lib/toaster/toastergui/templates/builds.html
deleted file mode 100644
index c3cc266daf..0000000000
--- a/bitbake/lib/toaster/toastergui/templates/builds.html
+++ /dev/null
@@ -1,125 +0,0 @@
1{% extends "base.html" %}
2
3{% load static %}
4{% load projecttags %}
5{% load project_url_tag %}
6{% load humanize %}
7
8{% block title %} All builds - Toaster {% endblock %}
9{% block extraheadcontent %}
10<link rel="stylesheet" href="/static/css/jquery-ui.min.css" type='text/css'>
11<link rel="stylesheet" href="/static/css/jquery-ui.structure.min.css" type='text/css'>
12<link rel="stylesheet" href="/static/css/jquery-ui.theme.min.css" type='text/css'>
13<script src="/static/js/jquery-ui.min.js"></script>
14<script src="/static/js/filtersnippet.js"></script>
15{% endblock %}
16
17{% block pagecontent %}
18
19{% if last_date_from and last_date_to %}
20<script>
21 // initialize the date range controls
22 $(document).ready(function () {
23 date_init('started_on','{{last_date_from}}','{{last_date_to}}','{{dateMin_started_on}}','{{dateMax_started_on}}','{{daterange_selected}}');
24 date_init('completed_on','{{last_date_from}}','{{last_date_to}}','{{dateMin_completed_on}}','{{dateMax_completed_on}}','{{daterange_selected}}');
25 });
26</script>
27{%endif%} {# last_date_from and last_date_to #}
28
29<div class="row-fluid">
30
31 {% include "mrb_section.html" %}
32
33 <div class="page-header top-air">
34 <h1>
35 {% if request.GET.filter and objects.paginator.count > 0 or request.GET.search and objects.paginator.count > 0 %}
36 {{objects.paginator.count}} build{{objects.paginator.count|pluralize}} found
37 {%elif request.GET.filter and objects.paginator.count == 0 or request.GET.search and objects.paginator.count == 0 %}
38 No builds found
39 {%else%}
40 All builds
41 {%endif%}
42 </h1>
43 </div>
44
45 {% if objects.paginator.count == 0 %}
46 <div class="row-fluid">
47 <div class="alert">
48 <form class="no-results input-append" id="searchform">
49 <input id="search" name="search" class="input-xxlarge" type="text" value="
50 {% if request.GET.search %}
51 {{request.GET.search}}
52 {% endif %}"/>
53 {% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a>{% endif %}
54 <button class="btn" type="submit" value="Search">Search</button>
55 <button class="btn btn-link" onclick="javascript:$('#search').val('');searchform.submit()">Show all builds</button>
56 </form>
57 </div>
58 </div>
59 {% else %}
60 {% include "basetable_top.html" %}
61 <!-- Table data rows; the order needs to match the order of "tablecols" definitions; and the <td class value needs to match the tablecols clclass value for show/hide buttons to work -->
62 {% for build in objects %}
63 <tr class="data" data-table-build-result="{{ build.id }}">
64 <td class="outcome">
65 <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>
66 {% if build.cooker_log_path %}
67 &nbsp;
68 <a href="{% url 'build_artifact' build.id "cookerlog" build.id %}">
69 <i class="icon-download-alt" title="Download build log"></i>
70 </a>
71 {% endif %}
72 </td>
73 <td class="target">
74 {% for t in build.target_set.all %}
75 <a href="{% url "builddashboard" build.id %}">
76 {% if t.task %}
77 {{t.target}}:{{t.task}}
78 {% else %}
79 {{t.target}}
80 {% endif %}
81 </a> <br />
82 {% endfor %}
83 </td>
84 <td class="machine"><a href="{% url "builddashboard" build.id %}">{{build.machine}}</a></td>
85 <td class="started_on"><a href="{% url "builddashboard" build.id %}">{{build.started_on|date:"d/m/y H:i"}}</a></td>
86 <td class="completed_on"><a href="{% url "builddashboard" build.id %}">{{build.completed_on|date:"d/m/y H:i"}}</a></td>
87 <td class="failed_tasks error">
88 {% query build.task_build outcome=4 order__gt=0 as exectask%}
89 {% if exectask.count == 1 %}
90 <a href="{% url "task" build.id exectask.0.id %}">{{exectask.0.recipe.name}}.{{exectask.0.task_name}}</a>
91 <a href="{% url 'build_artifact' build.id "tasklogfile" exectask.0.id %}">
92 <i class="icon-download-alt" title="" data-original-title="Download task log file"></i>
93 </a>
94 {% elif exectask.count > 1%}
95 <a href="{% url "tasks" build.id %}?filter=outcome%3A4">{{exectask.count}} task{{exectask.count|pluralize}}</a>
96 {%endif%}
97 </td>
98 <td class="errors.count errors_no">
99 {% if build.errors.count %}
100 <a class="errors.count error" href="{% url "builddashboard" build.id %}#errors">{{build.errors.count}} error{{build.errors.count|pluralize}}</a>
101 {%endif%}
102 </td>
103 <td class="warnings.count warnings_no">{% if build.warnings.count %}<a class="warnings.count warning" href="{% url "builddashboard" build.id %}#warnings">{{build.warnings.count}} warning{{build.warnings.count|pluralize}}</a>{%endif%}</td>
104 <td class="time"><a href="{% url "buildtime" build.id %}">{{build.timespent_seconds|sectohms}}</a></td>
105 <td class="output">
106 {% if build.outcome == build.SUCCEEDED %}
107 <a href="{%url "builddashboard" build.id%}#images">{{fstypes|get_dict_value:build.id}}</a>
108 {% endif %}
109 </td>
110 <td class="project-name">
111 <a href="{% project_url build.project %}">{{build.project.name}}</a>
112 {% if build.project.is_default %}
113 <i class="icon-question-sign get-help hover-help" title="" data-original-title="This project shows information about the builds you start from the command line while Toaster is running" style="visibility: hidden;"></i>
114 {% endif %}
115 </td>
116 </tr>
117
118 {% endfor %}
119
120
121 {% include "basetable_bottom.html" %}
122 {% endif %} {# objects.paginator.count #}
123</div><!-- end row-fluid-->
124
125{% endblock %}