mirror of
https://git.yoctoproject.org/poky
synced 2026-09-15 15:49:32 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
38c3f2ec5e
commit
3190ab6441
@@ -9,9 +9,9 @@
|
||||
{% block projectinfomain %}
|
||||
<div class="page-header">
|
||||
<h1>
|
||||
{% if request.GET.filter and total_count > 0 or request.GET.search and total_count > 0 %}
|
||||
{{total_count}} layer{{total_count|pluralize}} found
|
||||
{% elif request.GET.filter and total_count == 0 or request.GET.search and total_count == 0 %}
|
||||
{% if request.GET.filter and objects.paginator.count > 0 or request.GET.search and objects.paginator.count > 0 %}
|
||||
{{objects.paginator.count}} layer{{objects.paginator.count|pluralize}} found
|
||||
{% elif request.GET.filter and objects.paginator.count == 0 or request.GET.search and objects.paginator.count == 0 %}
|
||||
No layers found
|
||||
{%else%}
|
||||
All compatible layers
|
||||
@@ -24,6 +24,7 @@
|
||||
</div>
|
||||
|
||||
{% if objects.paginator.count == 0 %}
|
||||
{% if request.GET.filter or request.GET.search %}
|
||||
<div class="row-fluid">
|
||||
<div class="alert">
|
||||
<form class="no-results input-append" id="searchform">
|
||||
@@ -33,6 +34,15 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="alert alert-info lead">
|
||||
<p>Toaster has no layer information. To generate layer information you can:</p>
|
||||
<ul>
|
||||
<li><a href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html#layer-source">Configure a layer source</a></li>
|
||||
<li><a href="{% url 'importlayer' %}">Import a layer</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% else %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user