Inventory detail page changes. Added accordion. Added custom theme to tree. Fixed tooltips. Added button labels.

This commit is contained in:
chouseknecht
2013-05-30 14:57:38 -04:00
parent 4fae801355
commit f16f41fc99
17 changed files with 538 additions and 200 deletions

View File

@@ -20,7 +20,8 @@ angular.module('HostListDefinition', [])
fields: {
name: {
key: true,
label: 'Name'
label: 'Name',
linkTo: "/inventories/\{\{ inventory_id \}\}/hosts/\{\{ host.id \}\}"
},
description: {
label: 'Description'
@@ -33,6 +34,7 @@ angular.module('HostListDefinition', [])
label: 'Add',
mode: 'all', // One of: edit, select, all
ngClick: 'addHost()',
ngHide: 'showAddButton == false',
class: 'btn-success btn-small',
awToolTip: 'Create a new host'
}
@@ -42,8 +44,8 @@ angular.module('HostListDefinition', [])
edit: {
label: 'Edit',
ngClick: "editHost(\{\{ host.id \}\})",
icon: 'icon-edit btn-success',
class: 'btn-small',
icon: 'icon-edit',
class: 'btn-small btn-success',
awToolTip: 'View/Edit host'
},