mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-28 05:26:44 +00:00
Changed position of raw tag
This commit is contained in:
parent
1aff3eda8c
commit
702fab23ad
@ -80,15 +80,17 @@ The label needs a template described in html and css. The template should
|
|||||||
start with a page definition that defines the label size as shown below:
|
start with a page definition that defines the label size as shown below:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
{% raw %}
|
||||||
@page {
|
@page {
|
||||||
{% raw %}{% localize off %}{% endraw %}
|
{% localize off %}
|
||||||
height: {{ height }}mm;
|
height: {{ height }}mm;
|
||||||
width: {{ width }}mm;
|
width: {{ width }}mm;
|
||||||
{% raw %}{% endlocalize %}{% endraw %}
|
{% endlocalize %}
|
||||||
padding: 0mm;
|
padding: 0mm;
|
||||||
margin: 0px 0px 0px 0px;
|
margin: 0px 0px 0px 0px;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
}
|
}
|
||||||
|
{% endraw %}
|
||||||
```
|
```
|
||||||
|
|
||||||
The height and width parameters are defined in the InvenTree admin panel
|
The height and width parameters are defined in the InvenTree admin panel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user