diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/machines.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/machines.html | 99 |
1 files changed, 51 insertions, 48 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/machines.html b/bitbake/lib/toaster/toastergui/templates/machines.html index e0bda51cf5..c0d4c6cc33 100644 --- a/bitbake/lib/toaster/toastergui/templates/machines.html +++ b/bitbake/lib/toaster/toastergui/templates/machines.html | |||
@@ -1,62 +1,65 @@ | |||
1 | {% extends "baseprojectpage.html" %} | 1 | {% extends "baseprojectpage.html" %} |
2 | {% load projecttags %} | 2 | {% load projecttags %} |
3 | {% load humanize %} | 3 | {% load humanize %} |
4 | 4 | {% load static %} | |
5 | {% block localbreadcrumb %} | 5 | {% block localbreadcrumb %} |
6 | <li>All compatible machines</li> | 6 | <li>All compatible machines</li> |
7 | {% endblock %} | 7 | {% endblock %} |
8 | 8 | ||
9 | {% block projectinfomain %} | 9 | {% block projectinfomain %} |
10 | <div class="page-header"> | 10 | <script src="{% static 'js/machines.js' %}"></script> |
11 | <h1> | 11 | <script> |
12 | All compatible machines | 12 | |
13 | <i class="icon-question-sign get-help heading-help" title="This page lists all the machines compatible with the release selected for this project, which is {{project.release.description}}"></i> | 13 | $(document).ready(function (){ |
14 | </h1> | 14 | var ctx = { |
15 | </div> | 15 | projectPageUrl : "{% url 'project' project.id %}", |
16 | <!--div class="alert"> | 16 | xhrEditProjectUrl : "{% url 'xhr_projectedit' project.id %}", |
17 | <div class="input-append" style="margin-bottom:0px;"> | 17 | projectId : {{project.id}}, |
18 | <input class="input-xxlarge" type="text" placeholder="Search targets" value="browser" /> | 18 | xhrDataTypeaheadUrl : "{% url 'xhr_datatypeahead' %}", |
19 | <a class="add-on btn"> | 19 | }; |
20 | <i class="icon-remove"></i> | 20 | |
21 | </a> | 21 | try { |
22 | <button class="btn" type="button">Search</button> | 22 | machinesPageInit(ctx); |
23 | <a class="btn btn-link" href="#">Show all targets</a> | 23 | } catch (e) { |
24 | </div> | 24 | document.write("Sorry, An error has occurred loading this page"); |
25 | </div--> | 25 | console.warn(e); |
26 | <div id="target-added" class="alert alert-info lead" style="display:none;"></div> | 26 | } |
27 | <div id="target-removed" class="alert alert-info lead" style="display:none;"> | 27 | }); |
28 | <button type="button" class="close" data-dismiss="alert">×</button> | 28 | </script> |
29 | <strong>1</strong> target deleted from <a href="project-with-targets.html">your project</a>: <a href="#">meta-aarch64</a> | 29 | {% include "layers_dep_modal.html" %} |
30 | </div> | 30 | <div class="page-header"> |
31 | <h1> | ||
32 | All machines | ||
33 | <i class="icon-question-sign get-help heading-help" title="This page lists all the machines compatible with Yocto Project 1.7 'Dxxxx' that Toaster knows about. They include community-created targets suitable for use on top of OpenEmbedded Core and any targets you have imported"></i> | ||
34 | </h1> | ||
35 | </div> | ||
31 | 36 | ||
37 | <div class="alert alert-info lead" id="alert-area" style="display:none"> | ||
38 | <button type="button" class="close" id="dismiss-alert" data-dismiss="alert">×</button> | ||
39 | <span id="alert-msg"></span> | ||
40 | <p style="margin-top:10px;"><a href="{% url 'project' project.id %}">Go to project configuration</a></p> | ||
41 | </div> | ||
32 | 42 | ||
33 | {% include "basetable_top.html" %} | 43 | {% include "basetable_top.html" %} |
34 | {% for o in objects %} | 44 | {% for o in objects %} |
35 | <tr class="data"> | 45 | <tr class="data"> |
36 | <td class="machine"> | 46 | <td class="machine">{{o.name}}</td> |
37 | {{o.name}} | 47 | <td class="description">{{o.description}}</td> |
38 | <a machine="_blank" href="http://layers.openembedded.org/layerindex/branch/master/machines/?q=3g-router-image"><i class="icon-share get-info"></i></a> | 48 | <td class="layer"><a href="{%url "layerdetails" o.layer_version.id %}">{{o.layer_version.layer.name}}</a></td> |
39 | </td> | 49 | <td class="source">{{o.layer_source.name}}</td> |
40 | <td class="description">{{o.description}}</td> | 50 | <td class="branch">{{o.layer_version.commit}}</td> |
41 | <td class="machine-file"> | 51 | <td class="select-or-add"> |
42 | <code>{{o.file_path}}</code> | 52 | <a href="#" class="btn btn-block select-machine-btn" data-machine-name="{{o.name}}" data-layer-version-id="{{o.layer_version.id}}" |
43 | <a href="http://github.com/embeddedgeeks/meta-embeddedgeeks/blob/master/machines-core/images/3g-router-image.bb" machine="_blank"><i class="icon-share get-info"></i></a> | 53 | {%if o.layer_version.id not in project_layers %}style="display:none" {%endif%} >Select machine</a> |
44 | </td> | 54 | <a href="#" class="btn btn-block nopop add-layer" data-layer-version-id="{{o.layer_version.id}}" data-layer-name="{{o.layer_version.layer.name}}" {%if o.layer_version.id in project_layers %}style="display:none" {%endif%} |
45 | <td class="layer"><a href="#">{{o.layer_version.layer.name}}</a></td> | 55 | > |
46 | <td class="source">{{o.layer_source.name}}</td> | 56 | <i class="icon-plus"></i> |
47 | <td class="branch">{{o.layer_version.commit}}</td> | 57 | Add layer |
48 | <td class="build"> | 58 | <i class="icon-question-sign get-help" title="To build this machine, you must first add the {{o.layer_version.layer.name}} layer to your project"></i> |
49 | <a id="build-machine" href="project-with-machines.html?machine=3g-router-image" class="btn btn-block" style="display:none;"> | 59 | </a> |
50 | Build machine | 60 | </td> |
51 | </a> | 61 | </tr> |
52 | <a id="add-layer" href="#" class="btn btn-block nopop" title="1 layer added"> | 62 | {% endfor %} |
53 | <i class="icon-plus"></i> | ||
54 | Add layer | ||
55 | <i class="icon-question-sign get-help" title="To build this machine, you must first add the meta-embeddedgeeks layer to your project"></i> | ||
56 | </a> | ||
57 | </td> | ||
58 | </tr> | ||
59 | {% endfor %} | ||
60 | 63 | ||
61 | {% include "basetable_bottom.html" %} | 64 | {% include "basetable_bottom.html" %} |
62 | 65 | ||