mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	CSS updates
- Add template for filter lists - Filter lists now layout horizontally - Change flex-row to flex-wrap
This commit is contained in:
		| @@ -11,7 +11,7 @@ | ||||
|  | ||||
| <div class='panel panel-hidden' id='panel-supplier-parts'> | ||||
|     <div class='panel-heading'> | ||||
|         <div class='d-flex flex-row'> | ||||
|         <div class='d-flex flex-wrap'> | ||||
|             <h4>{% trans "Supplier Parts" %}</h4> | ||||
|             {% include "spacer.html" %} | ||||
|             <div class='btn-group' role='group'> | ||||
| @@ -46,9 +46,7 @@ | ||||
|                         </ul> | ||||
|                     </div> | ||||
|                 </div> | ||||
|                 <div class='filter-list' id='filter-list-supplier-part'> | ||||
|                     <!-- Empty div (will be filled out with available BOM filters) --> | ||||
|                 </div> | ||||
|                 {% include "filter_list.html" with id="supplier-part" %} | ||||
|             </div> | ||||
|         </div> | ||||
|         {% endif %} | ||||
| @@ -60,7 +58,7 @@ | ||||
|  | ||||
| <div class='panel panel-hidden' id='panel-manufacturer-parts'> | ||||
|     <div class='panel-heading'> | ||||
|         <div class='d-flex flex-row'> | ||||
|         <div class='d-flex flex-wrap'> | ||||
|             <h4>{% trans "Manufacturer Parts" %}</h4> | ||||
|             {% include "spacer.html" %} | ||||
|             <div class='btn-group' role='group'> | ||||
| @@ -95,9 +93,7 @@ | ||||
|                         </ul> | ||||
|                     </div>  | ||||
|                 </div> | ||||
|                 <div class='filter-list' id='filter-list-supplier-part'> | ||||
|                     <!-- Empty div (will be filled out with available BOM filters) --> | ||||
|                 </div> | ||||
|                 {% include "filter_list.html" with id="supplier-part" %} | ||||
|             </div> | ||||
|         </div> | ||||
|         {% endif %} | ||||
| @@ -117,7 +113,7 @@ | ||||
|  | ||||
| <div class='panel panel-hidden' id='panel-purchase-orders'> | ||||
|     <div class='panel-heading'> | ||||
|         <div class='d-flex flex-row'> | ||||
|         <div class='d-flex flex-wrap'> | ||||
|             <h4>{% trans "Purchase Orders" %}</h4> | ||||
|             {% include "spacer.html" %} | ||||
|             <div class='btn-group' role='group'> | ||||
| @@ -132,9 +128,7 @@ | ||||
|     <div class='panel-content'> | ||||
|         <div id='po-button-bar'> | ||||
|             <div class='button-toolbar container-fluid' style='float: right;'> | ||||
|                 <div class='filter-list' id='filter-list-purchaseorder'> | ||||
|                     <!-- Empty div --> | ||||
|                 </div> | ||||
|                 {% include "filter_list.html" with id="purchaseorder" %} | ||||
|             </div> | ||||
|         </div> | ||||
|  | ||||
| @@ -145,7 +139,7 @@ | ||||
|  | ||||
| <div class='panel panel-hidden' id='panel-sales-orders'> | ||||
|     <div class='panel-heading'> | ||||
|         <div class='d-flex flex-row'> | ||||
|         <div class='d-flex flex-wrap'> | ||||
|             <h4>{% trans "Sales Orders" %}</h4> | ||||
|             {% include "spacer.html" %} | ||||
|             <div class='btn-group' role='group'> | ||||
| @@ -160,9 +154,7 @@ | ||||
|     <div class='panel-content'> | ||||
|         <div id='so-button-bar'> | ||||
|             <div class='button-toolbar container-fluid' style='float: right;'> | ||||
|                 <div class='filter-list' id='filter-list-salesorder'> | ||||
|                     <!-- Empty div --> | ||||
|                 </div> | ||||
|                 {% include "filter_list.html" with id="salesorder" %} | ||||
|             </div> | ||||
|         </div> | ||||
|  | ||||
| @@ -177,9 +169,7 @@ | ||||
|     </div> | ||||
|     <div class='panel-content'> | ||||
|         <div id='assigned-stock-button-toolbar'> | ||||
|             <div class='filter-list' id='filter-list-stock'> | ||||
|                 <!-- An empty div in which the filter list will be constructed --> | ||||
|             </div> | ||||
|             {% include "filter_list.html" with id="stock" %} | ||||
|         </div> | ||||
|          | ||||
|         <table class='table table-striped table-condensed' id='assigned-stock-table' data-toolbar='#bassigned-stock-utton-toolbar'></table> | ||||
|   | ||||
| @@ -104,7 +104,7 @@ src="{% static 'img/blank_image.png' %}" | ||||
|  | ||||
| <div class='panel panel-hidden' id='panel-supplier-parts'> | ||||
|     <div class='panel-heading'> | ||||
|         <div class='d-flex flex-row'> | ||||
|         <div class='d-flex flex-wrap'> | ||||
|             <h4>{% trans "Suppliers" %}</h4> | ||||
|             {% include "spacer.html" %} | ||||
|             <div class='btn-group' role='group'> | ||||
| @@ -133,7 +133,7 @@ src="{% static 'img/blank_image.png' %}" | ||||
|  | ||||
| <div class='panel panel-hidden' id='panel-parameters'> | ||||
|     <div class='panel-heading'> | ||||
|         <div class='d-flex flex-row'> | ||||
|         <div class='d-flex flex-wrap'> | ||||
|             <h4>{% trans "Parameters" %}</h4> | ||||
|             {% include "spacer.html" %} | ||||
|             <div class='btn-group' role='group'> | ||||
|   | ||||
| @@ -143,7 +143,7 @@ src="{% static 'img/blank_image.png' %}" | ||||
|  | ||||
| <div class='panel panel-hidden' id='panel-purchase-orders'> | ||||
|     <div class='panel-heading'> | ||||
|         <div class='d-flex flex-row'> | ||||
|         <div class='d-flex flex-wrap'> | ||||
|             <h4>{% trans "Supplier Part Orders" %}</h4> | ||||
|             {% include "spacer.html" %} | ||||
|             <div class='btn-group' role='group'> | ||||
| @@ -167,7 +167,7 @@ src="{% static 'img/blank_image.png' %}" | ||||
|  | ||||
| <div class='panel panel-hidden' id='panel-pricing'> | ||||
|     <div class='panel-heading'> | ||||
|         <div class='d-flex flex-row'> | ||||
|         <div class='d-flex flex-wrap'> | ||||
|             <h4>{% trans "Pricing Information" %}</h4> | ||||
|             {% include "spacer.html" %} | ||||
|             <div class='btn-group' role='group'> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user