{% extends 'generic/_base.html' %} {% load form_helpers %} {% block title %}Bootstrap NetBox for Zabbix Sync{% endblock %} {% block content %}
{% if results %}
Bootstrap Results
{% if results.custom_fields %}
Custom Fields
{% if results.custom_fields.created %}

Created: {{ results.custom_fields.created|join:", " }}

{% endif %} {% if results.custom_fields.skipped %}

Skipped (already exist): {{ results.custom_fields.skipped|join:", " }}

{% endif %} {% endif %} {% if results.config_contexts %}
Config Contexts
{% if results.config_contexts.created %}

Created: {{ results.config_contexts.created|join:", " }}

{% endif %} {% if results.config_contexts.skipped %}

Skipped (already exist): {{ results.config_contexts.skipped|join:", " }}

{% endif %} {% endif %}
{% endif %}
{% csrf_token %}
Bootstrap Options

Select which resources to create. Existing resources will be skipped.

{% render_field form.create_custom_fields %} {% render_field form.create_config_contexts %} {% render_field form.create_sync_schedule %}
Preview
Custom Fields
    {% for cf in custom_fields %}
  • {{ cf.name }} ({{ cf.type }}) — {{ cf.description }}
  • {% endfor %}
Example Config Contexts
    {% for ctx in config_contexts %}
  • {{ ctx.name }} — {{ ctx.description }}
  • {% endfor %}
Cancel
{% endblock content %}