{% extends "config/base.html" %} {% import "site_shell/_macros.html" as ui %} {% block title %}Variables - Pychestrate Configuration{% endblock %} {% block content %}
Clear
{{ ui.icon("add") }} Create Variable
{% for variable in variables %} {# Values are masked by default -- they may hold credentials. The reveal toggle swaps the mask for the real value per row. #} {% else %} {{ ui.empty_state("No variables found", colspan=6) }} {% endfor %}
Name Type Value Description Updated Actions
{{ variable.name }}{% if variable.name in system_owners %} system{% endif %} {{ variable.var_type | state_words }} •••••••• {{ variable.description or '—' }} {% if variable.updated_at %}{{ variable.updated_at | format_datetime('%Y-%m-%d %H:%M') }}{% else %}—{% endif %}
{% if variable.name not in system_owners %} Edit {% endif %} History {% if variable.name not in system_owners %}
{% endif %}
{{ ui.pagination('config.variable_list', page, total_pages, {'search': search, 'per_page': per_page}, total=total) }}

Total: {{ total }} variable{{ '' if total == 1 else 's' }}

{% endblock %} {% block extra_js %} {% endblock %}