Files
EdgeAdmin/web/views/@default/dns/issues/updateNodePopup.html

31 lines
996 B
HTML
Raw Normal View History

2020-11-14 09:42:21 +08:00
{$layout "layout_popup"}
<h3>修改节点DNS设置</h3>
<form class="ui form" data-tea-action="$" data-tea-success="success">
<input type="hidden" name="nodeId" :value="nodeId"/>
<input type="hidden" name="domainId" :value="domainId"/>
<csrf-token></csrf-token>
<table class="ui table definition selectable">
<tr>
<td class="title">IP地址 *</td>
<td>
<input type="text" name="ipAddr" maxlength="64" ref="focus" v-model="ipAddr"/>
<p class="comment">用于域名解析的节点IP地址。</p>
</td>
</tr>
<tr v-if="domainId > 0">
<td>线路</td>
<td>
<p class="comment" v-if="routes.length == 0">没有可选的线路。</p>
<select class="ui dropdown auto-width" name="route" v-if="routes.length > 0" v-model="route">
<option v-for="route in routes" :value="route">{{route}}</option>
</select>
<p class="comment" v-if="routes.length > 0">当前节点IP对应的线路。</p>
</td>
</tr>
</table>
<submit-btn></submit-btn>
</form>