mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
modifiy sidebar code
This commit is contained in:
parent
502d701a70
commit
49f9cc7edc
8681
InvenTree/InvenTree/static/script/jstree/jstree.js
Normal file
8681
InvenTree/InvenTree/static/script/jstree/jstree.js
Normal file
File diff suppressed because it is too large
Load Diff
6
InvenTree/InvenTree/static/script/jstree/jstree.min.js
vendored
Normal file
6
InvenTree/InvenTree/static/script/jstree/jstree.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 6.4 KiB |
File diff suppressed because it is too large
Load Diff
1
InvenTree/InvenTree/static/script/jstree/themes/default-dark/style.min.css
vendored
Normal file
1
InvenTree/InvenTree/static/script/jstree/themes/default-dark/style.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
InvenTree/InvenTree/static/script/jstree/themes/default/32px.png
Normal file
BIN
InvenTree/InvenTree/static/script/jstree/themes/default/32px.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.5 KiB |
BIN
InvenTree/InvenTree/static/script/jstree/themes/default/40px.png
Normal file
BIN
InvenTree/InvenTree/static/script/jstree/themes/default/40px.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
1106
InvenTree/InvenTree/static/script/jstree/themes/default/style.css
Normal file
1106
InvenTree/InvenTree/static/script/jstree/themes/default/style.css
Normal file
File diff suppressed because it is too large
Load Diff
1
InvenTree/InvenTree/static/script/jstree/themes/default/style.min.css
vendored
Normal file
1
InvenTree/InvenTree/static/script/jstree/themes/default/style.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
@ -5,6 +5,7 @@
|
||||
{% settings_value "PART_INTERNAL_PRICE" as show_internal_price %}
|
||||
{% settings_value 'PART_SHOW_RELATED' as show_related %}
|
||||
|
||||
{% include "sidebar_toggle.html" with target="#sidetree" %}
|
||||
{% trans "Parameters" as text %}
|
||||
{% include "sidebar_item.html" with label="part-parameters" text=text icon="fa-th-list" %}
|
||||
{% if part.is_template %}
|
||||
|
@ -73,6 +73,12 @@
|
||||
<div class='main body wrapper container-fluid inventree-body'>
|
||||
|
||||
<div class='row flex-nowrap inventree-body'>
|
||||
<div class='col-auto px-1 sidetree-wrapper'>
|
||||
<div id='sidetree' class='collapse collapse-horizontal show border-end' style='display: none;'>
|
||||
{% block sidetree %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
<div class='col-auto px-1 sidebar-wrapper'>
|
||||
<div id='sidebar' class='collapse collapse-horizontal show border-end' style='display: none;'>
|
||||
<div id='sidebar-nav' class='list-group text-sm-start'>
|
||||
@ -80,7 +86,7 @@
|
||||
{% block sidebar %}
|
||||
<!-- Sidebar goes here -->
|
||||
{% endblock %}
|
||||
{% include "sidebar_toggle.html" %}
|
||||
{% include "sidebar_toggle.html" with target='sidebar' %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,3 +1,3 @@
|
||||
<a href="#" id='sidebar-toggle' class="list-group-item sidebar-list-group-item border-end-0 d-inline-block text-truncate sidebar-toggle" data-bs-parent="#sidebar" style='display: none;'>
|
||||
<i class="bi bi-bootstrap"></i><span id='sidebar-toggle-icon' class='sidebar-item-icon fas fa-chevron-left'></span>
|
||||
<a href="#" id='{{ target }}-toggle' class="list-group-item {{ target }}-list-group-item border-end-0 d-inline-block text-truncate {{ target }}-toggle" data-bs-parent="#{{ target }}" style='display: none;'>
|
||||
<i class="bi bi-bootstrap"></i><span id='{{ target }}-toggle-icon' class='{{ target }}-item-icon fas fa-chevron-left'></span>
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user