diff options
Diffstat (limited to 'yocto-poky/bitbake/lib/toaster/toastergui/templates/projects-toastertable.html')
-rw-r--r-- | yocto-poky/bitbake/lib/toaster/toastergui/templates/projects-toastertable.html | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/yocto-poky/bitbake/lib/toaster/toastergui/templates/projects-toastertable.html b/yocto-poky/bitbake/lib/toaster/toastergui/templates/projects-toastertable.html deleted file mode 100644 index 5814f32d0..000000000 --- a/yocto-poky/bitbake/lib/toaster/toastergui/templates/projects-toastertable.html +++ /dev/null @@ -1,36 +0,0 @@ -{% extends 'base.html' %} - -{% block title %} All projects - Toaster {% endblock %} - -{% block pagecontent %} - - <div class="page-header top-air"> - <h1 data-role="page-title"></h1> - </div> - - {% url 'projects' as xhr_table_url %} - {% include 'toastertable.html' %} - - <script> - $(document).ready(function () { - var tableElt = $("#{{table_name}}"); - var titleElt = $("[data-role='page-title']"); - - tableElt.on("table-done", function (e, total, tableParams) { - var title = "All projects"; - - if (tableParams.search || tableParams.filter) { - if (total === 0) { - title = "No projects found"; - } - else if (total > 0) { - title = total + " project" + (total > 1 ? 's' : '') + " found"; - } - } - - titleElt.text(title); - }); - }); - </script> - -{% endblock %} |