same nav sidebar distance for everything

This commit is contained in:
Matthias 2021-06-05 15:18:08 +02:00
parent 92f77b6bbb
commit 05d79a4c19
11 changed files with 62 additions and 58 deletions

View File

@ -957,3 +957,7 @@ input[type="date"].form-control, input[type="time"].form-control, input[type="da
.clip-btn:hover { .clip-btn:hover {
background: var(--label-grey); background: var(--label-grey);
} }
.sidebar-icon {
min-width: 19px;
}

View File

@ -11,7 +11,7 @@
<li class='list-group-item {% if tab == "details" %}active{% endif %}' title='{% trans "Build Order Details" %}'> <li class='list-group-item {% if tab == "details" %}active{% endif %}' title='{% trans "Build Order Details" %}'>
<a href='{% url "build-detail" build.id %}'> <a href='{% url "build-detail" build.id %}'>
<span class='fas fa-info-circle'></span> <span class='fas fa-info-circle sidebar-icon'></span>
{% trans "Details" %} {% trans "Details" %}
</a> </a>
</li> </li>
@ -20,7 +20,7 @@
<li class='list-group-item {% if tab == "allocate" %}active{% endif %}' title='{% trans "Allocate Stock" %}'> <li class='list-group-item {% if tab == "allocate" %}active{% endif %}' title='{% trans "Allocate Stock" %}'>
<a href='{% url "build-allocate" build.id %}'> <a href='{% url "build-allocate" build.id %}'>
<span class='fas fa-tools'></span> <span class='fas fa-tools sidebar-icon'></span>
{% trans "Allocate Stock" %} {% trans "Allocate Stock" %}
</a> </a>
</li> </li>
@ -28,28 +28,28 @@
<li class='list-group-item {% if tab == "output" %}active{% endif %}' title='{% trans "Build Outputs" %}'> <li class='list-group-item {% if tab == "output" %}active{% endif %}' title='{% trans "Build Outputs" %}'>
<a href='{% url "build-output" build.id %}'> <a href='{% url "build-output" build.id %}'>
<span class='fas fa-box'></span> <span class='fas fa-box sidebar-icon'></span>
{% trans "Build Outputs" %} {% trans "Build Outputs" %}
</a> </a>
</li> </li>
<li class='list-group-item {% if tab == "children" %}active{% endif %}' title='{% trans "Child Build Orders" %}'> <li class='list-group-item {% if tab == "children" %}active{% endif %}' title='{% trans "Child Build Orders" %}'>
<a href='{% url "build-children" build.id %}'> <a href='{% url "build-children" build.id %}'>
<span class='fas fa-sitemap'></span> <span class='fas fa-sitemap sidebar-icon'></span>
{% trans "Child Builds" %} {% trans "Child Builds" %}
</a> </a>
</li> </li>
<li class='list-group-item {% if tab == "attachments" %}active{% endif %}' title='{% trans "Attachments" %}'> <li class='list-group-item {% if tab == "attachments" %}active{% endif %}' title='{% trans "Attachments" %}'>
<a href='{% url "build-attachments" build.id %}'> <a href='{% url "build-attachments" build.id %}'>
<span class='fas fa-paperclip'></span> <span class='fas fa-paperclip sidebar-icon'></span>
{% trans "Attachments" %} {% trans "Attachments" %}
</a> </a>
</li> </li>
<li class='list-group-item {% if tab == "notes" %}active{% endif %}' title='{% trans "Build Order Notes" %}'> <li class='list-group-item {% if tab == "notes" %}active{% endif %}' title='{% trans "Build Order Notes" %}'>
<a href='{% url "build-notes" build.id %}'> <a href='{% url "build-notes" build.id %}'>
<span class='fas fa-clipboard'></span> <span class='fas fa-clipboard sidebar-icon'></span>
{% trans "Notes" %} {% trans "Notes" %}
</a> </a>
</li> </li>

View File

@ -10,7 +10,7 @@
<li class='list-group-item {% if tab == "suppliers" %}active{% endif %}' title='{% trans "Supplier Parts" %}'> <li class='list-group-item {% if tab == "suppliers" %}active{% endif %}' title='{% trans "Supplier Parts" %}'>
<a href='{% url "manufacturer-part-suppliers" part.id %}'> <a href='{% url "manufacturer-part-suppliers" part.id %}'>
<span class='fas fa-building'></span> <span class='fas fa-building sidebar-icon'></span>
{% trans "Suppliers" %} {% trans "Suppliers" %}
</a> </a>
</li> </li>
@ -18,14 +18,14 @@
{% comment "for later" %} {% comment "for later" %}
<li class='list-group-item {% if tab == "stock" %}active{% endif %}' title='{% trans "Manufacturer Part Stock" %}'> <li class='list-group-item {% if tab == "stock" %}active{% endif %}' title='{% trans "Manufacturer Part Stock" %}'>
<a href='{% url "manufacturer-part-stock" part.id %}'> <a href='{% url "manufacturer-part-stock" part.id %}'>
<span class='fas fa-boxes'></span> <span class='fas fa-boxes sidebar-icon'></span>
{% trans "Stock" %} {% trans "Stock" %}
</a> </a>
</li> </li>
<li class='list-group-item {% if tab == "orders" %}active{% endif %}' title='{% trans "Manufacturer Part Orders" %}'> <li class='list-group-item {% if tab == "orders" %}active{% endif %}' title='{% trans "Manufacturer Part Orders" %}'>
<a href='{% url "manufacturer-part-orders" part.id %}'> <a href='{% url "manufacturer-part-orders" part.id %}'>
<span class='fas fa-shopping-cart'></span> <span class='fas fa-shopping-cart sidebar-icon'></span>
{% trans "Orders" %} {% trans "Orders" %}
</a> </a>
</li> </li>

View File

@ -11,7 +11,7 @@
<li class='list-group-item {% if tab == "details" %}active{% endif %}' title='{% trans "Company Details" %}'> <li class='list-group-item {% if tab == "details" %}active{% endif %}' title='{% trans "Company Details" %}'>
<a href='{% url "company-detail" company.id %}'> <a href='{% url "company-detail" company.id %}'>
<span class='fas fa-info-circle'></span> <span class='fas fa-info-circle sidebar-icon'></span>
{% trans "Details" %} {% trans "Details" %}
</a> </a>
</li> </li>
@ -19,7 +19,7 @@
{% if company.is_manufacturer %} {% if company.is_manufacturer %}
<li class='list-group-item {% if tab == "manufacturer_parts" %}active{% endif %}' title='{% trans "Manufactured Parts" %}'> <li class='list-group-item {% if tab == "manufacturer_parts" %}active{% endif %}' title='{% trans "Manufactured Parts" %}'>
<a href='{% url "company-detail-manufacturer-parts" company.id %}'> <a href='{% url "company-detail-manufacturer-parts" company.id %}'>
<span class='fas fa-industry'></span> <span class='fas fa-industry sidebar-icon'></span>
{% trans "Manufactured Parts" %} {% trans "Manufactured Parts" %}
</a> </a>
</li> </li>
@ -28,7 +28,7 @@
{% if company.is_supplier or company.is_manufacturer %} {% if company.is_supplier or company.is_manufacturer %}
<li class='list-group-item {% if tab == "supplier_parts" %}active{% endif %}' title='{% trans "Supplied Parts" %}'> <li class='list-group-item {% if tab == "supplier_parts" %}active{% endif %}' title='{% trans "Supplied Parts" %}'>
<a href='{% url "company-detail-supplier-parts" company.id %}'> <a href='{% url "company-detail-supplier-parts" company.id %}'>
<span class='fas fa-building'></span> <span class='fas fa-building sidebar-icon'></span>
{% trans "Supplied Parts" %} {% trans "Supplied Parts" %}
</a> </a>
</li> </li>
@ -37,7 +37,7 @@
{% if company.is_manufacturer or company.is_supplier %} {% if company.is_manufacturer or company.is_supplier %}
<li class='list-group-item {% if tab == "stock" %}active{% endif %}' title='{% trans "Stock Items" %}'> <li class='list-group-item {% if tab == "stock" %}active{% endif %}' title='{% trans "Stock Items" %}'>
<a href='{% url "company-detail-stock" company.id %}'> <a href='{% url "company-detail-stock" company.id %}'>
<span class='fas fa-boxes'></span> <span class='fas fa-boxes sidebar-icon'></span>
{% trans "Stock" %} {% trans "Stock" %}
</a> </a>
</li> </li>
@ -46,7 +46,7 @@
{% if company.is_supplier %} {% if company.is_supplier %}
<li class='list-group-item {% if tab == "po" %}active{% endif %}' title='{% trans "Sales Orders" %}'> <li class='list-group-item {% if tab == "po" %}active{% endif %}' title='{% trans "Sales Orders" %}'>
<a href='{% url "company-detail-purchase-orders" company.id %}'> <a href='{% url "company-detail-purchase-orders" company.id %}'>
<span class='fas fa-shopping-cart'></span> <span class='fas fa-shopping-cart sidebar-icon'></span>
{% trans "Purchase Orders" %} {% trans "Purchase Orders" %}
</a> </a>
</li> </li>
@ -55,13 +55,13 @@
{% if company.is_customer %} {% if company.is_customer %}
<li class='list-group-item {% if tab == "so" %}active{% endif %}' title='{% trans "Sales Orders" %}'> <li class='list-group-item {% if tab == "so" %}active{% endif %}' title='{% trans "Sales Orders" %}'>
<a href='{% url "company-detail-sales-orders" company.id %}'> <a href='{% url "company-detail-sales-orders" company.id %}'>
<span class='fas fa-truck'></span> <span class='fas fa-truck sidebar-icon'></span>
{% trans "Sales Orders" %} {% trans "Sales Orders" %}
</a> </a>
</li> </li>
<li class='list-group-item {% if tab == "assigned" %}active{% endif %}' title='{% trans "Assigned Stock" %}'> <li class='list-group-item {% if tab == "assigned" %}active{% endif %}' title='{% trans "Assigned Stock" %}'>
<a href='{% url "company-detail-assigned-stock" company.id %}'> <a href='{% url "company-detail-assigned-stock" company.id %}'>
<span class='fas fa-sign-out-alt'></span> <span class='fas fa-sign-out-alt sidebar-icon'></span>
{% trans "Assigned Stock" %} {% trans "Assigned Stock" %}
</a> </a>
</li> </li>
@ -69,7 +69,7 @@
<li class='list-group-item {% if tab == "notes" %}active{% endif %}' titl='{% trans "Notes" %}'> <li class='list-group-item {% if tab == "notes" %}active{% endif %}' titl='{% trans "Notes" %}'>
<a href='{% url "company-notes" company.id %}'> <a href='{% url "company-notes" company.id %}'>
<span class='fas fa-clipboard'></span> <span class='fas fa-clipboard sidebar-icon'></span>
{% trans "Notes" %} {% trans "Notes" %}
</a> </a>
</li> </li>

View File

@ -11,21 +11,21 @@
<li class='list-group-item {% if tab == "stock" %}active{% endif %}' title='{% trans "Supplier Part Stock" %}'> <li class='list-group-item {% if tab == "stock" %}active{% endif %}' title='{% trans "Supplier Part Stock" %}'>
<a href='{% url "supplier-part-stock" part.id %}'> <a href='{% url "supplier-part-stock" part.id %}'>
<span class='fas fa-boxes'></span> <span class='fas fa-boxes sidebar-icon'></span>
{% trans "Stock" %} {% trans "Stock" %}
</a> </a>
</li> </li>
<li class='list-group-item {% if tab == "orders" %}active{% endif %}' title='{% trans "Supplier Part Orders" %}'> <li class='list-group-item {% if tab == "orders" %}active{% endif %}' title='{% trans "Supplier Part Orders" %}'>
<a href='{% url "supplier-part-orders" part.id %}'> <a href='{% url "supplier-part-orders" part.id %}'>
<span class='fas fa-shopping-cart'></span> <span class='fas fa-shopping-cart sidebar-icon'></span>
{% trans "Orders" %} {% trans "Orders" %}
</a> </a>
</li> </li>
<li class='list-group-item {% if tab == "pricing" %}active{% endif %}' title='{% trans "Supplier Part Pricing" %}'> <li class='list-group-item {% if tab == "pricing" %}active{% endif %}' title='{% trans "Supplier Part Pricing" %}'>
<a href='{% url "supplier-part-pricing" part.id %}'> <a href='{% url "supplier-part-pricing" part.id %}'>
<span class='fas fa-dollar-sign'></span> <span class='fas fa-dollar-sign sidebar-icon'></span>
{% trans "Pricing" %} {% trans "Pricing" %}
</a> </a>
</li> </li>

View File

@ -11,33 +11,33 @@
</li> </li>
<li class='list-group-item {% if tab == "details" %}active{% endif %}' title='{% trans "Purchase Order Details" %}'> <li class='list-group-item {% if tab == "details" %}active{% endif %}' title='{% trans "Purchase Order Details" %}'>
<a href='{% url "po-detail" order.id %}'> <a href='{% url "po-detail" order.id %}'>
<span class='fas fa-info-circle'></span> <span class='fas fa-info-circle side-icon'></span>
{% trans "Details" %} {% trans "Details" %}
</a> </a>
</li> </li>
{% if order.status == PurchaseOrderStatus.PENDING and roles.purchase_order.change %} {% if order.status == PurchaseOrderStatus.PENDING and roles.purchase_order.change %}
<li class='list-group-item {% if tab == "upload" %}active{% endif %}' title='{% trans "Upload File" %}'> <li class='list-group-item {% if tab == "upload" %}active{% endif %}' title='{% trans "Upload File" %}'>
<a href='{% url "po-upload" order.id %}'> <a href='{% url "po-upload" order.id %}'>
<span class='fas fa-file-upload'></span> <span class='fas fa-file-upload side-icon'></span>
{% trans "Upload File" %} {% trans "Upload File" %}
</a> </a>
</li> </li>
{% endif %} {% endif %}
<li class='list-group-item {% if tab == "received" %}active{% endif %}' title='{% trans "Received Stock Items" %}'> <li class='list-group-item {% if tab == "received" %}active{% endif %}' title='{% trans "Received Stock Items" %}'>
<a href='{% url "po-received" order.id %}'> <a href='{% url "po-received" order.id %}'>
<span class='fas fa-sign-in-alt'></span> <span class='fas fa-sign-in-alt side-icon'></span>
{% trans "Received Items" %} {% trans "Received Items" %}
</a> </a>
</li> </li>
<li class='list-group-item {% if tab == "attachments" %}active{% endif %}' title='{% trans "Purchase Order Attachments" %}'> <li class='list-group-item {% if tab == "attachments" %}active{% endif %}' title='{% trans "Purchase Order Attachments" %}'>
<a href='{% url "po-attachments" order.id %}'> <a href='{% url "po-attachments" order.id %}'>
<span class='fas fa-paperclip'></span> <span class='fas fa-paperclip side-icon'></span>
{% trans "Attachments" %} {% trans "Attachments" %}
</a> </a>
</li> </li>
<li class='list-group-item {% if tab == "notes" %}active{% endif %}' title='{% trans "Notes" %}'> <li class='list-group-item {% if tab == "notes" %}active{% endif %}' title='{% trans "Notes" %}'>
<a href='{% url "po-notes" order.id %}'> <a href='{% url "po-notes" order.id %}'>
<span class='fas fa-clipboard'></span> <span class='fas fa-clipboard side-icon'></span>
{% trans "Notes" %} {% trans "Notes" %}
</a> </a>
</li> </li>

View File

@ -11,28 +11,28 @@
<li class='list-group-item {% if tab == "details" %}active{% endif %}' title='{% trans "Sales Order Details" %}'> <li class='list-group-item {% if tab == "details" %}active{% endif %}' title='{% trans "Sales Order Details" %}'>
<a href='{% url "so-detail" order.id %}'> <a href='{% url "so-detail" order.id %}'>
<span class='fas fa-info-circle'></span> <span class='fas fa-info-circle sidebar-icon'></span>
{% trans "Details" %} {% trans "Details" %}
</a> </a>
</li> </li>
<li class='list-group-item {% if tab == "builds" %}active{% endif %}' title='{% trans "Build Orders" %}'> <li class='list-group-item {% if tab == "builds" %}active{% endif %}' title='{% trans "Build Orders" %}'>
<a href='{% url "so-builds" order.id %}'> <a href='{% url "so-builds" order.id %}'>
<span class='fas fa-tools'></span> <span class='fas fa-tools sidebar-icon'></span>
{% trans "Build Orders" %} {% trans "Build Orders" %}
</a> </a>
</li> </li>
<li class='list-group-item {% if tab == "attachments" %}active{% endif %}' title='{% trans "Sales Order Attachments" %}'> <li class='list-group-item {% if tab == "attachments" %}active{% endif %}' title='{% trans "Sales Order Attachments" %}'>
<a href='{% url "so-attachments" order.id %}'> <a href='{% url "so-attachments" order.id %}'>
<span class='fas fa-paperclip'></span> <span class='fas fa-paperclip sidebar-icon'></span>
{% trans "Attachments" %} {% trans "Attachments" %}
</a> </a>
</li> </li>
<li class='list-group-item {% if tab == "notes" %}active{% endif %}' title='{% trans "Notes" %}'> <li class='list-group-item {% if tab == "notes" %}active{% endif %}' title='{% trans "Notes" %}'>
<a href='{% url "so-notes" order.id %}'> <a href='{% url "so-notes" order.id %}'>
<span class='fas fa-clipboard'></span> <span class='fas fa-clipboard sidebar-icon'></span>
{% trans "Notes" %} {% trans "Notes" %}
</a> </a>
</li> </li>

View File

@ -14,7 +14,7 @@
{% else %} {% else %}
<a href='{% url "category-index-subcategory" %}'> <a href='{% url "category-index-subcategory" %}'>
{% endif %} {% endif %}
<span class='fas fa-sitemap'></span> <span class='fas fa-sitemap sidebar-icon'></span>
{% trans "Subcategories" %} {% trans "Subcategories" %}
</a> </a>
</li> </li>
@ -25,7 +25,7 @@
{% else %} {% else %}
<a href='{% url "part-index" %}'> <a href='{% url "part-index" %}'>
{% endif %} {% endif %}
<span class='fas fa-shapes'></span> <span class='fas fa-shapes sidebar-icon'></span>
{% trans "Parts" %} {% trans "Parts" %}
</a> </a>
</li> </li>
@ -33,7 +33,7 @@
{% if category %} {% if category %}
<li class='list-group-item {% if tab == "parameters" %}active{% endif %}' title='{% trans "Parameters" %}'> <li class='list-group-item {% if tab == "parameters" %}active{% endif %}' title='{% trans "Parameters" %}'>
<a href='{% url "category-parametric" category.id %}'> <a href='{% url "category-parametric" category.id %}'>
<span class='fas fa-tasks'></span> <span class='fas fa-tasks sidebar-icon'></span>
{% trans "Parameters" %} {% trans "Parameters" %}
</a> </a>
</li> </li>

View File

@ -10,7 +10,7 @@
</li> </li>
<li class='list-group-item {% if tab == "details" %}active{% endif %}' title='{% trans "Part Details" %}'> <li class='list-group-item {% if tab == "details" %}active{% endif %}' title='{% trans "Part Details" %}'>
<a href='{% url "part-detail" part.id %}'> <a href='{% url "part-detail" part.id %}'>
<span class='menu-tab-icon fas fa-info-circle'></span> <span class='menu-tab-icon fas fa-info-circle sidebar-icon'></span>
<span class='tab-text'> <span class='tab-text'>
{% trans "Details" %} {% trans "Details" %}
</span> </span>
@ -18,28 +18,28 @@
</li> </li>
<li class='list-group-item {% if tab == "params" %}active{% endif %}' title='{% trans "Part Parameters" %}'> <li class='list-group-item {% if tab == "params" %}active{% endif %}' title='{% trans "Part Parameters" %}'>
<a href='{% url "part-params" part.id %}'> <a href='{% url "part-params" part.id %}'>
<span class='menu-tab-icon fas fa-tasks'></span> <span class='menu-tab-icon fas fa-tasks sidebar-icon'></span>
{% trans "Parameters" %} {% trans "Parameters" %}
</a> </a>
</li> </li>
{% if part.is_template %} {% if part.is_template %}
<li class='list-group-item {% if tab == "variants" %}active{% endif %}' title='{% trans "Part Variants" %}'> <li class='list-group-item {% if tab == "variants" %}active{% endif %}' title='{% trans "Part Variants" %}'>
<a href='{% url "part-variants" part.id %}'> <a href='{% url "part-variants" part.id %}'>
<span class='menu-tab-icon fas fa-shapes'></span> <span class='menu-tab-icon fas fa-shapes sidebar-icon'></span>
{% trans "Variants" %} {% trans "Variants" %}
</a> </a>
</li> </li>
{% endif %} {% endif %}
<li class='list-group-item {% if tab == "stock" %}active{% endif %}' title='{% trans "Stock Items" %}'> <li class='list-group-item {% if tab == "stock" %}active{% endif %}' title='{% trans "Stock Items" %}'>
<a href='{% url "part-stock" part.id %}'> <a href='{% url "part-stock" part.id %}'>
<span class='menu-tab-icon fas fa-boxes'></span> <span class='menu-tab-icon fas fa-boxes sidebar-icon'></span>
{% trans "Stock" %} {% trans "Stock" %}
</a> </a>
</li> </li>
{% if part.component or part.salable %} {% if part.component or part.salable %}
<li class='list-group-item {% if tab == "allocation" %}active{% endif %}' title='{% trans "Allocated Stock" %}'> <li class='list-group-item {% if tab == "allocation" %}active{% endif %}' title='{% trans "Allocated Stock" %}'>
<a href='{% url "part-allocation" part.id %}'> <a href='{% url "part-allocation" part.id %}'>
<span class='menu-tab-icon fas fa-sign-out-alt'></span> <span class='menu-tab-icon fas fa-sign-out-alt sidebar-icon'></span>
{% trans "Allocations" %} {% trans "Allocations" %}
</a> </a>
</li> </li>
@ -47,14 +47,14 @@
{% if part.assembly %} {% if part.assembly %}
<li class='list-group-item {% if tab == "bom" %}active{% endif %}' title='{% trans "Bill of Materials" %}'> <li class='list-group-item {% if tab == "bom" %}active{% endif %}' title='{% trans "Bill of Materials" %}'>
<a href='{% url "part-bom" part.id %}'> <a href='{% url "part-bom" part.id %}'>
<span class='menu-tab-icon fas fa-list'></span> <span class='menu-tab-icon fas fa-list sidebar-icon'></span>
{% trans "Bill of Materials" %} {% trans "Bill of Materials" %}
</a> </a>
</li> </li>
{% if roles.build.view %} {% if roles.build.view %}
<li class='list-group-item {% if tab == "build" %}active{% endif %}' title='{% trans "Build Orders" %}'> <li class='list-group-item {% if tab == "build" %}active{% endif %}' title='{% trans "Build Orders" %}'>
<a href='{% url "part-build" part.id %}'> <a href='{% url "part-build" part.id %}'>
<span class='menu-tab-icon fas fa-tools'></span> <span class='menu-tab-icon fas fa-tools sidebar-icon'></span>
{% trans "Build Orders" %} {% trans "Build Orders" %}
</a> </a>
</li> </li>
@ -63,7 +63,7 @@
{% if part.component %} {% if part.component %}
<li class='list-group-item {% if tab == "used" %}active{% endif %}' title='{% trans "Used In" %}'> <li class='list-group-item {% if tab == "used" %}active{% endif %}' title='{% trans "Used In" %}'>
<a href='{% url "part-used-in" part.id %}'> <a href='{% url "part-used-in" part.id %}'>
<span class='menu-tab-icon fas fa-layer-group'></span> <span class='menu-tab-icon fas fa-layer-group sidebar-icon'></span>
{% trans "Used In" %} {% trans "Used In" %}
</a> </a>
</li> </li>
@ -71,25 +71,25 @@
{% if part.purchaseable and roles.purchase_order.view %} {% if part.purchaseable and roles.purchase_order.view %}
<li class='list-group-item {% if tab == "order-prices" %}active{% endif %}' title='{% trans "Order Price Information" %}'> <li class='list-group-item {% if tab == "order-prices" %}active{% endif %}' title='{% trans "Order Price Information" %}'>
<a href='{% url "part-order-prices" part.id %}'> <a href='{% url "part-order-prices" part.id %}'>
<span class='menu-tab-icon fas fa-dollar-sign' style='width: 20px;'></span> <span class='menu-tab-icon fas fa-dollar-sign sidebar-icon'></span>
{% trans "Order Price" %} {% trans "Order Price" %}
</a> </a>
</li> </li>
<li class='list-group-item {% if tab == "manufacturers" %}active{% endif %}' title='{% trans "Manufacturers" %}'> <li class='list-group-item {% if tab == "manufacturers" %}active{% endif %}' title='{% trans "Manufacturers" %}'>
<a href='{% url "part-manufacturers" part.id %}'> <a href='{% url "part-manufacturers" part.id %}'>
<span class='menu-tab-icon fas fa-industry'></span> <span class='menu-tab-icon fas fa-industry sidebar-icon'></span>
{% trans "Manufacturers" %} {% trans "Manufacturers" %}
</a> </a>
</li> </li>
<li class='list-group-item {% if tab == "suppliers" %}active{% endif %}' title='{% trans "Suppliers" %}'> <li class='list-group-item {% if tab == "suppliers" %}active{% endif %}' title='{% trans "Suppliers" %}'>
<a href='{% url "part-suppliers" part.id %}'> <a href='{% url "part-suppliers" part.id %}'>
<span class='menu-tab-icon fas fa-building'></span> <span class='menu-tab-icon fas fa-building sidebar-icon'></span>
{% trans "Suppliers" %} {% trans "Suppliers" %}
</a> </a>
</li> </li>
<li class='list-group-item {% if tab == "orders" %}active{% endif %}' title='{% trans "Purchase Orders" %}'> <li class='list-group-item {% if tab == "orders" %}active{% endif %}' title='{% trans "Purchase Orders" %}'>
<a href='{% url "part-orders" part.id %}'> <a href='{% url "part-orders" part.id %}'>
<span class='menu-tab-icon fas fa-shopping-cart'></span> <span class='menu-tab-icon fas fa-shopping-cart sidebar-icon'></span>
{% trans "Purchase Orders" %} {% trans "Purchase Orders" %}
</a> </a>
</li> </li>
@ -97,13 +97,13 @@
{% if part.salable and roles.sales_order.view %} {% if part.salable and roles.sales_order.view %}
<li class='list-group-item {% if tab == "sales-prices" %}active{% endif %}' title='{% trans "Sales Price Information" %}'> <li class='list-group-item {% if tab == "sales-prices" %}active{% endif %}' title='{% trans "Sales Price Information" %}'>
<a href='{% url "part-sale-prices" part.id %}'> <a href='{% url "part-sale-prices" part.id %}'>
<span class='menu-tab-icon fas fa-dollar-sign' style='width: 20px;'></span> <span class='menu-tab-icon fas fa-dollar-sign sidebar-icon'></span>
{% trans "Sale Price" %} {% trans "Sale Price" %}
</a> </a>
</li> </li>
<li class='list-group-item {% if tab == "sales-orders" %}active{% endif %}' title='{% trans "Sales Orders" %}'> <li class='list-group-item {% if tab == "sales-orders" %}active{% endif %}' title='{% trans "Sales Orders" %}'>
<a href='{% url "part-sales-orders" part.id %}'> <a href='{% url "part-sales-orders" part.id %}'>
<span class='menu-tab-icon fas fa-truck'></span> <span class='menu-tab-icon fas fa-truck sidebar-icon'></span>
{% trans "Sales Orders" %} {% trans "Sales Orders" %}
</a> </a>
</li> </li>
@ -111,26 +111,26 @@
{% if part.trackable %} {% if part.trackable %}
<li class='list-group-item {% if tab == "tests" %}active{% endif %}' title='{% trans "Part Test Templates" %}'> <li class='list-group-item {% if tab == "tests" %}active{% endif %}' title='{% trans "Part Test Templates" %}'>
<a href='{% url "part-test-templates" part.id %}'> <a href='{% url "part-test-templates" part.id %}'>
<span class='menu-tab-icon fas fa-vial'></span> <span class='menu-tab-icon fas fa-vial sidebar-icon'></span>
{% trans "Tests" %} {% trans "Tests" %}
</a> </a>
</li> </li>
{% endif %} {% endif %}
<li class='list-group-item {% if tab == "related" %}active{% endif %}' title='{% trans "Related Parts" %}'> <li class='list-group-item {% if tab == "related" %}active{% endif %}' title='{% trans "Related Parts" %}'>
<a href='{% url "part-related" part.id %}'> <a href='{% url "part-related" part.id %}'>
<span class='menu-tab-icon fas fa-random'></span> <span class='menu-tab-icon fas fa-random sidebar-icon'></span>
{% trans "Related Parts" %} {% trans "Related Parts" %}
</a> </a>
</li> </li>
<li class='list-group-item {% if tab == "attachments" %}active{% endif %}' title='{% trans "Attachments" %}'> <li class='list-group-item {% if tab == "attachments" %}active{% endif %}' title='{% trans "Attachments" %}'>
<a href='{% url "part-attachments" part.id %}'> <a href='{% url "part-attachments" part.id %}'>
<span class='menu-tab-icon fas fa-paperclip'></span> <span class='menu-tab-icon fas fa-paperclip sidebar-icon'></span>
{% trans "Attachments" %} {% trans "Attachments" %}
</a> </a>
</li> </li>
<li class='list-group-item {% if tab == "notes" %}active{% endif %}' title='{% trans "Part Notes" %}'> <li class='list-group-item {% if tab == "notes" %}active{% endif %}' title='{% trans "Part Notes" %}'>
<a href='{% url "part-notes" part.id %}'> <a href='{% url "part-notes" part.id %}'>
<span class='menu-tab-icon fas fa-clipboard'></span> <span class='menu-tab-icon fas fa-clipboard sidebar-icon'></span>
{% trans "Notes" %} {% trans "Notes" %}
</a> </a>
</li> </li>

View File

@ -14,7 +14,7 @@
{% else %} {% else %}
<a href='{% url "stock-sublocations" %}'> <a href='{% url "stock-sublocations" %}'>
{% endif %} {% endif %}
<span class='fas fa-sitemap'></span> <span class='fas fa-sitemap sidebar-icon'></span>
{% trans "Sublocations" %} {% trans "Sublocations" %}
</a> </a>
</li> </li>
@ -25,7 +25,7 @@
{% else %} {% else %}
<a href='{% url "stock-index" %}'> <a href='{% url "stock-index" %}'>
{% endif %} {% endif %}
<span class='fas fa-boxes'></span> <span class='fas fa-boxes sidebar-icon'></span>
{% trans "Stock Items" %} {% trans "Stock Items" %}
</a> </a>
</li> </li>

View File

@ -10,7 +10,7 @@
<li class='list-group-item {% if tab == "tracking" %}active{% endif %}' title='{% trans "Stock Item Tracking" %}'> <li class='list-group-item {% if tab == "tracking" %}active{% endif %}' title='{% trans "Stock Item Tracking" %}'>
<a href='{% url "stock-item-detail" item.id %}'> <a href='{% url "stock-item-detail" item.id %}'>
<span class='fas fa-history'></span> <span class='fas fa-history sidebar-icon'></span>
{% trans "History" %} {% trans "History" %}
</a> </a>
</li> </li>
@ -18,7 +18,7 @@
{% if item.part.trackable %} {% if item.part.trackable %}
<li class='list-group-item {% if tab == "tests" %}active{% endif %}' title='{% trans "Test Data" %}'> <li class='list-group-item {% if tab == "tests" %}active{% endif %}' title='{% trans "Test Data" %}'>
<a href='{% url "stock-item-test-results" item.id %}'> <a href='{% url "stock-item-test-results" item.id %}'>
<span class='fas fa-vial'></span> <span class='fas fa-vial sidebar-icon'></span>
{% trans "Test Data" %} {% trans "Test Data" %}
</a> </a>
</li> </li>
@ -26,7 +26,7 @@
{% if item.part.assembly %} {% if item.part.assembly %}
<li class='list-group-item {% if tab == "installed" %}active{% endif %}' title='{% trans "Installed Stock Items" %}'> <li class='list-group-item {% if tab == "installed" %}active{% endif %}' title='{% trans "Installed Stock Items" %}'>
<a href='{% url "stock-item-installed" item.id %}'> <a href='{% url "stock-item-installed" item.id %}'>
<span class='fas fa-sign-in-alt'></span> <span class='fas fa-sign-in-alt sidebar-icon'></span>
{% trans "Installed Items" %} {% trans "Installed Items" %}
</a> </a>
</li> </li>
@ -37,7 +37,7 @@
{% if item.child_count > 0 %} {% if item.child_count > 0 %}
<li class='list-group-item {% if tab == "children" %}active{% endif %}' title='{% trans "Child Items" %}'> <li class='list-group-item {% if tab == "children" %}active{% endif %}' title='{% trans "Child Items" %}'>
<a href='{% url "stock-item-children" item.id %}'> <a href='{% url "stock-item-children" item.id %}'>
<span class='fas fa-sitemap'></span> <span class='fas fa-sitemap sidebar-icon'></span>
{% trans "Children" %} {% trans "Children" %}
</a> </a>
</li> </li>
@ -46,14 +46,14 @@
<li class='list-group-item {% if tab == "attachments" %}active{% endif %}' title='{% trans "Attachments" %}'> <li class='list-group-item {% if tab == "attachments" %}active{% endif %}' title='{% trans "Attachments" %}'>
<a href='{% url "stock-item-attachments" item.id %}'> <a href='{% url "stock-item-attachments" item.id %}'>
<span class='fas fa-paperclip'></span> <span class='fas fa-paperclip sidebar-icon'></span>
{% trans "Attachments" %} {% trans "Attachments" %}
</a> </a>
</li> </li>
<li class='list-group-item {% if tab == "notes" %}active{% endif %}' title='{% trans "Stock Item Notes" %}'> <li class='list-group-item {% if tab == "notes" %}active{% endif %}' title='{% trans "Stock Item Notes" %}'>
<a href='{% url "stock-item-notes" item.id %}'> <a href='{% url "stock-item-notes" item.id %}'>
<span class='fas fa-clipboard'></span> <span class='fas fa-clipboard sidebar-icon'></span>
{% trans "Notes" %} {% trans "Notes" %}
</a> </a>
</li> </li>