diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/machines.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/machines.html | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/machines.html b/bitbake/lib/toaster/toastergui/templates/machines.html index 9b2a540f31..1057bdda3f 100644 --- a/bitbake/lib/toaster/toastergui/templates/machines.html +++ b/bitbake/lib/toaster/toastergui/templates/machines.html | |||
@@ -47,16 +47,25 @@ | |||
47 | <button type="button" class="close" id="dismiss-alert">×</button> | 47 | <button type="button" class="close" id="dismiss-alert">×</button> |
48 | <span id="alert-msg"></span> | 48 | <span id="alert-msg"></span> |
49 | </div> | 49 | </div> |
50 | {% if request.GET.search and objects.paginator.count == 0 %} | 50 | {% if objects.paginator.count == 0 %} |
51 | <div class="alert row-fluid"> | 51 | {% if request.GET.search %} |
52 | <form class="navbar-search input-append pull-left" id="searchform"> | 52 | <div class="alert row-fluid"> |
53 | <input class="input-xxlarge" id="search" name="search" type="text" placeholder="Search machines" value="{{request.GET.search}}"><a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a> | 53 | <form class="navbar-search input-append pull-left" id="searchform"> |
54 | <input type="hidden" name="orderby" value=""> | 54 | <input class="input-xxlarge" id="search" name="search" type="text" placeholder="Search machines" value="{{request.GET.search}}"><a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a> |
55 | <input type="hidden" name="page" value="1"> | 55 | <input type="hidden" name="orderby" value=""> |
56 | <button class="btn" type="submit" value="Search">Search</button> | 56 | <input type="hidden" name="page" value="1"> |
57 | <button type="submit" class="btn btn-link" id="show-all-btn">Show all machines</button> | 57 | <button class="btn" type="submit" value="Search">Search</button> |
58 | </form> | 58 | <button type="submit" class="btn btn-link" id="show-all-btn">Show all machines</button> |
59 | </div> | 59 | </form> |
60 | </div> | ||
61 | {% else %} | ||
62 | <div class="alert alert-info"> | ||
63 | <p class="lead"> | ||
64 | Toaster has no machine information. To fetch machine information you should <a href="https://wiki.yoctoproject.org/wiki/Setting_up_a_hosted_managed_mode_for_Toaster#LayerSources">configure a layer source</a> | ||
65 | </p> | ||
66 | </div> | ||
67 | {% endif %} | ||
68 | |||
60 | {% else %} | 69 | {% else %} |
61 | {% include "basetable_top.html" %} | 70 | {% include "basetable_top.html" %} |
62 | {% for o in objects %} | 71 | {% for o in objects %} |