{% extends "modern/base.html" %} {% block title %}Templates - Zebra Day{% endblock %} {% block content %}

User Templates

{{ user_templates | length }}

~/.config/zebra_day/label_styles/

{% if user_templates %}
{% for template in user_templates %} {% endfor %}
Template Name Actions
{{ template }} Edit Preview
{% else %}

No user templates yet

Edit a package template and save to create a user template
{% endif %}

Package Templates

{{ package_templates | length }}

Built-in templates shipped with zebra_day

{% if package_templates %}
{% for template in package_templates %} {% endfor %}
Template Name Actions
{{ template }} Edit Preview
{% else %}

No package templates found

{% endif %}
{% if dynamodb_templates %}

DynamoDB Templates

{{ dynamodb_templates | length }}

Templates stored in AWS DynamoDB

{% for template in dynamodb_templates %} {% endfor %}
Template Name Actions
{{ template }} Edit Preview
{% endif %} {% if is_dynamo_backend and (local_user_templates or local_package_templates) %}

Import Local Templates to DynamoDB

Select local templates to copy into DynamoDB. Templates already in DynamoDB will be skipped.

{% for template in local_user_templates %} {% endfor %} {% for template in local_package_templates %} {% endfor %}
Template Name Source
{{ template }} user
{{ template }} package
{% endif %}

Template Format Keys

Use these placeholders in your ZPL templates to insert dynamic data:

{uid_barcode} - Barcode value
{alt_a} - Custom field A
{alt_b} - Custom field B
{alt_c} - Custom field C
{alt_d} - Custom field D
{alt_e} - Custom field E
{alt_f} - Custom field F
{rec_date} - Record date
{% endblock %} {% block extra_scripts %} {% if is_dynamo_backend %} {% endif %} {% endblock %}