diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/machines.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/machines.html | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/machines.html b/bitbake/lib/toaster/toastergui/templates/machines.html deleted file mode 100644 index 9979376b07..0000000000 --- a/bitbake/lib/toaster/toastergui/templates/machines.html +++ /dev/null | |||
@@ -1,88 +0,0 @@ | |||
1 | {% extends "baseprojectpage.html" %} | ||
2 | {% load projecttags %} | ||
3 | {% load humanize %} | ||
4 | {% load static %} | ||
5 | {% block localbreadcrumb %} | ||
6 | <li>All compatible machines</li> | ||
7 | {% endblock %} | ||
8 | |||
9 | {% block projectinfomain %} | ||
10 | |||
11 | <script src="{% static 'js/layerBtn.js' %}"></script> | ||
12 | <script> | ||
13 | |||
14 | $(document).ready(function (){ | ||
15 | var ctx = { | ||
16 | projectLayers : {{projectlayerset}}, | ||
17 | }; | ||
18 | |||
19 | try { | ||
20 | layerBtnsInit(ctx); | ||
21 | } catch (e) { | ||
22 | document.write("Sorry, An error has occurred loading this page"); | ||
23 | console.warn(e); | ||
24 | } | ||
25 | }); | ||
26 | </script> | ||
27 | <div class="page-header"> | ||
28 | <h1> | ||
29 | {% if request.GET.search or request.GET.filter %} | ||
30 | {% if objects.paginator.count != 0 %} | ||
31 | {{objects.paginator.count}} machines found | ||
32 | {% else %} | ||
33 | No machines found | ||
34 | {% endif %} | ||
35 | {% else %} | ||
36 | |||
37 | All compatible machines | ||
38 | <i class="icon-question-sign get-help heading-help" title="This page lists all the machines compatible with the current project that Toaster knows about. They include community-created targets suitable for use on top of OpenEmbedded Core and any targets you have imported"></i> | ||
39 | {% endif %} | ||
40 | </h1> | ||
41 | </div> | ||
42 | |||
43 | <div id="zone1alerts" style="display:none"> | ||
44 | <div class="alert alert-info lead"> | ||
45 | <button type="button" class="close" id="hide-alert">×</button> | ||
46 | <span id="alert-msg"></span> | ||
47 | </div> | ||
48 | </div> | ||
49 | {% if objects.paginator.count == 0 %} | ||
50 | {% if request.GET.search %} | ||
51 | <div class="alert row-fluid"> | ||
52 | <form class="navbar-search input-append pull-left" id="searchform"> | ||
53 | <input class="input-xxlarge" id="search" name="search" type="text" placeholder="Search machines" value="{{request.GET.search}}"><a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a> | ||
54 | <input type="hidden" name="orderby" value=""> | ||
55 | <input type="hidden" name="page" value="1"> | ||
56 | <button class="btn" type="submit" value="Search">Search</button> | ||
57 | <button type="submit" class="btn btn-link" id="show-all-btn">Show all machines</button> | ||
58 | </form> | ||
59 | </div> | ||
60 | {% else %} | ||
61 | <div class="alert alert-info lead"> | ||
62 | Toaster has no machine information. To generate machine information you should <a href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html#layer-source">configure a layer source</a> | ||
63 | </div> | ||
64 | {% endif %} | ||
65 | |||
66 | {% else %} | ||
67 | {% include "basetable_top.html" %} | ||
68 | {% for o in objects %} | ||
69 | <tr class="data"> | ||
70 | <td class="machine">{{o.name}}</td> | ||
71 | <td class="description">{{o.description}}</td> | ||
72 | <td class="layer"><a href="{%url "layerdetails" project.id o.layer_version.id %}">{{o.layer_version.layer.name}}</a></td> | ||
73 | <td class="branch">{{o.layer_version.get_vcs_reference}}</td> | ||
74 | <td class="machinefile"><code>/machine/conf/{{o.name}}.conf</code><a href="{{o.get_vcs_machine_file_link_url}}" target="_blank"><i class="icon-share get-info"></i></a></td> | ||
75 | <td class="select-or-add" style="height: 32px;"> | ||
76 | <a href="{% url 'project' project.id %}#/machineselect={{o.name}}" class="btn btn-block layer-exists-{{o.layer_version.id}}" style="margin-top: 5px; display:none">Select machine</a> | ||
77 | <button class="btn btn-block layerbtn layer-add-{{o.layer_version.id}}" data-layer='{ "id": {{o.layer_version.id}}, "name": "{{o.layer_version.layer.name}}", "url": "{%url 'layerdetails' project.id o.layer_version.id %}"}' data-directive="add"> | ||
78 | <i class="icon-plus"></i> | ||
79 | Add layer | ||
80 | <i title="" class="icon-question-sign get-help" data-original-title="To enable this machine, you must first add the {{o.layer_version.layer.name}} layer to your project"></i> | ||
81 | </button> | ||
82 | </td> | ||
83 | </tr> | ||
84 | {% endfor %} | ||
85 | {% include "basetable_bottom.html" %} | ||
86 | {% endif %} | ||
87 | |||
88 | {% endblock %} | ||