diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-08-29 16:41:59 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-01 08:51:32 +0100 |
commit | acd4a1799d51a9f0b192d12b2c58387595b27bf7 (patch) | |
tree | 194260d1e025db5cfb94662c81fbef2488f1798e /bitbake/lib/toaster/toastergui/templates/machines.html | |
parent | fd0398f2c1355597a95242e6c8400eae6ad60fa4 (diff) | |
download | poky-acd4a1799d51a9f0b192d12b2c58387595b27bf7.tar.gz |
bitbake: toaster: add project pages for machines, targets, layers
We add new pages for the all-machines and all-targets
project-related views.
We update the existing template structure to create
a base project view, similar to a base build view, that includes
a breadcrumb.
Updating existing all layers view to use the new structure.
We update methods in the models to provide corrent
information display.
[YOCTO #6592]
[YOCTO #6593]
(Bitbake rev: 973f582a19441c1ec67061160e4c50ce03ed7b68)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/machines.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/machines.html | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/machines.html b/bitbake/lib/toaster/toastergui/templates/machines.html new file mode 100644 index 0000000000..18e7485d50 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/machines.html | |||
@@ -0,0 +1,63 @@ | |||
1 | {% extends "baseprojectpage.html" %} | ||
2 | {% load projecttags %} | ||
3 | {% load humanize %} | ||
4 | |||
5 | {% block localbreadcrumb %} | ||
6 | <li>Machines</li> | ||
7 | {% endblock %} | ||
8 | |||
9 | {% block projectinfomain %} | ||
10 | <div class="page-header"> | ||
11 | <h1> | ||
12 | All machines | ||
13 | <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> | ||
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 targets" 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 targets</a> | ||
24 | </div> | ||
25 | </div--> | ||
26 | <div id="target-added" class="alert alert-info lead" style="display:none;"></div> | ||
27 | <div id="target-removed" class="alert alert-info lead" style="display:none;"> | ||
28 | <button type="button" class="close" data-dismiss="alert">×</button> | ||
29 | <strong>1</strong> target 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 o in objects %} | ||
35 | <tr class="data"> | ||
36 | <td class="machine"> | ||
37 | {{o.name}} | ||
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> | ||
39 | </td> | ||
40 | <td class="description">{{o.description}}</td> | ||
41 | <td class="machine-file"> | ||
42 | <code>{{o.file_path}}</code> | ||
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> | ||
44 | </td> | ||
45 | <td class="layer"><a href="#">{{o.layer_version.layer.name}}</a></td> | ||
46 | <td class="source">{{o.layer_source.name}}</td> | ||
47 | <td class="branch">{{o.layer_version.commit}}</td> | ||
48 | <td class="build"> | ||
49 | <a id="build-machine" href="project-with-machines.html?machine=3g-router-image" class="btn btn-block" style="display:none;"> | ||
50 | Build machine | ||
51 | </a> | ||
52 | <a id="add-layer" href="#" class="btn btn-block nopop" title="1 layer added"> | ||
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 | |||
61 | {% include "basetable_bottom.html" %} | ||
62 | |||
63 | {% endblock %} | ||