mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 08:18:43 -03:30
Inventory manage audit items fixed
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
* @description This controller controls the adhoc form creation, command launching and navigating to standard out after command has been succesfully ran.
|
* @description This controller controls the adhoc form creation, command launching and navigating to standard out after command has been succesfully ran.
|
||||||
*/
|
*/
|
||||||
function adhocController($q, $scope, $location, $stateParams,
|
function adhocController($q, $scope, $location, $stateParams,
|
||||||
$state, CheckPasswords, PromptForPasswords, CreateLaunchDialog, adhocForm,
|
$state, CheckPasswords, PromptForPasswords, CreateLaunchDialog, CreateSelect2, adhocForm,
|
||||||
GenerateForm, Rest, ProcessErrors, ClearScope, GetBasePath, GetChoices,
|
GenerateForm, Rest, ProcessErrors, ClearScope, GetBasePath, GetChoices,
|
||||||
KindChange, LookUpInit, CredentialList, Empty, Wait) {
|
KindChange, LookUpInit, CredentialList, Empty, Wait) {
|
||||||
|
|
||||||
@@ -68,6 +68,17 @@ function adhocController($q, $scope, $location, $stateParams,
|
|||||||
if (formReadyPromise === 2) {
|
if (formReadyPromise === 2) {
|
||||||
privateFn.setFieldDefaults($scope.adhoc_verbosity_options,
|
privateFn.setFieldDefaults($scope.adhoc_verbosity_options,
|
||||||
$scope.forks_field.default);
|
$scope.forks_field.default);
|
||||||
|
|
||||||
|
CreateSelect2({
|
||||||
|
element: '#adhoc_module_name',
|
||||||
|
multiple: false
|
||||||
|
});
|
||||||
|
|
||||||
|
CreateSelect2({
|
||||||
|
element: '#adhoc_verbosity',
|
||||||
|
multiple: false
|
||||||
|
});
|
||||||
|
|
||||||
Wait('stop');
|
Wait('stop');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -295,7 +306,7 @@ function adhocController($q, $scope, $location, $stateParams,
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default ['$q', '$scope', '$location', '$stateParams',
|
export default ['$q', '$scope', '$location', '$stateParams',
|
||||||
'$state', 'CheckPasswords', 'PromptForPasswords', 'CreateLaunchDialog', 'adhocForm',
|
'$state', 'CheckPasswords', 'PromptForPasswords', 'CreateLaunchDialog', 'CreateSelect2',
|
||||||
'GenerateForm', 'Rest', 'ProcessErrors', 'ClearScope', 'GetBasePath',
|
'adhocForm', 'GenerateForm', 'Rest', 'ProcessErrors', 'ClearScope', 'GetBasePath',
|
||||||
'GetChoices', 'KindChange', 'LookUpInit', 'CredentialList', 'Empty', 'Wait',
|
'GetChoices', 'KindChange', 'LookUpInit', 'CredentialList', 'Empty', 'Wait',
|
||||||
adhocController];
|
adhocController];
|
||||||
|
|||||||
@@ -123,17 +123,17 @@ export default function() {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
buttons: {
|
buttons: {
|
||||||
launch: {
|
|
||||||
label: 'Save',
|
|
||||||
ngClick: 'launchJob()',
|
|
||||||
ngDisabled: true,
|
|
||||||
'class': 'btn btn-sm List-buttonSubmit'
|
|
||||||
},
|
|
||||||
reset: {
|
reset: {
|
||||||
ngClick: 'formReset()',
|
ngClick: 'formReset()',
|
||||||
ngDisabled: true,
|
ngDisabled: true,
|
||||||
label: 'Reset',
|
label: 'Reset',
|
||||||
'class': 'btn btn-sm Form-cancelButton'
|
'class': 'btn btn-sm Form-cancelButton'
|
||||||
|
},
|
||||||
|
launch: {
|
||||||
|
label: 'Save',
|
||||||
|
ngClick: 'launchJob()',
|
||||||
|
ngDisabled: true,
|
||||||
|
'class': 'btn btn-sm List-buttonSubmit'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ export default
|
|||||||
selectTitle: 'Copy Groups',
|
selectTitle: 'Copy Groups',
|
||||||
index: false,
|
index: false,
|
||||||
well: false,
|
well: false,
|
||||||
|
emptyListText: 'PLEASE CREATE ADDITIONAL GROUPS / HOSTS TO PERFORM THIS ACTION',
|
||||||
fields: {
|
fields: {
|
||||||
name: {
|
name: {
|
||||||
key: true,
|
key: true,
|
||||||
|
|||||||
@@ -85,11 +85,19 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
&-message {
|
&-message {
|
||||||
font-size: 1.5em;
|
font-size: 14px;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
text-align: center;
|
|
||||||
width: 75%;
|
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
|
color: @default-interface-txt;
|
||||||
|
text-transform: uppercase;
|
||||||
|
width: 100%;
|
||||||
|
height: 200px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
border-radius: 5px;
|
||||||
|
border: 1px solid @default-no-items-bord;
|
||||||
|
background-color: @default-no-items-bord;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-note {
|
&-note {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
</section>
|
</section>
|
||||||
<section class="SystemTrackingContainer Panel" ng-hide="noModuleData">
|
<section class="SystemTrackingContainer Panel" ng-hide="noModuleData">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="Form-title ng-binding col-md-3">SYSTEM TRACKING | {{inventory.name}}</div>
|
<div class="Form-title ng-binding col-md-3">SYSTEM TRACKING <div class="List-titleLockup"></div>{{inventory.name}}</div>
|
||||||
<div class="FactModulePickers row col-md-8 col-md-offset-1">
|
<div class="FactModulePickers row col-md-8 col-md-offset-1">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="FactModulePickers-dateContainer FactModulePickers-dateContainer--left col-md-6">
|
<div class="FactModulePickers-dateContainer FactModulePickers-dateContainer--left col-md-6">
|
||||||
|
|||||||
Reference in New Issue
Block a user