|
|
@@ -967,21 +967,26 @@
|
|
|
<td style="padding: 0;">
|
|
|
<table style="width: 100%;">
|
|
|
<tr>
|
|
|
- <td colspan="4">
|
|
|
+ <td colspan="5">
|
|
|
<span class="guest-label">磁盘 </span>
|
|
|
<span class="guest-desc">
|
|
|
<a href="/disks?guest_uuid={{ guest_ret.data.uuid }}" style="color: #0275d8;">{{ disks_ret.data|length }}</a>
|
|
|
</span>
|
|
|
+ <button class="btn btn-xs btn-default disabled" style="float: right;">变更配额</button>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="guest-label">
|
|
|
+ <th rowspan="2" width="5%"><input class="all_selector" title="选取所有" type="checkbox"></th>
|
|
|
<th width="20%" rowspan="2">设备路径</th><th width="20%" rowspan="2">磁盘大小</th><th width="40%" colspan="2" style="padding: 0 9px; text-align: center;">磁盘限额</th>
|
|
|
</tr>
|
|
|
<tr class="guest-label">
|
|
|
<th width="20%" style="padding: 0 9px; text-align: center;">IOPS</th><th width="20%" style="padding: 0 9px; text-align: center;">BPS</th>
|
|
|
</tr>
|
|
|
{% for disk in disks_ret.data %}
|
|
|
- <tr class="guest-desc"><th>{{ disk.device }}</th><th>{{ disk.size }} GB</th><th style="text-align: center;">{{ disk.iops }}</th><th style="text-align: center;">{{ (disk.bps / 1024 / 1024) | int }} MiB</th></tr>
|
|
|
+ <tr class="guest-desc">
|
|
|
+ <td><input title="选中" type="checkbox"></td>
|
|
|
+ <th>{{ disk.device }}</th><th>{{ disk.size }} GB</th><th style="text-align: center;">{{ disk.iops }}</th><th style="text-align: center;">{{ (disk.bps / 1024 / 1024) | int }} MiB</th>
|
|
|
+ </tr>
|
|
|
{% endfor %}
|
|
|
</table>
|
|
|
</td>
|