Files
EdgeAdmin/web/views/@default/dns/providers/index.html

31 lines
1018 B
HTML
Raw Normal View History

2020-11-10 21:37:48 +08:00
{$layout}
2020-11-11 21:32:19 +08:00
<first-menu>
<a href="" class="item" @click.prevent="createProvider()">[添加DNS账号信息]</a>
</first-menu>
<p class="comment" v-if="providers.length == 0">暂时还没有第三方DNS服务商。</p>
2020-11-16 13:03:45 +08:00
<table class="ui table selectable celled" v-if="providers.length > 0">
2020-11-11 21:32:19 +08:00
<thead>
<tr>
<th>账号说明</th>
2020-11-16 15:26:27 +08:00
<th class="width10">服务商</th>
<th class="width5 center">域名</th>
2020-11-11 21:32:19 +08:00
<th class="two op">操作</th>
</tr>
</thead>
2020-11-12 14:41:34 +08:00
<tr v-for="(provider, index) in providers">
2021-08-16 14:44:32 +08:00
<td><a :href="'/dns/providers/provider?providerId=' + provider.id">{{provider.name}}</a></td>
2020-11-11 21:32:19 +08:00
<td>{{provider.typeName}}</td>
2020-11-16 13:03:45 +08:00
<td class="center">
<span v-if="provider.countDomains == 0" class="disabled">0</span>
<span v-else>{{provider.countDomains}}</span>
2020-11-12 14:41:34 +08:00
</td>
2020-11-11 21:32:19 +08:00
<td>
2020-11-12 14:41:34 +08:00
<a :href="'/dns/providers/provider?providerId=' + provider.id">详情</a> &nbsp; &nbsp; <a href="" @click.prevent="deleteProvider(provider.id)">删除</a>
2020-11-11 21:32:19 +08:00
</td>
</tr>
</table>
<div class="page" v-html="page"></div>