{% extends "base.html" %} {% if is_installation %} {% block script_installation %} {% if getting_config %} $('#dialog_installation').dialog({ autoOpen: false, width: 600, buttons: { "Установить": function() { $('#form_installation').submit(); }, "Отмена": function() { $('#form_installation_close').submit(); } } }); {% else %} $('#dialog_installation').dialog({ autoOpen: false, width: 600, buttons: { "Закрыть": function() { $('#form_installation_close').submit(); } } }); {% endif %} $('#dialog_installation').dialog('open'); {% endblock %} {% endif %} {% block content %} {% if is_installation %} {% if getting_config %}
{% for k, v, t in config %} {% empty %} {% endfor %}
{{k}}
Аргументы не требуются. Продолжить?
{% csrf_token %}
{% else %}

{% for l in log %} {{l.2}}
{% endfor %}

{% endif %}
{% csrf_token %}
{% endif %}
{% if rename %}

{% csrf_token %}
{% else %}
{% csrf_token %}
{% endif %}
{% if status != 'Offline' and not is_installation %}
{% csrf_token %}
{% endif %}
{% for ins in installations %}
{% csrf_token %}

{% for i in ins.2 %} Версия: {{i.recipe_version}}
Дата установки: {{i.date}}
Статус: {% ifequal i.status 'error' %} {{i.status}} {% else %} {{i.status}} {% endifequal %}
Конфиг:
    {% for k, v in i.config.items %}
  • {{k}} = {{v}}
  • {% endfor %}
{% if i.log %}
Лог:
{% endif %}

{% endfor %}
{% empty %}
Выберите рецепт для установки из меню слева.
{% endfor %}
{% endblock %}