From d2fdab0750468e21fda350bbed8f9d1d2c3f262f Mon Sep 17 00:00:00 2001 From: Remi Bergsma Date: Sun, 21 Feb 2016 20:20:56 +0100 Subject: [PATCH] Improve ordering of fields of VPC router detail tab The field we use most are now on the top: - name - state - hypervisor - link local ip - redundant state The other fields are nice, but not needed most of the time. --- ui/scripts/network.js | 54 +++++++++++++++++++++++-------------------- 1 file changed, 29 insertions(+), 25 deletions(-) diff --git a/ui/scripts/network.js b/ui/scripts/network.js index bb599fd5ec5..f4e0f9a96b6 100755 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -5838,35 +5838,14 @@ label: 'label.name' } }, { - id: { - label: 'label.id' - }, - zonename: { - label: 'label.zone' - }, - dns1: { - label: 'label.dns' - }, - gateway: { - label: 'label.gateway' - }, - publicip: { - label: 'label.public.ip' - }, - guestipaddress: { - label: 'label.guest.ip' - }, - linklocalip: { - label: 'label.linklocal.ip' + state: { + label: 'label.state' }, hostname: { label: 'label.host' }, - state: { - label: 'label.state' - }, - serviceofferingname: { - label: 'label.service.offering' + linklocalip: { + label: 'label.linklocal.ip' }, isredundantrouter: { label: 'label.redundant.router', @@ -5877,6 +5856,30 @@ return "No"; } }, + redundantstate: { + label: 'label.redundant.state' + }, + id: { + label: 'label.id' + }, + serviceofferingname: { + label: 'label.service.offering' + }, + zonename: { + label: 'label.zone' + }, + gateway: { + label: 'label.gateway' + }, + publicip: { + label: 'label.public.ip' + }, + guestipaddress: { + label: 'label.guest.ip' + }, + dns1: { + label: 'label.dns' + }, account: { label: 'label.account' }, @@ -5884,6 +5887,7 @@ label: 'label.domain' } }], + dataProvider: function(args) { $.ajax({ url: createURL("listRouters&listAll=true&vpcid=" + args.context.vpc[0].id),