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

Fancify all the menubars

This commit is contained in:
Oliver Walters
2021-02-25 09:10:20 +11:00
parent fe42d5c54d
commit 26e80fa0ab
12 changed files with 112 additions and 96 deletions

View File

@ -92,8 +92,9 @@ InvenTree | {% trans "Company" %} - {{ company.name }}
{% block js_ready %}
{{ block.super }}
enableRightNavbar({
minWidth: '50px'
enableNavbar({
label: 'company',
toggleId: '#company-menu-toggle'
});
$('#company-edit').click(function() {

View File

@ -3,7 +3,7 @@
<ul class='list-group'>
<li class='list-group-item'>
<a href='#' id='company-menu-toggle'>
<a href='#' id='supplier-part-menu-toggle'>
<span class='menu-tab-icon fas fa-expand-arrows-alt'></span>
</a>
</li>

View File

@ -120,9 +120,10 @@ src="{% static 'img/blank_image.png' %}"
{% block js_ready %}
{{ block.super }}
enableRightNavbar({
minWidth: '50px'
});
enableNavbar({
label: 'supplier-part',
toggleId: '#supplier-part-menu-toggle'
})
$('#order-part, #order-part2').click(function() {
launchModalForm(