mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-01 11:10:54 +00:00
Skeleton for AJAXified build table
This commit is contained in:
@ -23,6 +23,9 @@ InvenTree | Build List
|
||||
|
||||
<hr>
|
||||
|
||||
<table class='table table-striped table-condensed' id='build-table'>
|
||||
</table>
|
||||
|
||||
{% include "build/build_list.html" with builds=active title="Active Builds" completed=False collapse_id='active' %}
|
||||
|
||||
{% include "build/build_list.html" with builds=completed completed=True title="Completed Builds" collapse_id="complete" %}
|
||||
@ -44,6 +47,10 @@ InvenTree | Build List
|
||||
});
|
||||
});
|
||||
|
||||
loadBuildTable($("#build-table"), {
|
||||
url: "{% url 'api-build-list' %}"
|
||||
});
|
||||
|
||||
$(".build-table").inventreeTable({
|
||||
formatNoMatches: function() { return 'No builds found'; },
|
||||
columns: [
|
||||
|
Reference in New Issue
Block a user