2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 12:35:46 +00:00

Javascript consolidation

This commit is contained in:
Oliver
2018-04-29 12:25:07 +10:00
parent 55310be393
commit aca0d236ee
12 changed files with 71 additions and 26 deletions

View File

@ -20,6 +20,12 @@
</tbody>
</table>
<div class='container-fluid'>
<button class="btn btn-success" id='new-build'>Start New Build</button>
</div>
{% include 'modals.html' %}
{% endblock %}
{% block js_load %}
@ -28,4 +34,13 @@
{% endblock %}
{% block js_ready %}
$('#build-list').footable();
$("#new-build").click(function() {
launchModalForm("#modal-form",
"{% url 'build-create' %}",
{
follow: true
});
});
{% endblock %}