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('CredentialsListDefinition', [])
selectTitle: 'Add Credentials',
editTitle: 'Credentials',
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.',
index: true,
fields: {
name: {
@@ -44,7 +45,7 @@ angular.module('CredentialsListDefinition', [])
mode: 'all', // One of: edit, select, all
ngClick: 'addCredential()',
basePaths: ['credentials'], // base path must be in list, or action not available
class: 'btn btn-success',
class: 'btn-success',
awToolTip: 'Create a new credential'
}
},
@@ -53,13 +54,14 @@ angular.module('CredentialsListDefinition', [])
edit: {
ngClick: "editCredential(\{\{ credential.id \}\})",
icon: 'icon-edit',
class: 'btn-mini',
awToolTip: 'Edit credential'
},
delete: {
ngClick: "deleteCredential(\{\{ credential.id \}\},'\{\{ credential.name \}\}')",
icon: 'icon-remove',
class: 'btn-danger',
class: 'btn-mini btn-danger',
awToolTip: 'Delete credential'
}
}