改进界面

This commit is contained in:
GoEdgeLab
2020-11-21 15:53:04 +08:00
parent 6bbc156a11
commit 41428af471
31 changed files with 66 additions and 64 deletions

View File

@@ -9,8 +9,8 @@
<th class="center">ID</th>
<th>名称</th>
<th>类型</th>
<th class="center">集群数</th>
<th class="center">节点数</th>
<th class="center width5">集群数</th>
<th class="center width5">节点数</th>
<th class="two op">操作</th>
</tr>
</thead>
@@ -18,7 +18,7 @@
<td class="center">{{grant.id}}</td>
<td>{{grant.name}}</td>
<td>
<span class="ui label tiny">{{grant.method.name}}</span>
<span class="ui label tiny basic">{{grant.method.name}}</span>
</td>
<td class="center">
<span v-if="grant.countClusters > 0">{{grant.countClusters}}</span>

View File

@@ -9,7 +9,7 @@
<td class="title">选择认证</td>
<td>
<span v-if="grants.length == 0">暂时还没有可用的认证。</span>
<a class="ui label small" v-for="grant in grants" :class="{blue:grantId == grant.id}" @click.prevent="selectGrant(grant)" style="margin-bottom:0.5em">{{grant.name}} <span class="small">{{grant.methodName}}</span></a>
<a class="ui label small basic" v-for="grant in grants" :class="{blue:grantId == grant.id}" @click.prevent="selectGrant(grant)" style="margin-bottom:0.5em">{{grant.name}} <span class="small">{{grant.methodName}}</span></a>
<p class="comment">请点击选中某个认证。</p>
</td>
</tr>