mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 01:47:35 -02:30
Script for building minified javascript using closure compiler
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* Organization.js
|
||||
* Form definition for Organization model
|
||||
*
|
||||
*
|
||||
*
|
||||
*/
|
||||
angular.module('OrganizationFormDefinition', [])
|
||||
.value(
|
||||
@@ -35,7 +35,7 @@ angular.module('OrganizationFormDefinition', [])
|
||||
save: {
|
||||
label: 'Save',
|
||||
icon: 'icon-ok',
|
||||
class: 'btn-success',
|
||||
"class": 'btn-success',
|
||||
ngClick: 'formSave()', //$scope.function to call on click, optional
|
||||
ngDisabled: true //Disable when $pristine or $invalid, optional
|
||||
},
|
||||
@@ -61,7 +61,7 @@ angular.module('OrganizationFormDefinition', [])
|
||||
label: 'Add',
|
||||
icon: 'icon-plus',
|
||||
awToolTip: 'Add a new user'
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
fields: {
|
||||
@@ -82,14 +82,14 @@ angular.module('OrganizationFormDefinition', [])
|
||||
label: 'Edit',
|
||||
ngClick: "edit('users', \{\{ user.id \}\}, '\{\{ user.username \}\}')",
|
||||
icon: 'icon-edit',
|
||||
class: 'btn-success',
|
||||
"class": 'btn-success',
|
||||
awToolTip: 'Edit user'
|
||||
},
|
||||
delete: {
|
||||
"delete": {
|
||||
label: 'Delete',
|
||||
ngClick: "delete('users', \{\{ user.id \}\}, '\{\{ user.username \}\}', 'users')",
|
||||
icon: 'icon-remove',
|
||||
class: 'btn-danger',
|
||||
"class": 'btn-danger',
|
||||
awToolTip: 'Remove user'
|
||||
}
|
||||
}
|
||||
@@ -126,14 +126,14 @@ angular.module('OrganizationFormDefinition', [])
|
||||
label: 'Edit',
|
||||
ngClick: "edit('users', \{\{ admin.id \}\}, '\{\{ admin.username \}\}')",
|
||||
icon: 'icon-edit',
|
||||
class: 'btn-success',
|
||||
"class": 'btn-success',
|
||||
awToolTip: 'Edit administrator'
|
||||
},
|
||||
delete: {
|
||||
"delete": {
|
||||
label: 'Delete',
|
||||
ngClick: "delete('admins', \{\{ admin.id \}\}, '\{\{ admin.username \}\}', 'administrators')",
|
||||
icon: 'icon-remove',
|
||||
class: 'btn-danger',
|
||||
"class": 'btn-danger',
|
||||
awToolTip: 'Remove administrator'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user