mirror of
https://github.com/retspen/webvirtcloud
synced 2024-11-01 03:54:15 +00:00
fix secret list details
This commit is contained in:
parent
6a0d04d300
commit
509c57d8ab
1 changed files with 3 additions and 12 deletions
|
@ -57,8 +57,8 @@
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="active">
|
<tr class="active">
|
||||||
<th scope="col">{% trans "UUID" %}</th>
|
<th scope="col">{% trans "UUID" %}</th>
|
||||||
<th scope="col">{% trans "Type" %}</th>
|
<th scope="col">{% trans "Usage Type" %}</th>
|
||||||
<th scope="col">{% trans "Usage" %}</th>
|
<th scope="col">{% trans "Data" %}</th>
|
||||||
<th scope="col" data-sortable="false" style="width:90px;">{% trans "Action" %}</th>
|
<th scope="col" data-sortable="false" style="width:90px;">{% trans "Action" %}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -66,16 +66,7 @@
|
||||||
{% for secret in secrets_all %}
|
{% for secret in secrets_all %}
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">{{ secret.uuid }}</th>
|
<th scope="row">{{ secret.uuid }}</th>
|
||||||
<td>{% if secret.usageType == 0 %}
|
<td>{{ secret.usageType }}</td>
|
||||||
{% trans "volume" %}
|
|
||||||
{% endif %}
|
|
||||||
{% if secret.usageType == 1 %}
|
|
||||||
{% trans "iscsi" %}
|
|
||||||
{% endif %}
|
|
||||||
{% if secret.usageType 2 %}
|
|
||||||
{% trans "ceph" %}
|
|
||||||
{% endif %}
|
|
||||||
</td>
|
|
||||||
<td>{{ secret.usage }}</td>
|
<td>{{ secret.usage }}</td>
|
||||||
<td>
|
<td>
|
||||||
<form action="" method="post" role="form" aria-label="Delete secret form">{% csrf_token %}
|
<form action="" method="post" role="form" aria-label="Delete secret form">{% csrf_token %}
|
||||||
|
|
Loading…
Reference in a new issue