2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-14 07:31:10 +00:00

first working example

This commit is contained in:
Matthias
2021-12-06 22:35:14 +01:00
parent de4d057b93
commit 70939a0cf9
6 changed files with 108 additions and 0 deletions

View File

@@ -6,6 +6,10 @@
{% include 'part/category_sidebar.html' %}
{% endblock %}
{% block sidetree %}
<div id="tree"></div>
{% endblock %}
{% block heading %}
{% if category %}
{% trans "Part Category" %}: {{ category.name }}
@@ -240,6 +244,7 @@
{% endif %}
enableSidebar('category');
enableSidetree('category');
loadPartCategoryTable(
$('#subcategory-table'), {

View File

@@ -9,6 +9,10 @@
{% include 'part/part_sidebar.html' %}
{% endblock %}
{% block sidetree %}
<div id="tree"></div>
{% endblock %}
{% block page_content %}
<div class='panel panel-hidden' id='panel-part-stock'>
@@ -1061,5 +1065,6 @@
{% endif %}
enableSidebar('part');
enableSidetree('part');
{% endblock %}