Add ID column to UPS host list
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>主机名称</th>
|
||||
<th>品牌</th>
|
||||
<th>型号</th>
|
||||
@@ -43,6 +44,7 @@
|
||||
<tbody>
|
||||
{% for ups in ups_list %}
|
||||
<tr>
|
||||
<td>{{ ups.id }}</td>
|
||||
<td>{{ ups.brand }} {{ ups.model }}</td>
|
||||
<td>{{ ups.brand }}</td>
|
||||
<td>{{ ups.model }}</td>
|
||||
@@ -58,7 +60,7 @@
|
||||
</tr>
|
||||
{% empty %}
|
||||
<tr>
|
||||
<td colspan="9" class="text-center text-muted">暂无UPS主机记录</td>
|
||||
<td colspan="10" class="text-center text-muted">暂无UPS主机记录</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user