mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-25 11:36:34 +08:00
增加DNS服务商账号管理
This commit is contained in:
45
web/views/@default/dns/providers/updatePopup.html
Normal file
45
web/views/@default/dns/providers/updatePopup.html
Normal file
@@ -0,0 +1,45 @@
|
||||
{$layout "layout_popup"}
|
||||
|
||||
<h3>修改DNS服务商账号</h3>
|
||||
<form class="ui form" data-tea-action="$" data-tea-success="success">
|
||||
<csrf-token></csrf-token>
|
||||
<input type="hidden" name="providerId" :value="provider.id"/>
|
||||
<input type="hidden" name="type" :value="provider.type"/>
|
||||
<table class="ui table definition selectable">
|
||||
<tr>
|
||||
<td class="title">账号说明 *</td>
|
||||
<td>
|
||||
<input type="text" name="name" maxlength="50" ref="focus" v-model="provider.name"/>
|
||||
<p class="comment">用来方便区分不同的账号。</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>服务商厂家 *</td>
|
||||
<td>
|
||||
{{provider.typeName}}
|
||||
<p class="comment">创建后无法修改此选项。</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">API参数</td>
|
||||
</tr>
|
||||
|
||||
<!-- DNSPod -->
|
||||
<tbody v-if="provider.type == 'dnspod'">
|
||||
<tr>
|
||||
<td>密钥ID *</td>
|
||||
<td>
|
||||
<input type="text" name="paramId" maxlength="100" :value="provider.params.id"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>密钥Token *</td>
|
||||
<td>
|
||||
<input type="text" name="paramToken" maxlength="100" :value="provider.params.token"/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<submit-btn></submit-btn>
|
||||
</form>
|
||||
Reference in New Issue
Block a user