From 67966eba133c3a3ca33744765521d9c3b3cf99c6 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 10 May 2022 23:56:02 +0200 Subject: [PATCH] Add code128 template --- .../label/part/part_label_code128.html | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 InvenTree/label/templates/label/part/part_label_code128.html diff --git a/InvenTree/label/templates/label/part/part_label_code128.html b/InvenTree/label/templates/label/part/part_label_code128.html new file mode 100644 index 0000000000..7f8ef144ec --- /dev/null +++ b/InvenTree/label/templates/label/part/part_label_code128.html @@ -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 %} + + + +
+ {{ part.full_name }} +
+ +{% endblock %} \ No newline at end of file