mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-14 20:06:34 +08:00
39 lines
1.2 KiB
HTML
39 lines
1.2 KiB
HTML
|
|
{$layout}
|
||
|
|
{$template "domain_menu"}
|
||
|
|
|
||
|
|
<form class="ui form" data-tea-action="$" data-tea-success="success">
|
||
|
|
<csrf-token></csrf-token>
|
||
|
|
<input type="hidden" name="domainId" :value="domain.id"/>
|
||
|
|
<table class="ui table definition selectable">
|
||
|
|
<tr>
|
||
|
|
<td>域名 *</td>
|
||
|
|
<td>
|
||
|
|
<input type="text" name="name" maxlength="255" ref="focus" v-model="domain.name"/>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td class="title">所属集群 *</td>
|
||
|
|
<td>
|
||
|
|
<ns-cluster-selector :v-cluster-id="domain.clusterId"></ns-cluster-selector>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td>所属用户</td>
|
||
|
|
<td>
|
||
|
|
<ns-user-selector :v-user-id="domain.userId"></ns-user-selector>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td colspan="2"><more-options-indicator></more-options-indicator></td>
|
||
|
|
</tr>
|
||
|
|
<tbody v-show="moreOptionsVisible">
|
||
|
|
<tr>
|
||
|
|
<td>是否启用</td>
|
||
|
|
<td>
|
||
|
|
<checkbox name="isOn" value="1" v-model="domain.isOn"></checkbox>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</tbody>
|
||
|
|
</table>
|
||
|
|
<submit-btn></submit-btn>
|
||
|
|
</form>
|