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

Adhoc command button tooltip fix

This commit is contained in:
Michael Abashian 2017-05-01 14:22:45 -04:00 committed by Jared Tabor
parent 8f11883553
commit d0985f742c
5 changed files with 2 additions and 22 deletions

View File

@ -50,7 +50,6 @@ export default {
ngDisabled: '!groupsSelected',
ngClick: 'setAdhocPattern()',
awToolTip: "Select an inventory source by clicking the check box beside it. The inventory source can be a single group or a selection of multiple groups.",
dataTipWatch: "adhocCommandTooltip",
dataPlacement: 'top',
actionClass: 'btn List-buttonDefault',
buttonContent: 'RUN COMMANDS',

View File

@ -52,7 +52,7 @@ export default {
ngDisabled: '!groupsSelected',
ngClick: 'setAdhocPattern()',
awToolTip: "Select an inventory source by clicking the check box beside it. The inventory source can be a single group or host, a selection of multiple hosts, or a selection of multiple groups.",
dataTipWatch: "adhocCommandTooltip",
dataPlacement: 'top',
actionClass: 'btn List-buttonDefault',
buttonContent: 'RUN COMMANDS',
showTipWhenDisabled: true,

View File

@ -88,7 +88,7 @@ export default {
ngDisabled: '!hostsSelected',
ngClick: 'setAdhocPattern()',
awToolTip: "Select an inventory source by clicking the check box beside it. The inventory source can be a single group or host, a selection of multiple hosts, or a selection of multiple groups.",
dataTipWatch: "adhocCommandTooltip",
dataPlacement: 'top',
actionClass: 'btn List-buttonDefault',
buttonContent: 'RUN COMMANDS',
showTipWhenDisabled: true,

View File

@ -88,7 +88,6 @@ export default {
ngDisabled: '!hostsSelected',
ngClick: 'setAdhocPattern()',
awToolTip: "Select an inventory source by clicking the check box beside it. The inventory source can be a single host or a selection of multiple hosts.",
dataTipWatch: "adhocCommandTooltip",
dataPlacement: 'top',
actionClass: 'btn List-buttonDefault',
buttonContent: 'RUN COMMANDS',

View File

@ -47,24 +47,6 @@ export default {
actionClass: 'btn List-buttonDefault',
buttonContent: 'REFRESH'
},
// launch: {
// mode: 'all',
// // $scope.$parent is governed by InventoryManageController,
// ngDisabled: '!$parent.groupsSelected && !$parent.hostsSelected',
// ngClick: '$parent.setAdhocPattern()',
// awToolTip: "Select an inventory source by clicking the check box beside it. The inventory source can be a single group or host, a selection of multiple hosts, or a selection of multiple groups.",
// dataTipWatch: "adhocCommandTooltip",
// actionClass: 'btn List-buttonDefault',
// buttonContent: 'RUN COMMANDS',
// showTipWhenDisabled: true,
// tooltipInnerClass: "Tooltip-wide",
// ngShow: 'canAdhoc'
// // TODO: set up a tip watcher and change text based on when
// // things are selected/not selected. This is started and
// // commented out in the inventory controller within the watchers.
// // awToolTip: "{{ adhocButtonTipContents }}",
// // dataTipWatch: "adhocButtonTipContents"
// },
create: {
mode: 'all',
ngClick: "createSource()",