💄 chore: 服务监控相关的前端优化

This commit is contained in:
naiba
2021-01-16 15:36:00 +08:00
parent d896a01883
commit 161102a37b
2 changed files with 17 additions and 3 deletions

View File

@@ -15,8 +15,8 @@
<tr>
<th>ID</th>
<th>备注</th>
<th>类型</th>
<th>目标</th>
<th>类型</th>
<th>管理</th>
</tr>
</thead>
@@ -26,7 +26,14 @@
<td>{{$monitor.ID}}</td>
<td>{{$monitor.Name}}</td>
<td>{{$monitor.Target}}</td>
<td>{{$monitor.Type}}</td>
<td>
{{if eq $monitor.Type 1}}HTTP(S)/SSL证书
{{else if eq $monitor.Type 2}}
ICMP Ping
{{else}}
TCP 端口
{{end}}
</td>
<td>
<div class="ui mini icon buttons">
<button class="ui button" onclick="addOrEditMonitor({{$monitor}})">