mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-29 08:00:25 +08:00
优化界面
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tr v-for="node in nodes">
|
||||
<td>{{node.name}}
|
||||
<td><a :href="'/clusters/cluster/node?clusterId=' + clusterId + '&nodeId=' + node.id">{{node.name}}</a>
|
||||
<div style="margin-top: 0.5em" v-if="node.region != null">
|
||||
<tiny-basic-label class="olive">区域:{{node.region.name}}</tiny-basic-label>
|
||||
</div>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tr v-for="grant in grants">
|
||||
<td>{{grant.name}}</td>
|
||||
<td><a :href="'/clusters/grants/grant?grantId=' + grant.id">{{grant.name}}</a></td>
|
||||
<td>
|
||||
<span class="ui label tiny basic">{{grant.method.name}}</span>
|
||||
</td>
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
table a span {
|
||||
text-decoration: underline;
|
||||
}
|
||||
/*# sourceMappingURL=index.css.map */
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"sources":["index.less"],"names":[],"mappings":"AAAA,KAAM,EAAE;EACP,0BAAA","file":"index.css"}
|
||||
undefined
|
||||
@@ -41,7 +41,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tr v-for="cluster in clusters">
|
||||
<td><keyword :v-word="keyword">{{cluster.name}}</keyword></td>
|
||||
<td><a :href="'/clusters/cluster?clusterId=' + cluster.id"><keyword :v-word="keyword">{{cluster.name}}</keyword></a></td>
|
||||
<td class="center">
|
||||
<a :href="'/clusters/cluster/nodes?clusterId=' + cluster.id" v-if="cluster.countAllNodes > 0"><span :class="{red:cluster.countAllNodes > cluster.countActiveNodes}">{{cluster.countAllNodes}}</span></a>
|
||||
<span class="disabled" v-else="">-</span>
|
||||
@@ -91,7 +91,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tr v-for="node in nodes">
|
||||
<td><keyword :v-word="keyword">{{node.name}}</keyword>
|
||||
<td><a :href="'/clusters/cluster/node?clusterId=' + node.cluster.id + '&nodeId=' + node.id"><keyword :v-word="keyword">{{node.name}}</keyword></a>
|
||||
<div style="margin-top: 0.5em">
|
||||
<node-clusters-labels :v-primary-cluster="node.cluster" :v-secondary-clusters="node.secondaryClusters" size="tiny"></node-clusters-labels>
|
||||
</div>
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
table a span {
|
||||
text-decoration: underline;
|
||||
}
|
||||
Reference in New Issue
Block a user