mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-04 10:14:44 +02:00
Renamed label_system templates folder to recommended snake_style style
This commit is contained in:
parent
06f86176b6
commit
12d4c2f4d9
16 changed files with 12 additions and 12 deletions
27
templates/label_system/labels/base_label.html.twig
Normal file
27
templates/label_system/labels/base_label.html.twig
Normal file
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<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("label_system/labels/label_style.css.twig") %}
|
||||
{{ options.additionalCss | escape("html") }}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
{% for element in elements %}
|
||||
<div class="page">
|
||||
{% if options.barcodeType == 'none' %}
|
||||
{% include "label_system/labels/label_page_none.html.twig" %}
|
||||
{% elseif options.barcodeType in ['qr', 'datamatrix'] %}
|
||||
{% include "label_system/labels/label_page_qr.html.twig" %}
|
||||
{% elseif options.barcodeType in ['code39', 'code93', 'code128'] %}
|
||||
{% include "label_system/labels/label_page_1d.html.twig" %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue