Files
EdgeAdmin/web/views/@default/servers/iplists/selectPopup.html
GoEdgeLab 71c7b7dcc7 优化IP名单
* 增加IP灰名单,用于仅记录并观察IP
2024-05-05 18:56:25 +08:00

37 lines
1.2 KiB
HTML

{$layout "layout_popup"}
<h3>选择公用IP名单</h3>
<p class="comment" v-if="lists.length == 0">暂时还没有可用的公用IP名单。</p>
<table class="ui table selectable celled" v-if="lists.length > 0">
<thead>
<tr>
<th class="two wide center">ID</th>
<th>名称</th>
<th class="two wide center">类型</th>
<th>备注</th>
<th class="two wide center">IP数量</th>
<th class="two op">操作</th>
</tr>
</thead>
<tr v-for="list in lists">
<td class="center">{{list.id}}</td>
<td>{{list.name}}</td>
<td class="center">
<span v-if="list.type == 'black'">黑名单</span>
<span v-if="list.type == 'white'">白名单</span>
<span v-if="list.type == 'grey'">灰名单</span>
</td>
<td>{{list.description}}</td>
<td class="center">
<span v-if="list.countItems > 0">{{list.countItems}}</span>
<span v-else class="disabled">0</span>
</td>
<td>
<a href="" @click.prevent="selectList(list)">选择</a>
</td>
</tr>
</table>
<div class="page" v-html="page"></div>