mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
Visual updates. Added in Create Host title.
This commit is contained in:
parent
23ae408e56
commit
66bab4fcf2
@ -4,14 +4,16 @@
|
||||
<i class="fa fa-times-circle"></i>
|
||||
</button>
|
||||
</div>
|
||||
<div id="group-manage-panel"></div>
|
||||
<div id="properties-tab"></div>
|
||||
<div id="sources-tab"></div>
|
||||
<div id="group-manage-panel">
|
||||
<div id="properties-tab"></div>
|
||||
<div id="sources-tab"></div>
|
||||
</div>
|
||||
|
||||
<div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix">
|
||||
<div class="ui-dialog-buttonset">
|
||||
<button type="button" class="btn btn-primary Form-saveButton" id="Inventory-groupManage--okButton" ng-click="vm.saveGroup()">
|
||||
Save</button>
|
||||
<button type="button" class="btn btn-default Form-cancelButton" id="Inventory-groupManage--cancelButton" ng-click="vm.cancelModal()">
|
||||
<button type="button" class="btn btn-default Form-cancelButton" id="Inventory-groupManage--cancelButton" ng-click="vm.cancelPanel()">
|
||||
Cancel</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -41,7 +41,7 @@ function manageHostsDirectiveController($rootScope, $location, $log, $stateParam
|
||||
});
|
||||
generator.reset();
|
||||
|
||||
var name = scope.name;
|
||||
|
||||
scope.parseType = 'yaml';
|
||||
|
||||
// Retrieve detail record and prepopulate the form
|
||||
@ -68,7 +68,6 @@ function manageHostsDirectiveController($rootScope, $location, $log, $stateParam
|
||||
}
|
||||
scope.variable_url = data.related.variable_data;
|
||||
scope.has_inventory_sources = data.has_inventory_sources;
|
||||
//scope.$emit('hostVariablesLoaded');
|
||||
})
|
||||
.error(function(data, status) {
|
||||
ProcessErrors(parent_scope, data, status, form, {
|
||||
@ -172,10 +171,12 @@ function manageHostsDirectiveController($rootScope, $location, $log, $stateParam
|
||||
$state.go('inventoryManage');
|
||||
};
|
||||
|
||||
|
||||
|
||||
angular.extend(vm, {
|
||||
cancelPanel: cancelPanel,
|
||||
name: name,
|
||||
saveHost: saveHost,
|
||||
mode: mode
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@ -1,17 +1,25 @@
|
||||
<div>
|
||||
<div class="Form-exitHolder">
|
||||
<button class="Form-exit" ng-click="vm.cancelPanel()">
|
||||
<i class="fa fa-times-circle"></i>
|
||||
</button>
|
||||
</div>
|
||||
<div id="host-panel-form">
|
||||
</div>
|
||||
<div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix">
|
||||
<div class="ui-dialog-buttonset">
|
||||
<button type="button" class="btn btn-primary Form-saveButton" id="Inventory-hostManage--okButton" ng-click="vm.saveHost()">
|
||||
Save</button>
|
||||
<button type="button" class="btn btn-default Form-cancelButton" id="Inventory-hostManage--cancelButton" ng-click="vm.cancelPanel()">
|
||||
Cancel</button>
|
||||
</div>
|
||||
<div class="Form-header" ng-if="vm.mode === 'add'">
|
||||
<div class="Form-title ng-binding" >Create Host</div>
|
||||
<div class="Form-exitHolder">
|
||||
<button class="Form-exit" ng-click="vm.cancelPanel()">
|
||||
<i class="fa fa-times-circle"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="Form-exitHolder" ng-if="vm.mode === 'edit'">
|
||||
<button class="Form-exit" ng-click="vm.cancelPanel()">
|
||||
<i class="fa fa-times-circle"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div id="host-panel-form"></div>
|
||||
<div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix">
|
||||
<div class="ui-dialog-buttonset">
|
||||
<button type="button" class="btn btn-primary Form-saveButton" id="Inventory-hostManage--okButton" ng-click="vm.saveHost()">
|
||||
Save</button>
|
||||
<button type="button" class="btn btn-default Form-cancelButton" id="Inventory-hostManage--cancelButton" ng-click="vm.cancelPanel()">
|
||||
Cancel</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -3,4 +3,10 @@
|
||||
border: none;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#host-panel-form, #properties-tab {
|
||||
.Form-header {
|
||||
margin-top: -20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user