Latest UI changs. First iteration on Jobs page.

This commit is contained in:
chouseknecht
2013-05-19 15:05:03 -04:00
parent 14bc3c02f8
commit f409db7778
21 changed files with 229 additions and 48 deletions

View File

@@ -15,6 +15,7 @@ angular.module('HostListDefinition', [])
selectTitle: 'Add Host',
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,
fields: {
name: {
@@ -31,7 +32,7 @@ angular.module('HostListDefinition', [])
icon: 'icon-plus',
mode: 'all', // One of: edit, select, all
ngClick: 'addHost()',
class: 'btn btn-success',
class: 'btn-success',
awToolTip: 'Create a new host'
}
},
@@ -40,13 +41,14 @@ angular.module('HostListDefinition', [])
edit: {
ngClick: "editHost(\{\{ host.id \}\})",
icon: 'icon-edit',
class: 'btn-mini',
awToolTip: 'Edit host'
},
delete: {
ngClick: "deleteHost(\{\{ host.id \}\},'\{\{ host.name \}\}')",
icon: 'icon-remove',
class: 'btn-danger',
class: 'btn-mini btn-danger',
awToolTip: 'Delete host'
}
}