{% extends "base.html" %} {% load i18n %} {% block title %}{% trans "Secrets" %} - {{ compute.name }}{% endblock %} {% block style %} {% endblock %} {% block content %}
{% include 'create_secret_block.html' %}

{% trans "Secrets" %}

{% include 'errors_block.html' %}
{% if not secrets_all %}
{% trans "Warning:" %} {% trans "Hypervisor doesn't have any Secrets" %}
{% else %}
{% for secret in secrets_all %} {% endfor %}
{% trans "UUID" %} {% trans "Type" %} {% trans "Usage" %} {% trans "Action" %}
{{ secret.uuid }} {% ifequal secret.usageType 0 %} {% trans "volume" %} {% endifequal %} {% ifequal secret.usageType 1 %} {% trans "iscsi" %} {% endifequal %} {% ifequal secret.usageType 2 %} {% trans "ceph" %} {% endifequal %} {{ secret.usage }}
{% csrf_token %}
{% endif %}
{% endblock %} {% block script %} {% endblock %}