2021-09-04 10:17:14 +08:00
|
|
|
|
{$layout "layout_popup"}
|
|
|
|
|
|
|
|
|
|
|
|
<h3>添加终端</h3>
|
|
|
|
|
|
<form class="ui form" data-tea-success="success" data-tea-action="$">
|
|
|
|
|
|
<csrf-token></csrf-token>
|
|
|
|
|
|
<table class="ui table definition selectable">
|
|
|
|
|
|
<tr>
|
2021-09-08 19:34:51 +08:00
|
|
|
|
<td class="title">终端名称 *</td>
|
2021-09-04 10:17:14 +08:00
|
|
|
|
<td>
|
|
|
|
|
|
<input type="text" name="name" maxlength="50" ref="focus"/>
|
|
|
|
|
|
</td>
|
|
|
|
|
|
</tr>
|
2021-09-08 19:34:51 +08:00
|
|
|
|
<tr>
|
|
|
|
|
|
<td>所属分组</td>
|
|
|
|
|
|
<td>
|
|
|
|
|
|
<report-node-groups-selector></report-node-groups-selector>
|
|
|
|
|
|
</td>
|
|
|
|
|
|
</tr>
|
2021-09-04 10:17:14 +08:00
|
|
|
|
<tr>
|
|
|
|
|
|
<td colspan="2"><more-options-indicator></more-options-indicator></td>
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
<tbody v-show="moreOptionsVisible">
|
|
|
|
|
|
<tr>
|
2021-09-05 11:10:07 +08:00
|
|
|
|
<td>区域</td>
|
2021-09-04 10:17:14 +08:00
|
|
|
|
<td>
|
|
|
|
|
|
<input type="text" name="location" maxlength="50"/>
|
|
|
|
|
|
<p class="comment">终端所在地域。</p>
|
|
|
|
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
<td>网络提供商</td>
|
|
|
|
|
|
<td>
|
|
|
|
|
|
<input type="text" name="isp" maxlength="50"/>
|
|
|
|
|
|
<p class="comment">终端所属网络供应商。</p>
|
|
|
|
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
<td>允许的终端IP</td>
|
|
|
|
|
|
<td>
|
|
|
|
|
|
<values-box name="allowIPs"></values-box>
|
|
|
|
|
|
<p class="comment">如果不为空,则只有这些IP才能连接API。支持单个IP、CIDR格式的IP段和IP1-IP2这样的IP段。</p>
|
|
|
|
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
|
|
|
|
</table>
|
|
|
|
|
|
<submit-btn></submit-btn>
|
|
|
|
|
|
</form>
|