mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Add code128 template
This commit is contained in:
		
							
								
								
									
										33
									
								
								InvenTree/label/templates/label/part/part_label_code128.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								InvenTree/label/templates/label/part/part_label_code128.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,33 @@ | ||||
| {% extends "label/label_base.html" %} | ||||
|  | ||||
| {% load barcode %} | ||||
|  | ||||
| {% block style %} | ||||
|  | ||||
| .qr { | ||||
|     position: fixed; | ||||
|     left: 0mm; | ||||
|     top: 0mm; | ||||
|     height: {{ height }}mm; | ||||
|     width: {{ height }}mm; | ||||
| } | ||||
|  | ||||
| .part { | ||||
|     font-family: Arial, Helvetica, sans-serif; | ||||
|     display: inline; | ||||
|     position: absolute; | ||||
|     left: {{ height }}mm; | ||||
|     top: 2mm; | ||||
| } | ||||
|  | ||||
| {% endblock %} | ||||
|  | ||||
| {% block content %} | ||||
|  | ||||
| <img class='qr' src='{% barcode qr_data %}'> | ||||
|  | ||||
| <div class='part'> | ||||
|     {{ part.full_name }} | ||||
| </div> | ||||
|  | ||||
| {% endblock %} | ||||
		Reference in New Issue
	
	Block a user