mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-28 21:46:44 +00:00
Merge pull request #198 from SergeoLacruz/main
Some checks are pending
Build pages and publish / build (push) Waiting to run
Some checks are pending
Build pages and publish / build (push) Waiting to run
Changed position of raw tag
This commit is contained in:
commit
803645e326
@ -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