From 6877263f36a7ee16e3f3b895ab22206f7d976abc Mon Sep 17 00:00:00 2001
From: Belen Barros Pena
Date: Fri, 6 Feb 2015 17:55:46 +0000
Subject: 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
Signed-off-by: Alexandru DAMIAN
Signed-off-by: Richard Purdie
---
.../lib/toaster/toastergui/static/css/default.css | 2 +-
.../toaster/toastergui/templates/layerdetails.html | 2 +-
.../lib/toaster/toastergui/templates/layers.html | 6 +++---
.../lib/toaster/toastergui/templates/machines.html | 6 +++---
.../lib/toaster/toastergui/templates/project.html | 24 ++++++++++++++--------
.../lib/toaster/toastergui/templates/targets.html | 6 +++---
6 files changed, 27 insertions(+), 19 deletions(-)
(limited to 'bitbake/lib')
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 @@
.get-help-yellow:hover { color: #B38942; cursor: pointer; }
.get-help-red { color: #B94A48; font-size: 16px; padding-left: 2px; }
.get-help-red:hover { color: #943A38; cursor: pointer; }
-.build-form .get-help { margin-left: 5px; }
+.build-form>i:first-of-type { margin-left: 5px; }
.manual { margin: 11px 15px;}
.heading-help { font-size: 14px; }
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 @@
{% load humanize %}
{% load static %}
{% block localbreadcrumb %}
-All layers
+All compatible layers
{{layerversion.layer.name}} ({{layerversion.commit|truncatechars:13}})
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 @@
{% load humanize %}
{% block localbreadcrumb %}
-Layers
+All compatible layers
{% endblock %}
{% block projectinfomain %}
@@ -14,9 +14,9 @@
{% elif request.GET.filter and total_count == 0 or request.GET.search and total_count == 0 %}
No layers found
{%else%}
- All layers
+ All compatible layers
{%endif%}
-
+
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 @@
{% load humanize %}
{% block localbreadcrumb %}
-Machines
+All compatible machines
{% endblock %}
{% block projectinfomain %}
@@ -98,9 +98,8 @@ vim: expandtab tabstop=2
-
- View all targets
-
+ View all compatible targets
+
{% if completedbuilds.count %}
| View all project builds ({{completedbuilds.count}})
{% endif %}
@@ -256,7 +255,7 @@ vim: expandtab tabstop=2
You can:
@@ -270,7 +269,11 @@ vim: expandtab tabstop=2
{% csrf_token %}
- View all layers | Import layer
+
+ View all compatible layers
+
+ |
+ Import layer
Edit configuration variables
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 @@
{% load humanize %}
{% block localbreadcrumb %}
-
Targets
+All compatible targets
{% endblock %}
{% block projectinfomain %}
@@ -14,9 +14,9 @@
{% elif request.GET.filter and objects.paginator.count == 0 or request.GET.search and objects.paginator.count == 0 %}
No targets found
{%else%}
- All targets
+ All compatible targets
{%endif%}
-
+
--
cgit v1.2.3-54-g00ecf