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>
<div style="margin-top: 12px" v-else> <div style="margin-top: 12px" v-else>
<a-row :gutter="12" v-show="!tableView"> <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 <a-card
hoverable hoverable
style="width: 250px; margin-bottom: 12px"> style="margin-bottom: 12px">
<template class="ant-card-actions" slot="actions"> <template class="ant-card-actions" slot="actions">
<a-icon type="edit" /> <a-icon type="edit" />
<a-icon type="setting" /> <a-icon type="setting" />

View File

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

View File

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

View File

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

View File

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