mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02:30
Adhoc command button tooltip fix
This commit is contained in:
committed by
Jared Tabor
parent
8f11883553
commit
d0985f742c
@@ -50,7 +50,6 @@ export default {
|
|||||||
ngDisabled: '!groupsSelected',
|
ngDisabled: '!groupsSelected',
|
||||||
ngClick: 'setAdhocPattern()',
|
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.",
|
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',
|
dataPlacement: 'top',
|
||||||
actionClass: 'btn List-buttonDefault',
|
actionClass: 'btn List-buttonDefault',
|
||||||
buttonContent: 'RUN COMMANDS',
|
buttonContent: 'RUN COMMANDS',
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ export default {
|
|||||||
ngDisabled: '!groupsSelected',
|
ngDisabled: '!groupsSelected',
|
||||||
ngClick: 'setAdhocPattern()',
|
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.",
|
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',
|
actionClass: 'btn List-buttonDefault',
|
||||||
buttonContent: 'RUN COMMANDS',
|
buttonContent: 'RUN COMMANDS',
|
||||||
showTipWhenDisabled: true,
|
showTipWhenDisabled: true,
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ export default {
|
|||||||
ngDisabled: '!hostsSelected',
|
ngDisabled: '!hostsSelected',
|
||||||
ngClick: 'setAdhocPattern()',
|
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.",
|
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',
|
actionClass: 'btn List-buttonDefault',
|
||||||
buttonContent: 'RUN COMMANDS',
|
buttonContent: 'RUN COMMANDS',
|
||||||
showTipWhenDisabled: true,
|
showTipWhenDisabled: true,
|
||||||
|
|||||||
@@ -88,7 +88,6 @@ export default {
|
|||||||
ngDisabled: '!hostsSelected',
|
ngDisabled: '!hostsSelected',
|
||||||
ngClick: 'setAdhocPattern()',
|
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.",
|
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',
|
dataPlacement: 'top',
|
||||||
actionClass: 'btn List-buttonDefault',
|
actionClass: 'btn List-buttonDefault',
|
||||||
buttonContent: 'RUN COMMANDS',
|
buttonContent: 'RUN COMMANDS',
|
||||||
|
|||||||
@@ -47,24 +47,6 @@ export default {
|
|||||||
actionClass: 'btn List-buttonDefault',
|
actionClass: 'btn List-buttonDefault',
|
||||||
buttonContent: 'REFRESH'
|
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: {
|
create: {
|
||||||
mode: 'all',
|
mode: 'all',
|
||||||
ngClick: "createSource()",
|
ngClick: "createSource()",
|
||||||
|
|||||||
Reference in New Issue
Block a user