2020-04-14 11:07:07 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2020-04-24 22:10:49 +02:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>{{ meta_title }}</title>
|
|
|
|
<meta name="author" content="{{ partdb_title }}">
|
|
|
|
<meta name="description" content="Label for {{ meta_title }}">
|
|
|
|
<meta name="keywords" content="Part-DB, Label, Barcode">
|
|
|
|
<style>
|
|
|
|
{% include("LabelSystem/labels/label_style.css.twig") %}
|
2020-05-04 22:19:06 +02:00
|
|
|
{{ options.additionalCss | escape("html") }}
|
2020-04-24 22:10:49 +02:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{% for element in elements %}
|
|
|
|
<div style="page-break-inside: avoid; page-break-before: avoid; {% if not loop.last %}page-break-after: always;{% endif %}">
|
|
|
|
{% if options.barcodeType == 'none' %}
|
|
|
|
{% include "LabelSystem/labels/label_page_none.html.twig" %}
|
2020-04-24 23:58:19 +02:00
|
|
|
{% elseif options.barcodeType in ['qr', 'datamatrix'] %}
|
2020-04-24 22:10:49 +02:00
|
|
|
{% include "LabelSystem/labels/label_page_qr.html.twig" %}
|
2020-05-07 23:27:40 +02:00
|
|
|
{% elseif options.barcodeType in ['code39', 'code93', 'code128'] %}
|
2020-04-24 22:10:49 +02:00
|
|
|
{% include "LabelSystem/labels/label_page_1d.html.twig" %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</body>
|
2020-04-14 11:07:07 +02:00
|
|
|
</html>
|