diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/targets.html')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/targets.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/targets.html b/bitbake/lib/toaster/toastergui/templates/targets.html index 6cd9391323..234159a687 100644 --- a/bitbake/lib/toaster/toastergui/templates/targets.html +++ b/bitbake/lib/toaster/toastergui/templates/targets.html | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | </div> | 25 | </div> |
| 26 | 26 | ||
| 27 | {% if objects.paginator.count == 0 %} | 27 | {% if objects.paginator.count == 0 %} |
| 28 | {% if request.GET.filter or request.GET.search %} | ||
| 28 | <div class="row-fluid"> | 29 | <div class="row-fluid"> |
| 29 | <div class="alert"> | 30 | <div class="alert"> |
| 30 | <form class="no-results input-append" id="searchform"> | 31 | <form class="no-results input-append" id="searchform"> |
| @@ -34,6 +35,17 @@ | |||
| 34 | </form> | 35 | </form> |
| 35 | </div> | 36 | </div> |
| 36 | </div> | 37 | </div> |
| 38 | {% else %} | ||
| 39 | <div class="alert alert-info"> | ||
| 40 | <p class="lead"> | ||
| 41 | Toaster has not target information. To generate target information you can:<br/> | ||
| 42 | <ul class="lead"> | ||
| 43 | <li style="margin-top: 10px"> <a href="https://wiki.yoctoproject.org/wiki/Setting_up_a_hosted_managed_mode_for_Toaster#LayerSources">Configure a layer source</a></li> | ||
| 44 | <li style="margin-top: 10px"> <a href="{% url 'importlayer' %}">Import a layer</a></li> | ||
| 45 | </ul> | ||
| 46 | </p> | ||
| 47 | </div> | ||
| 48 | {% endif %} | ||
| 37 | 49 | ||
| 38 | {% else %} | 50 | {% else %} |
| 39 | 51 | ||
