summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2015-02-06 17:55:46 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-10 23:07:49 +0000
commit6877263f36a7ee16e3f3b895ab22206f7d976abc (patch)
tree643bab7aafa9b43ac48640bfbedc2f5f58b7203e /bitbake
parent42a7d91ad4bc30c31b5467ce9ec83b7390bd2329 (diff)
downloadpoky-6877263f36a7ee16e3f3b895ab22206f7d976abc.tar.gz
bitbake: toastergui: add the word 'compatible' to 'all' pages
Labels for the 'all' pages don't really convey what's provided in them. The team has suggested we add the word 'compatible' to them, to make clear they will show all layers / targets / machines that can be built with the version of the build system you are using in a certain project. A link like 'view all targets' becomes 'view all compatible targets'. I've also added some help text. (Bitbake rev: 49d85b7035d12a6e482d608e828f69fcafb59d39) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/toastergui/static/css/default.css2
-rw-r--r--bitbake/lib/toaster/toastergui/templates/layerdetails.html2
-rw-r--r--bitbake/lib/toaster/toastergui/templates/layers.html6
-rw-r--r--bitbake/lib/toaster/toastergui/templates/machines.html6
-rw-r--r--bitbake/lib/toaster/toastergui/templates/project.html24
-rw-r--r--bitbake/lib/toaster/toastergui/templates/targets.html6
6 files changed, 27 insertions, 19 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css
index a866773af6..41b73cc826 100644
--- a/bitbake/lib/toaster/toastergui/static/css/default.css
+++ b/bitbake/lib/toaster/toastergui/static/css/default.css
@@ -34,7 +34,7 @@
34.get-help-yellow:hover { color: #B38942; cursor: pointer; } 34.get-help-yellow:hover { color: #B38942; cursor: pointer; }
35.get-help-red { color: #B94A48; font-size: 16px; padding-left: 2px; } 35.get-help-red { color: #B94A48; font-size: 16px; padding-left: 2px; }
36.get-help-red:hover { color: #943A38; cursor: pointer; } 36.get-help-red:hover { color: #943A38; cursor: pointer; }
37.build-form .get-help { margin-left: 5px; } 37.build-form>i:first-of-type { margin-left: 5px; }
38.manual { margin: 11px 15px;} 38.manual { margin: 11px 15px;}
39.heading-help { font-size: 14px; } 39.heading-help { font-size: 14px; }
40 40
diff --git a/bitbake/lib/toaster/toastergui/templates/layerdetails.html b/bitbake/lib/toaster/toastergui/templates/layerdetails.html
index 6705215aae..7a1a22daa2 100644
--- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html
+++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html
@@ -3,7 +3,7 @@
3{% load humanize %} 3{% load humanize %}
4{% load static %} 4{% load static %}
5{% block localbreadcrumb %} 5{% block localbreadcrumb %}
6<li><a href="{% url 'layers' %}">All layers</a></li> 6<li><a href="{% url 'layers' %}">All compatible layers</a></li>
7<li> 7<li>
8 {{layerversion.layer.name}} ({{layerversion.commit|truncatechars:13}}) 8 {{layerversion.layer.name}} ({{layerversion.commit|truncatechars:13}})
9</li> 9</li>
diff --git a/bitbake/lib/toaster/toastergui/templates/layers.html b/bitbake/lib/toaster/toastergui/templates/layers.html
index 33160e5968..0943c39fde 100644
--- a/bitbake/lib/toaster/toastergui/templates/layers.html
+++ b/bitbake/lib/toaster/toastergui/templates/layers.html
@@ -3,7 +3,7 @@
3{% load humanize %} 3{% load humanize %}
4 4
5{% block localbreadcrumb %} 5{% block localbreadcrumb %}
6<li>Layers</li> 6<li>All compatible layers</li>
7{% endblock %} 7{% endblock %}
8 8
9{% block projectinfomain %} 9{% block projectinfomain %}
@@ -14,9 +14,9 @@
14 {% elif request.GET.filter and total_count == 0 or request.GET.search and total_count == 0 %} 14 {% elif request.GET.filter and total_count == 0 or request.GET.search and total_count == 0 %}
15 No layers found 15 No layers found
16 {%else%} 16 {%else%}
17 All layers 17 All compatible layers
18 {%endif%} 18 {%endif%}
19 <i class="icon-question-sign get-help heading-help" title="This page lists all the layers compatible with {{project.release.name}} that Toaster knows about."></i> 19 <i class="icon-question-sign get-help heading-help" title="This page lists all the layers compatible with the release selected for this project, which is {{project.release.description}}"></i>
20 </h1> 20 </h1>
21 </div> 21 </div>
22 22
diff --git a/bitbake/lib/toaster/toastergui/templates/machines.html b/bitbake/lib/toaster/toastergui/templates/machines.html
index 18e7485d50..e0bda51cf5 100644
--- a/bitbake/lib/toaster/toastergui/templates/machines.html
+++ b/bitbake/lib/toaster/toastergui/templates/machines.html
@@ -3,14 +3,14 @@
3{% load humanize %} 3{% load humanize %}
4 4
5{% block localbreadcrumb %} 5{% block localbreadcrumb %}
6<li>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 <div class="page-header">
11 <h1> 11 <h1>
12 All machines 12 All compatible 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> 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>
14 </h1> 14 </h1>
15 </div> 15 </div>
16 <!--div class="alert"> 16 <!--div class="alert">
diff --git a/bitbake/lib/toaster/toastergui/templates/project.html b/bitbake/lib/toaster/toastergui/templates/project.html
index 3b75d1934c..2c9cd8153c 100644
--- a/bitbake/lib/toaster/toastergui/templates/project.html
+++ b/bitbake/lib/toaster/toastergui/templates/project.html
@@ -1,4 +1,4 @@
1{% extends "baseprojectpage.html" %} 1 {% extends "baseprojectpage.html" %}
2<!-- 2<!--
3vim: expandtab tabstop=2 3vim: expandtab tabstop=2
4--> 4-->
@@ -98,9 +98,8 @@ vim: expandtab tabstop=2
98 </div> 98 </div>
99 <i class="icon-question-sign get-help get-help-blue" title="Type the name of one or more targets you want to build, separated by a space. You can also specify a task by appending a semicolon and a task name to a target name, like so: <code>core-image-minimal:do_build</code>"></i> 99 <i class="icon-question-sign get-help get-help-blue" title="Type the name of one or more targets you want to build, separated by a space. You can also specify a task by appending a semicolon and a task name to a target name, like so: <code>core-image-minimal:do_build</code>"></i>
100 <p> 100 <p>
101 <a href="{% url 'all-targets' %}"> 101 <a href="{% url 'all-targets' %}">View all compatible targets</a>
102 View all targets 102 <i class="icon-question-sign get-help get-help-blue heading-help" title="View all the targets you can build with the release selected for this project, which is {[project.release.desc]}"></i>
103 </a>
104 {% if completedbuilds.count %} 103 {% if completedbuilds.count %}
105 | <a href="{% url 'projectbuilds' project.id %}">View all project builds ({{completedbuilds.count}})</a> 104 | <a href="{% url 'projectbuilds' project.id %}">View all project builds ({{completedbuilds.count}})</a>
106 {% endif %} 105 {% endif %}
@@ -256,7 +255,7 @@ vim: expandtab tabstop=2
256 <p> 255 <p>
257 You can: 256 You can:
258 <ul> 257 <ul>
259 <li> <a href="{% url 'layers'%}">View all layers available in Toaster</a> 258 <li> <a href="{% url 'layers'%}">View all compatible layers available in Toaster</a>
260 <li> <a href="{% url 'importlayer' %}">Import a layer</a> 259 <li> <a href="{% url 'importlayer' %}">Import a layer</a>
261 <li> <a href="https://www.yoctoproject.org/docs/1.6.1/dev-manual/dev-manual.html#understanding-and-creating-layers" target="_blank">Read about layers in the manual</a> 260 <li> <a href="https://www.yoctoproject.org/docs/1.6.1/dev-manual/dev-manual.html#understanding-and-creating-layers" target="_blank">Read about layers in the manual</a>
262 </ul> 261 </ul>
@@ -270,7 +269,11 @@ vim: expandtab tabstop=2
270 </div> 269 </div>
271 {% csrf_token %} 270 {% csrf_token %}
272 </form> 271 </form>
273 <p><a href="{% url 'layers' %}">View all layers</a> | <a href="{% url 'importlayer' %}">Import layer</a></p> 272 <p>
273 <a href="{% url 'layers' %}">View all compatible layers</a>
274 <i class="icon-question-sign get-help" title="View all the layers you can build with the release selected for this project, which is {[project.release.desc]}"></i>
275 |
276 <a href="{% url 'importlayer' %}">Import layer</a></p>
274 <ul class="unstyled configuration-list"> 277 <ul class="unstyled configuration-list">
275 <li ng-repeat="l in layers track by l.id" class="animate-repeat"> 278 <li ng-repeat="l in layers track by l.id" class="animate-repeat">
276 <a href="{[l.layerdetailurl]}" target="_#" class="layer-info" data-toggle="tooltip" tooltip="{[l.giturl]} | {[l.branch.name]}">{[l.name]}</a> 279 <a href="{[l.layerdetailurl]}" target="_#" class="layer-info" data-toggle="tooltip" tooltip="{[l.giturl]} | {[l.branch.name]}">{[l.name]}</a>
@@ -295,7 +298,9 @@ vim: expandtab tabstop=2
295 {% csrf_token %} 298 {% csrf_token %}
296 </form> 299 </form>
297 <p> 300 <p>
298 <a href="{% url 'all-targets' %}">View all targets</a></p> 301 <a href="{% url 'all-targets' %}">View all compatible targets</a>
302 <i class="icon-question-sign get-help" title="View all the targets you can build with the release selected for this project, which is {[project.release.desc]}"></i>
303 </p>
299 <div ng-if="frequenttargets.length"> 304 <div ng-if="frequenttargets.length">
300 <h4 class="air"> 305 <h4 class="air">
301 Most built targets 306 Most built targets
@@ -332,7 +337,10 @@ vim: expandtab tabstop=2
332 <input type="reset" id="cancel-machine" class="btn btn-link" ng-click="toggle('#select-machine')" value="Cancel"></input> 337 <input type="reset" id="cancel-machine" class="btn btn-link" ng-click="toggle('#select-machine')" value="Cancel"></input>
333 {% csrf_token %} 338 {% csrf_token %}
334 </form> 339 </form>
335 <p><a href="{% url 'machines' %}" class="link">View all machines</a></p> 340 <p>
341 <a href="{% url 'machines' %}" class="link">View all compatible machines</a>
342 <i class="icon-question-sign get-help" title="View all the machines you can set with the release selected for this project, which is {[project.release.desc]}"></i>
343 </p>
336 </div> 344 </div>
337 <p class="link-action"> 345 <p class="link-action">
338 <a href="{% url 'projectconf' project.id %}" class="link">Edit configuration variables</a> 346 <a href="{% url 'projectconf' project.id %}" class="link">Edit configuration variables</a>
diff --git a/bitbake/lib/toaster/toastergui/templates/targets.html b/bitbake/lib/toaster/toastergui/templates/targets.html
index 3038649303..32c67ea881 100644
--- a/bitbake/lib/toaster/toastergui/templates/targets.html
+++ b/bitbake/lib/toaster/toastergui/templates/targets.html
@@ -3,7 +3,7 @@
3{% load humanize %} 3{% load humanize %}
4 4
5{% block localbreadcrumb %} 5{% block localbreadcrumb %}
6<li>Targets</li> 6<li>All compatible targets</li>
7{% endblock %} 7{% endblock %}
8 8
9{% block projectinfomain %} 9{% block projectinfomain %}
@@ -14,9 +14,9 @@
14 {% elif request.GET.filter and objects.paginator.count == 0 or request.GET.search and objects.paginator.count == 0 %} 14 {% elif request.GET.filter and objects.paginator.count == 0 or request.GET.search and objects.paginator.count == 0 %}
15 No targets found 15 No targets found
16 {%else%} 16 {%else%}
17 All targets 17 All compatible targets
18 {%endif%} 18 {%endif%}
19 <i class="icon-question-sign get-help heading-help" title="This page lists all the targets compatible with " + {{project.release.name}} + " that Toaster knows about."></i> 19 <i class="icon-question-sign get-help heading-help" title="This page lists all the targets compatible with the release selected for this project, which is {{project.release.description}}"></i>
20 </h1> 20 </h1>
21 </div> 21 </div>
22 22