Styling updates to list views that get generated in the form generator. Moved the button generation out into a helper for these specific cases.

This commit is contained in:
Michael Abashian
2016-01-22 16:45:22 -05:00
parent c981a4d53e
commit 0d64563dd8
10 changed files with 119 additions and 105 deletions

View File

@@ -123,9 +123,10 @@ export default
actions: {
add: {
ngClick: "add('credentials')",
icon: 'icon-plus',
label: 'Add',
awToolTip: 'Add a credential for this user'
awToolTip: 'Add a credential for this user',
actionClass: 'btn List-buttonSubmit',
buttonContent: '+ ADD'
}
},
@@ -167,10 +168,11 @@ export default
actions: {
add: {
ngClick: "add('permissions')",
icon: 'icon-plus',
label: 'Add',
awToolTip: 'Add a permission for this user',
ngShow: 'PermissionAddAllowed'
ngShow: 'PermissionAddAllowed',
actionClass: 'btn List-buttonSubmit',
buttonContent: '+ ADD'
}
},