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('JobTemplatesListDefinition', [])
selectTitle: 'Add Job Template',
editTitle: 'Job Templates',
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: {
@@ -31,29 +32,30 @@ angular.module('JobTemplatesListDefinition', [])
icon: 'icon-plus',
mode: 'all', // One of: edit, select, all
ngClick: 'addJobTemplate()',
class: 'btn btn-success',
class: 'btn-success',
basePaths: ['job_templates'],
awToolTip: 'Create a new template'
}
},
fieldActions: {
submit: {
icon: 'icon-play',
mode: 'all',
ngClick: 'submitJob(\{\{ job_template.id \}\})',
class: 'btn btn-mini',
awToolTip: 'Create and run a job using this template'
},
edit: {
ngClick: "editJobTemplate(\{\{ job_template.id \}\})",
icon: 'icon-edit',
awToolTip: 'Edit template'
awToolTip: 'Edit template',
class: 'btn-mini'
},
submit: {
icon: 'icon-play',
mode: 'all',
class: 'btn-mini',
ngClick: 'submitJob(\{\{ job_template.id \}\})',
awToolTip: 'Create and run a job using this template'
},
delete: {
ngClick: "deleteJobTemplate(\{\{ job_template.id \}\},'\{\{ job_template.name \}\}')",
icon: 'icon-remove',
class: 'btn-danger',
class: 'btn-danger btn-mini',
awToolTip: 'Delete template'
}
}