1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 15:21:13 +03:00

Button clean-up all Edit/View buttons now match and have a black on grey color

This commit is contained in:
chouseknecht 2013-07-17 17:23:35 -04:00
parent 49fd23d84d
commit e3893f1524
14 changed files with 11 additions and 20 deletions

View File

@ -152,7 +152,6 @@ angular.module('InventoryFormDefinition', [])
ngClick: "editHost(\{\{ host.id \}\}, '\{\{ host.name \}\}')",
icon: 'icon-edit',
label: 'Edit',
"class": 'btn-success',
awToolTip: 'Edit host'
},
"delete": {

View File

@ -82,7 +82,6 @@ angular.module('OrganizationFormDefinition', [])
label: 'Edit',
ngClick: "edit('users', \{\{ user.id \}\}, '\{\{ user.username \}\}')",
icon: 'icon-edit',
"class": 'btn-success',
awToolTip: 'Edit user'
},
"delete": {
@ -126,7 +125,6 @@ angular.module('OrganizationFormDefinition', [])
label: 'Edit',
ngClick: "edit('users', \{\{ admin.id \}\}, '\{\{ admin.username \}\}')",
icon: 'icon-edit',
"class": 'btn-success',
awToolTip: 'Edit administrator'
},
"delete": {

View File

@ -92,7 +92,6 @@ angular.module('TeamFormDefinition', [])
label: 'Edit',
ngClick: "edit('credentials', \{\{ credential.id \}\}, '\{\{ credential.name \}\}')",
icon: 'icon-edit',
"class": 'btn-success',
awToolTip: 'Modify the credential'
},
"delete": {
@ -148,7 +147,6 @@ angular.module('TeamFormDefinition', [])
label: 'Edit',
ngClick: "edit('permissions', \{\{ permission.id \}\}, '\{\{ permission.name \}\}')",
icon: 'icon-edit',
"class": 'btn-success',
awToolTip: 'Edit the permission'
},
@ -192,7 +190,6 @@ angular.module('TeamFormDefinition', [])
label: 'Edit',
ngClick: "edit('projects', \{\{ project.id \}\}, '\{\{ project.name \}\}')",
icon: 'icon-edit',
"class": 'btn-success',
awToolTip: 'Modify the project'
},
"delete": {
@ -238,7 +235,6 @@ angular.module('TeamFormDefinition', [])
label: 'Edit',
ngClick: "edit('users', \{\{ user.id \}\}, '\{\{ user.username \}\}')",
icon: 'icon-edit',
"class": 'btn-success',
awToolTip: 'Edit user'
},
"delete": {

View File

@ -133,7 +133,6 @@ angular.module('UserFormDefinition', [])
label: 'Edit',
ngClick: "edit('credentials', \{\{ credential.id \}\}, '\{\{ credential.name \}\}')",
icon: 'icon-edit',
"class": 'btn-success',
awToolTip: 'Edit the credential'
},
"delete": {
@ -190,7 +189,6 @@ angular.module('UserFormDefinition', [])
label: 'Edit',
ngClick: "edit('permissions', \{\{ permission.id \}\}, '\{\{ permission.name \}\}')",
icon: 'icon-edit',
"class": 'btn-success',
awToolTip: 'Edit the permission'
},

View File

@ -59,7 +59,7 @@ angular.module('CredentialsListDefinition', [])
ngClick: "editCredential(\{\{ credential.id \}\})",
icon: 'icon-edit',
label: 'Edit',
"class": 'btn-small btn-success',
"class": 'btn-small',
awToolTip: 'View/Edit credential'
},

View File

@ -55,7 +55,7 @@ angular.module('GroupListDefinition', [])
label: 'Edit',
ngClick: "editGroup(\{\{ group.id \}\})",
icon: 'icon-edit',
"class": 'btn-small btn-success',
"class": 'btn-small',
awToolTip: 'View/Edit group'
},

View File

@ -47,7 +47,7 @@ angular.module('HostListDefinition', [])
label: 'Edit',
ngClick: "editHost(\{\{ host.id \}\})",
icon: 'icon-edit',
"class": 'btn-small btn-success',
"class": 'btn-small',
awToolTip: 'View/Edit host'
},

View File

@ -63,7 +63,7 @@ angular.module('InventoriesListDefinition', [])
label: 'Edit',
ngClick: "editInventory(\{\{ inventory.id \}\})",
icon: 'icon-edit',
"class": 'btn-small btn-success',
"class": 'btn-small',
awToolTip: 'View/Edit inventory'
},

View File

@ -46,7 +46,7 @@ angular.module('JobTemplatesListDefinition', [])
ngClick: "editJobTemplate(\{\{ job_template.id \}\})",
icon: 'icon-edit',
awToolTip: 'Edit template',
"class": 'btn-small btn-success'
"class": 'btn-small'
},
submit: {
label: 'Launch',

View File

@ -43,7 +43,7 @@ angular.module('OrganizationListDefinition', [])
label: 'Edit',
ngClick: "editOrganization(\{\{ organization.id \}\})",
icon: 'icon-edit',
"class": 'btn-small btn-success',
"class": 'btn-small',
awToolTip: 'View/Edit organization'
},

View File

@ -44,7 +44,7 @@ angular.module('PermissionListDefinition', [])
actions: {
add: {
icon: 'icon-plus',
label: 'Add',
label: 'Create New',
mode: 'all', // One of: edit, select, all
ngClick: 'addPermission()',
"class": 'btn-success btn-small',
@ -57,7 +57,7 @@ angular.module('PermissionListDefinition', [])
label: 'Edit',
ngClick: "editPermission(\{\{ permission.id \}\})",
icon: 'icon-edit',
"class": 'btn-small btn-success',
"class": 'btn-small',
awToolTip: 'View/Edit permission'
},

View File

@ -45,7 +45,7 @@ angular.module('ProjectsListDefinition', [])
label: 'Edit',
ngClick: "editProject(\{\{ project.id \}\})",
icon: 'icon-edit',
"class": 'btn-small btn-success',
"class": 'btn-small',
awToolTip: 'View/edit project'
},

View File

@ -40,7 +40,7 @@ angular.module('TeamsListDefinition', [])
icon: 'icon-plus',
mode: 'all', // One of: edit, select, all
ngClick: 'addTeam()',
"class": 'btn-success btn-small',
"class": 'btn-small',
awToolTip: 'Create a new team'
}
},

View File

@ -50,7 +50,7 @@ angular.module('UserListDefinition', [])
label: 'Edit',
ngClick: "editUser(\{\{ user.id \}\})",
icon: 'icon-edit',
"class": 'btn-small btn-success',
"class": 'btn-small',
awToolTip: 'View/Edit user'
},