summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/projects.html
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/projects.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/projects.html92
1 files changed, 0 insertions, 92 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/projects.html b/bitbake/lib/toaster/toastergui/templates/projects.html
deleted file mode 100644
index 678a7963b7..0000000000
--- a/bitbake/lib/toaster/toastergui/templates/projects.html
+++ /dev/null
@@ -1,92 +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 projects - Toaster {% endblock %}
9
10{% block pagecontent %}
11
12
13 <div class="page-header top-air">
14 <h1>
15 {% if request.GET.filter and objects.paginator.count > 0 or request.GET.search and objects.paginator.count > 0 %}
16 {{objects.paginator.count}} project{{objects.paginator.count|pluralize}} found
17 {%elif request.GET.filter and objects.paginator.count == 0 or request.GET.search and objects.paginator.count == 0 %}
18 No projects found
19 {%else%}
20 All projects
21 {%endif%}
22 </h1>
23 </div>
24
25 {% if objects.paginator.count == 0 %}
26 <div class="row-fluid">
27 <div class="alert">
28 <form class="no-results input-append" id="searchform">
29 <input id="search" name="search" class="input-xxlarge" type="text" value="
30 {% if request.GET.search %}
31 {{request.GET.search}}
32 {% endif %}"/>{% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a>{% endif %}
33 <button class="btn" type="submit" value="Search">Search</button>
34 <button class="btn btn-link" onclick="javascript:$('#search').val('');searchform.submit()">Show all projects</button>
35 </form>
36 </div>
37 </div>
38
39 {% else %} {# We have builds to display #}
40 {% include "basetable_top.html" %}
41 {% for o in objects %}
42 <tr class="data" data-project="{{ o.id }}">
43 <td data-project-field="name">
44 <a href="{% project_url o %}">{{o.name}}</a>
45 </td>
46 <td class="updated"><a href="{% project_url o %}">{{o.updated|date:"d/m/y H:i"}}</a></td>
47 <td data-project-field="release">
48 {% if o.release %}
49 <a href="{% url 'project' o.id %}#project-details">{{o.release.name}}</a>
50 {% elif o.is_default %}
51 <span class="muted">Not applicable</span>
52 <i class="icon-question-sign get-help hover-help" title="" data-original-title="This project does not have a release set. It simply collects information about the builds you start from the command line while Toaster is running" style="visibility: hidden;"></i>
53 {% else %}
54 No release available
55 {% endif %}
56 </td>
57 <td data-project-field="machine">
58 {% if o.is_default %}
59 <span class="muted">Not applicable</span>
60 <i class="icon-question-sign get-help hover-help" title="" data-original-title="This project does not have a machine set. It simply collects information about the builds you start from the command line while Toaster is running" style="visibility: hidden;"></i>
61 {% else %}
62 <a href="{% url 'project' o.id %}#machine-distro">{{o.get_current_machine_name}}</a>
63 {% endif %}
64 </td>
65 {% if o.get_number_of_builds == 0 %}
66 <td class="muted">{{o.get_number_of_builds}}</td>
67 <td class="loutcome"></td>
68 <td class="ltarget"></td>
69 <td class="lerrors"></td>
70 <td class="lwarnings"></td>
71 <td class="limagefiles"></td>
72 {% else %}
73 <td><a href="{% url 'projectbuilds' o.id %}">{{o.get_number_of_builds}}</a></td>
74 <td class="loutcome"><a href="{% url "builddashboard" o.get_last_build_id %}">{%if o.get_last_outcome == build_SUCCEEDED%}<i class="icon-ok-sign success"></i>{%elif o.get_last_outcome == build_FAILED%}<i class="icon-minus-sign error"></i>{%else%}{%endif%}</a></td>
75 <td class="ltarget"><a href="{% url "builddashboard" o.get_last_build_id %}">{{o.get_last_target}} </a></td>
76 <td class="lerrors">{% if o.get_last_errors %}<a class="errors.count error" href="{% url "builddashboard" o.get_last_build_id %}#errors">{{o.get_last_errors}} error{{o.get_last_errors|pluralize}}</a>{%endif%}</td>
77 <td class="lwarnings">{% if o.get_last_warnings %}<a class="warnings.count warning" href="{% url "builddashboard" o.get_last_build_id %}#warnings">{{o.get_last_warnings}} warning{{o.get_last_warnings|pluralize}}</a>{%endif%}</td>
78 <td class="limagefiles">
79 {% if o.get_last_outcome == build_SUCCEEDED %}
80 <a href="{%url "builddashboard" o.get_last_build_id %}#images">{{fstypes|get_dict_value:o.id}}</a>
81 {% endif %}
82 </td>
83
84 {% endif %}
85 </tr>
86 {% endfor %}
87 {% include "basetable_bottom.html" %}
88 {% endif %} {# empty #}
89
90{% endblock %}
91
92