{% extends "base.html" %} {% block title %}{{ app.name }} — Admin{% endblock %} {% block content %}

{{ app.name }}

{{ app.app_type|upper }} · {{ app.slug }} · v{{ manifest.get('version', '—') }} {% if app.is_active %}active{% else %}inactive{% endif %}
{% if not panels and not schema %}

No admin panels declared

This app's manifest does not declare any admin_sections or settings_schema.

Add them to manifest.json and reinstall to enable per-app admin settings.

{% endif %} {% for item in rendered %}

{{ item.panel.label }}

{% if item.panel.endpoint %} custom panel {% else %} generated form {% endif %}
{{ item.html|safe }}
{% endfor %} {% if schema %}

Settings

generated form
{% for desc in schema %} {% set key = desc.key %} {% set label = desc.label or key %} {% set vtype = desc.type or 'json' %} {% set value = configs.get(key, desc.default) %}
{% if vtype == 'boolean' %} {% elif vtype == 'color' %} {% elif vtype == 'integer' %} {% elif vtype == 'textarea' %} {% else %} {% endif %}
{% endfor %}
{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}