Hosts side of inventory detail page now working through modal dialogs. Fixed pagination on modal list. Test Add/Edit/Delete host buttons. Only piece left is to fix the host name link, which should bring up the Edit dialog.

This commit is contained in:
chouseknecht
2013-06-04 19:12:28 -04:00
parent 4575faf831
commit 2accb94972
10 changed files with 475 additions and 90 deletions

View File

@@ -16,6 +16,7 @@ angular.module('HostListDefinition', [])
selectInstructions: 'Click on a row to select it, and click Finished when done. Use the green <i class=\"icon-plus\"></i> button to create a new row.',
editTitle: 'Hosts',
index: true,
well: true,
fields: {
name: {
@@ -33,7 +34,7 @@ angular.module('HostListDefinition', [])
icon: 'icon-plus',
label: 'Add',
mode: 'all', // One of: edit, select, all
ngClick: 'addHost()',
ngClick: 'createHost()',
ngHide: 'showAddButton == false',
class: 'btn-success btn-small',
awToolTip: 'Create a new host'