summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/layers.html
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@linux.intel.com>2015-03-23 17:15:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-25 12:39:57 +0000
commit3190ab644199ea8e7d765783d71ed1cb39ac8e1b (patch)
tree111a6c4262340f57d250ea339bebc5a93b730534 /bitbake/lib/toaster/toastergui/templates/layers.html
parent38c3f2ec5ee30a6ff12e7f0794452bd3379a0fb7 (diff)
downloadpoky-3190ab644199ea8e7d765783d71ed1cb39ac8e1b.tar.gz
bitbake: toasterui: small changes to empty states
This commit: * Makes some changes to the layout and styles of the landing.html template * Adds the empty state to layers.html * Changes the message of the empty state of machines.html to use the same wording used in all other pages * Adds the project name and the right styles to the empty state of the project.html template * Makes small changes in style and wording to the empty state of targets.html * Updates all "configure a layer source" links to point to the new Toaster manual. (Bitbake rev: d886db3add1351a806ab58ec7519d2321687187b) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> 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/layers.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/layers.html16
1 files changed, 13 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/layers.html b/bitbake/lib/toaster/toastergui/templates/layers.html
index c35a299333..24d31c770e 100644
--- a/bitbake/lib/toaster/toastergui/templates/layers.html
+++ b/bitbake/lib/toaster/toastergui/templates/layers.html
@@ -9,9 +9,9 @@
9{% block projectinfomain %} 9{% block projectinfomain %}
10 <div class="page-header"> 10 <div class="page-header">
11 <h1> 11 <h1>
12 {% if request.GET.filter and total_count > 0 or request.GET.search and total_count > 0 %} 12 {% if request.GET.filter and objects.paginator.count > 0 or request.GET.search and objects.paginator.count > 0 %}
13 {{total_count}} layer{{total_count|pluralize}} found 13 {{objects.paginator.count}} layer{{objects.paginator.count|pluralize}} found
14 {% elif request.GET.filter and total_count == 0 or request.GET.search and total_count == 0 %} 14 {% elif request.GET.filter and objects.paginator.count == 0 or request.GET.search and objects.paginator.count == 0 %}
15 No layers found 15 No layers found
16 {%else%} 16 {%else%}
17 All compatible layers 17 All compatible layers
@@ -24,6 +24,7 @@
24 </div> 24 </div>
25 25
26{% if objects.paginator.count == 0 %} 26{% if objects.paginator.count == 0 %}
27 {% if request.GET.filter or request.GET.search %}
27 <div class="row-fluid"> 28 <div class="row-fluid">
28 <div class="alert"> 29 <div class="alert">
29 <form class="no-results input-append" id="searchform"> 30 <form class="no-results input-append" id="searchform">
@@ -33,6 +34,15 @@
33 </form> 34 </form>
34 </div> 35 </div>
35 </div> 36 </div>
37 {% else %}
38 <div class="alert alert-info lead">
39 <p>Toaster has no layer information. To generate layer information you can:</p>
40 <ul>
41 <li><a href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html#layer-source">Configure a layer source</a></li>
42 <li><a href="{% url 'importlayer' %}">Import a layer</a></li>
43 </ul>
44 </div>
45 {% endif %}
36 46
37{% else %} 47{% else %}
38 48