File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed
web/dashboard/src/business/cluster/nodes/detail Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change 150
150
<tr >
151
151
<td >{{ $t("business.pod.address") }}</td >
152
152
<td >
153
- < span v-for =" (address,index) in item.status.addresses" v-bind:key =" index" >
154
- {{ address.type }} : {{ address.address }}
155
- </ span >
153
+ < div v-for =" (address,index) in item.status.addresses" v-bind:key =" index" >
154
+ < el-tag type = " success " > {{ address.type }} : {{ address.address }}</ el-tag >
155
+ </ div >
156
156
</td >
157
157
</tr >
158
158
<tr >
159
159
<td >Allocatable</td >
160
- <td ><span >
161
- CPU:{{item.status.allocatable.cpu}} Memory:{{item.status.allocatable.memory}} Pods:{{item.status.allocatable.pods}}
162
- </span ></td >
160
+ <td >
161
+ <div ><el-tag type =" success" >CPU : {{item.status.allocatable.cpu}}</el-tag ></div >
162
+ <div ><el-tag type =" success" >Memory : {{item.status.allocatable.memory}}</el-tag ></div >
163
+ <div ><el-tag type =" success" >Pods : {{item.status.allocatable.pods}}</el-tag ></div >
164
+ </td >
163
165
</tr >
164
166
<tr >
165
167
<td >Capacity</td >
166
- <td ><span >
167
- CPU:{{item.status.capacity.cpu}} Memory:{{item.status.capacity.memory}} Pods:{{item.status.capacity.pods}}
168
- </span ></td >
168
+ <td >
169
+ <div ><el-tag type =" success" >CPU : {{item.status.capacity.cpu}}</el-tag ></div >
170
+ <div ><el-tag type =" success" >Memory : {{item.status.capacity.memory}}</el-tag ></div >
171
+ <div ><el-tag type =" success" >Pods : {{item.status.capacity.pods}}</el-tag ></div >
172
+ </td >
169
173
</tr >
170
174
</table >
171
175
</el-tab-pane >
You can’t perform that action at this time.
0 commit comments