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