2020-08-21 21:09:42 +08:00
|
|
|
|
{$layout "layout_popup"}
|
|
|
|
|
|
|
|
|
|
|
|
<h3>添加IP地址</h3>
|
|
|
|
|
|
|
2020-11-10 12:47:24 +08:00
|
|
|
|
<form method="post" class="ui form" data-tea-action="$" data-tea-success="success">
|
2020-08-21 21:09:42 +08:00
|
|
|
|
<table class="ui table definition selectable">
|
|
|
|
|
|
<tr>
|
2021-08-18 09:24:03 +08:00
|
|
|
|
<td class="title">IP地址 *</td>
|
2020-08-21 21:09:42 +08:00
|
|
|
|
<td>
|
|
|
|
|
|
<input type="text" name="ip" maxlength="128" ref="focus"/>
|
2021-12-07 18:22:46 +08:00
|
|
|
|
<p class="comment">支持单个IP、CIDR格式的一组IP(位数不能小于24)、IP范围(类似于<code-label>x.x.x.x-x.x.x.x</code-label>,最多只取256个)等。</p>
|
2020-08-21 21:09:42 +08:00
|
|
|
|
</td>
|
|
|
|
|
|
</tr>
|
2020-10-17 21:15:22 +08:00
|
|
|
|
<tr>
|
|
|
|
|
|
<td>是否可以访问</td>
|
|
|
|
|
|
<td>
|
|
|
|
|
|
<div class="ui checkbox">
|
|
|
|
|
|
<input type="checkbox" name="canAccess" value="1" checked="checked"/>
|
|
|
|
|
|
<label></label>
|
|
|
|
|
|
</div>
|
2021-01-31 16:03:52 +08:00
|
|
|
|
<p class="comment">是否为可以公开访问的IP,如果选中,也会作为DNS解析记录的值使用。</p>
|
2020-10-17 21:15:22 +08:00
|
|
|
|
</td>
|
|
|
|
|
|
</tr>
|
2021-08-18 16:19:07 +08:00
|
|
|
|
<tr>
|
|
|
|
|
|
<td colspan="2"><more-options-indicator></more-options-indicator></td>
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
<tbody v-show="moreOptionsVisible">
|
|
|
|
|
|
<tr>
|
2021-08-31 17:24:30 +08:00
|
|
|
|
<td class="title">名称</td>
|
2021-08-18 16:19:07 +08:00
|
|
|
|
<td>
|
|
|
|
|
|
<input type="text" name="name" maxlength="50"/>
|
|
|
|
|
|
</td>
|
|
|
|
|
|
</tr>
|
2021-09-12 20:21:32 +08:00
|
|
|
|
<tr>
|
|
|
|
|
|
<td>在线状态</td>
|
|
|
|
|
|
<td>
|
|
|
|
|
|
<select class="ui dropdown auto-width" name="isUp">
|
|
|
|
|
|
<option value="1">在线</option>
|
|
|
|
|
|
<option value="0">离线</option>
|
|
|
|
|
|
</select>
|
|
|
|
|
|
</td>
|
|
|
|
|
|
</tr>
|
2021-08-31 17:24:30 +08:00
|
|
|
|
<tr v-if="teaIsPlus && supportThresholds">
|
2021-09-12 20:21:32 +08:00
|
|
|
|
<td>阈值设置</td>
|
2021-08-18 16:19:07 +08:00
|
|
|
|
<td>
|
|
|
|
|
|
<node-ip-address-thresholds-box></node-ip-address-thresholds-box>
|
|
|
|
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
2020-08-21 21:09:42 +08:00
|
|
|
|
</table>
|
|
|
|
|
|
<submit-btn></submit-btn>
|
|
|
|
|
|
</form>
|