2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 21:15:41 +00:00

Removed footable

- Now using bootstrap-table
This commit is contained in:
Oliver
2018-05-02 22:22:43 +10:00
parent 024fe04e0e
commit 211edb23bb
14 changed files with 4 additions and 7742 deletions

View File

@ -3,8 +3,6 @@
{% block css %}
<link rel='stylesheet' href="{% static 'css/footable.bootstrap.css' %}">
{% endblock %}
{% block details %}
@ -46,12 +44,10 @@
{% endblock %}
{% block js_load %}
<script type='text/javascript' src="{% static 'script/footable.js' %}"></script>
<script type='text/javascript' src="{% static 'script/modal_form.js' %}"></script>
{% endblock %}
{% block js_ready %}
$('#bom-table').footable();
$('#bom-table').on('click', '.delete-row-button', function () {
var button = $(this);

View File

@ -37,7 +37,6 @@
{% endblock %}
{% block js_load %}
<script type='text/javascript' src="{% static 'script/footable.js' %}"></script>``
<script type='text/javascript' src="{% static 'script/modal_form.js' %}"></script>
{% endblock %}
{% block js_ready %}

View File

@ -28,11 +28,9 @@
{% block js_load %}
<script type='text/javascript' src="{% static 'script/footable.js' %}"></script>
<script type='text/javascript' src="{% static 'script/modal_form.js' %}"></script>
{% endblock %}
{% block js_ready %}
$('#part-list').footable();
$("#create-cat").click(function() {
launchModalForm("#modal-form",

View File

@ -59,12 +59,10 @@
{% block js_load %}
{{ block.super }}
<script type='text/javascript' src="{% static 'script/footable.js' %}"></script>
{% endblock %}
{% block js_ready %}
{{ block.super }}
$('#stock-table').footable();
$('#add-stock-item').click(function () {
launchModalForm("#modal-form",
"{% url 'stock-item-create' %}",

View File

@ -39,11 +39,9 @@
{% block js_load %}
{{ block.super }}
<script type='text/javascript' src="{% static 'script/footable.js' %}"></script>``
{% endblock %}
{% block js_ready %}
{{ block.super }}
$('#supplier-table').footable();
$('#supplier-create').click(function () {
launchModalForm("#modal-form",