forked from zhiminliu/docker-monitor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
machine_info.html
32 lines (30 loc) · 948 Bytes
/
machine_info.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{% extends "nav.html" %}
{% block body %}
<div class="row">
<div class="panel panel-default">
<div class="panel-body">
<a class="btn btn-default" href="machine_info?action=add" role="button">增加</a>
</div>
</div>
<table class="table table-hover">
<tr>
<th>机房/机柜</th>
<th>主机</th>
<th>端口</th>
<th>状态</th>
<th>备注</th>
<th>其它</th>
</tr>
{% for i in machine_obj %}
<tr>
<td>{{i['area']}}</td>
<td>{{i['ip']}}</td>
<td>{{i['port']}}</td>
<td>{{i['status']}}</td>
<td>{{i['remarks']}}</td>
<td><a href="machine_info?action=update&sid={{i['id']}}" >修改</a>|<a href="machine_info?action=delete&sid={{i['id']}}">删除</a></td>
</tr>
{% end %}
</table>
</div>
{% end %}