带阿里标识的版本

This commit is contained in:
robin
2026-02-28 18:55:33 +08:00
parent 150799f41d
commit 5d0b7c7e91
477 changed files with 10813 additions and 4044 deletions

View File

@@ -1,4 +1,4 @@
{$layout}
{$layout}
{$template "menu"}
<div class="ui margin"></div>
@@ -26,16 +26,22 @@
<table class="ui table selectable celled httpdns-apps-table" v-if="apps.length > 0">
<colgroup>
<col style="width:32%;" />
<col style="width:26%;" />
<col style="width:20%;" />
<col style="width:12%;" />
<col style="width:10%;" />
<col style="width:11%;" />
<col style="width:11%;" />
<col style="width:12%;" />
<col style="width:8%;" />
<col style="width:6%;" />
<col style="width:20%;" />
</colgroup>
<thead>
<tr>
<th>应用名称</th>
<th>AppID</th>
<th>主集群</th>
<th>备用集群</th>
<th>用户</th>
<th class="center">绑定域名数</th>
<th class="center">状态</th>
<th>操作</th>
@@ -54,6 +60,26 @@
<code>{{app.appId}}</code>
<copy-icon :text="app.appId"></copy-icon>
</td>
<td>
<span v-if="app.primaryCluster != null && app.primaryCluster.id > 0">
{{app.primaryCluster.name || ('#' + app.primaryCluster.id)}}
<link-icon :href="'/httpdns/clusters/cluster?clusterId=' + app.primaryCluster.id"></link-icon>
</span>
<span v-else class="disabled">-</span>
</td>
<td>
<span v-if="app.backupCluster != null && app.backupCluster.id > 0">
{{app.backupCluster.name || ('#' + app.backupCluster.id)}}
<link-icon :href="'/httpdns/clusters/cluster?clusterId=' + app.backupCluster.id"></link-icon>
</span>
<span v-else class="disabled">-</span>
</td>
<td>
<span v-if="app.user != null && app.user.id > 0">
{{app.user.fullname}} ({{app.user.username}})
</span>
<span v-else class="disabled">-</span>
</td>
<td class="center"><a :href="'/httpdns/apps/domains?appId=' + app.id">{{app.domainCount}}</a></td>
<td class="center">
<label-on :v-is-on="app.isOn"></label-on>
@@ -68,4 +94,4 @@
</table>
<div class="page" v-html="page"></div>
</div>
</div>