diff options
Diffstat (limited to 'import-layers/yocto-poky/bitbake/lib/toaster/toastergui/templates/projects-toastertable.html')
-rw-r--r-- | import-layers/yocto-poky/bitbake/lib/toaster/toastergui/templates/projects-toastertable.html | 58 |
1 files changed, 32 insertions, 26 deletions
diff --git a/import-layers/yocto-poky/bitbake/lib/toaster/toastergui/templates/projects-toastertable.html b/import-layers/yocto-poky/bitbake/lib/toaster/toastergui/templates/projects-toastertable.html index 5814f32d0..d8020a97f 100644 --- a/import-layers/yocto-poky/bitbake/lib/toaster/toastergui/templates/projects-toastertable.html +++ b/import-layers/yocto-poky/bitbake/lib/toaster/toastergui/templates/projects-toastertable.html @@ -4,33 +4,39 @@ {% 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); +<div class="row"> + <div class="col-md-12"> + + <div class="page-header"> + <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> + </script> + + </div> +</div> {% endblock %} |