diff --git a/awx/ui/client/src/inventories/manage/manage-groups/directive/manage-groups.directive.partial.html b/awx/ui/client/src/inventories/manage/manage-groups/directive/manage-groups.directive.partial.html
index 86368afbe4..eacbf795c9 100644
--- a/awx/ui/client/src/inventories/manage/manage-groups/directive/manage-groups.directive.partial.html
+++ b/awx/ui/client/src/inventories/manage/manage-groups/directive/manage-groups.directive.partial.html
@@ -4,14 +4,16 @@
-
-
-
+
+
diff --git a/awx/ui/client/src/inventories/manage/manage-hosts/directive/manage-hosts.directive.controller.js b/awx/ui/client/src/inventories/manage/manage-hosts/directive/manage-hosts.directive.controller.js
index 1fdf0d157a..5fde6e3991 100644
--- a/awx/ui/client/src/inventories/manage/manage-hosts/directive/manage-hosts.directive.controller.js
+++ b/awx/ui/client/src/inventories/manage/manage-hosts/directive/manage-hosts.directive.controller.js
@@ -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
});
}
diff --git a/awx/ui/client/src/inventories/manage/manage-hosts/directive/manage-hosts.directive.partial.html b/awx/ui/client/src/inventories/manage/manage-hosts/directive/manage-hosts.directive.partial.html
index 7ebdcbbf8d..31c2249234 100644
--- a/awx/ui/client/src/inventories/manage/manage-hosts/directive/manage-hosts.directive.partial.html
+++ b/awx/ui/client/src/inventories/manage/manage-hosts/directive/manage-hosts.directive.partial.html
@@ -1,17 +1,25 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/awx/ui/client/src/inventories/manage/manage.block.less b/awx/ui/client/src/inventories/manage/manage.block.less
index 46598719be..15b41dfd53 100644
--- a/awx/ui/client/src/inventories/manage/manage.block.less
+++ b/awx/ui/client/src/inventories/manage/manage.block.less
@@ -3,4 +3,10 @@
border: none;
text-align: right;
}
+
+ #host-panel-form, #properties-tab {
+ .Form-header {
+ margin-top: -20px;
+ }
+ }
}