minor fixes based on advise

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2019-09-07 20:05:34 +05:30
parent 5b872a085f
commit 0f4445ccb3
5 changed files with 8 additions and 7 deletions

View File

@ -176,10 +176,10 @@
</div>
<div style="margin-top: 12px" v-else>
<a-row :gutter="12" v-show="!tableView">
<a-col v-for="item in items" :md="24" :lg="4" :key="item.id">
<a-col v-for="item in items" :md="24" :lg="6" :key="item.id">
<a-card
hoverable
style="width: 250px; margin-bottom: 12px">
style="margin-bottom: 12px">
<template class="ant-card-actions" slot="actions">
<a-icon type="edit" />
<a-icon type="setting" />

View File

@ -2,8 +2,7 @@
<a-dropdown>
<span class="action ant-dropdown-link translation-menu">
<flag :iso="flag" style="font-size: 12px; margin-right: -25px; margin-top: -20px" />
<a-icon type="global"></a-icon>
<flag :iso="flag" />
</span>
<a-menu slot="overlay" @click="onClick">
<a-menu-item key="en" :value="enUS"><flag iso="gb"/> English</a-menu-item>

View File

@ -1,7 +1,7 @@
<template>
<div style="padding-top: 12px" class="page-header-index-wide page-header-wrapper-grid-content-main">
<a-row :gutter="12">
<a-col :md="24" :lg="7">
<a-col :md="24" :lg="7" style="margin-bottom: 12px">
<a-card :bordered="true">
<div class="account-center-avatarHolder">
<div class="avatar">
@ -59,7 +59,7 @@
<router-link :to="{ path: '/host/' + vm.hostid }">{{ vm.hostname }}</router-link> ({{ vm.hypervisor }})
</p>
<p>
<a-icon type="table" style="margin-left: 6px; margin-right: 12px" />
<a-icon type="global" style="margin-left: 6px; margin-right: 12px" />
<router-link :to="{ path: '/zone/' + vm.zoneid }">{{ vm.zonename }}</router-link>
</p>
<p>

View File

@ -126,6 +126,7 @@ export default {
}
]
},
/*
{
name: 'demo',
title: 'Demo',
@ -133,6 +134,7 @@ export default {
permission: [ 'listVirtualMachines' ],
component: () => import('@/components/Test.vue')
},
*/
{
name: 'ssh',
title: 'SSH Key Pairs',

View File

@ -7,7 +7,7 @@ export default {
{
name: 'zone',
title: 'Zones',
icon: 'table',
icon: 'global',
permission: [ 'listZones', 'listZonesMetrics' ],
component: () => import('@/components/CloudMonkey/Resource.vue'),
columns: [ 'name', 'allocationstate', 'networktype', 'guestcidraddress' ]