mirror of https://github.com/apache/cloudstack.git
detailsview: show card in cards (for now)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
7ddeac9001
commit
748c3b953c
|
|
@ -12,6 +12,13 @@
|
|||
title="Details"
|
||||
:bordered="true"
|
||||
>
|
||||
<a-card-grid
|
||||
style="width:33.33%; textAlign:'center'"
|
||||
:key="key"
|
||||
v-for="(value, key) in resource"
|
||||
v-if="key !== 'key' && key !== 'tags'">
|
||||
<strong>{{ key }}</strong><br/>{{ value }}
|
||||
</a-card-grid>
|
||||
</a-card>
|
||||
<a-card
|
||||
style="width:100%; margin-top: 12px"
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="account-center-tags" v-if="resourceType">
|
||||
<div class="account-center-tags">
|
||||
<a-divider/>
|
||||
<div class="tagsTitle">Tags</div>
|
||||
<div>
|
||||
|
|
@ -210,6 +210,9 @@ export default {
|
|||
this.resource = newItem
|
||||
this.getTags()
|
||||
this.getNotes()
|
||||
if ('tags' in this.resource) {
|
||||
this.tags = this.resource.tags
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue