diff --git a/awx/ui/client/features/networking/_index.less b/awx/ui/client/features/networking/_index.less
index 4abeb3f996..2e9b1fbc91 100644
--- a/awx/ui/client/features/networking/_index.less
+++ b/awx/ui/client/features/networking/_index.less
@@ -58,7 +58,6 @@
.Networking-rightPanel{
border-left: 1px solid @at-color-panel-border;
- display:flex;
width:400px;
height: calc(~"100vh - 40px");
padding: 20px;
@@ -70,3 +69,34 @@
right: 0px;
background-color: @default-bg;
}
+
+
+.Networking-panelHeader {
+ display: flex;
+ height: 30px;
+ width:100%;
+}
+
+.Networking-panelHeaderText {
+ color: @default-interface-txt;
+ flex: 1 0 auto;
+ font-size: 14px;
+ font-weight: bold;
+ margin-right: 10px;
+ text-transform: uppercase;
+}
+
+.Networking-resultRow {
+ width: 100%;
+ display: flex;
+ padding-bottom: 10px;
+ flex-wrap: wrap;
+}
+
+.Networking-resultRow--variables {
+ flex-direction: column;
+
+ #cm-variables-container {
+ width: 100%;
+ }
+}
diff --git a/awx/ui/client/features/networking/networking.controller.js b/awx/ui/client/features/networking/networking.controller.js
index b1d76f815a..cd33106bed 100644
--- a/awx/ui/client/features/networking/networking.controller.js
+++ b/awx/ui/client/features/networking/networking.controller.js
@@ -7,8 +7,9 @@ function NetworkingController (models, $state, $scope, strings) {
vm.strings = strings;
vm.panelTitle = `${strings.get('state.BREADCRUMB_LABEL')} | ${inventory.name}`;
+ vm.hostDetail = {};
- vm.panelIsExpanded = true;
+ vm.panelIsExpanded = false;
vm.togglePanel = () => {
vm.panelIsExpanded = !vm.panelIsExpanded;
@@ -17,6 +18,13 @@ function NetworkingController (models, $state, $scope, strings) {
vm.close = () => {
$state.go('inventories');
};
+
+ $scope.$on('retrievedHostData', (e, hostData) => {
+ if (!vm.panelIsExpanded) {
+ vm.panelIsExpanded = true;
+ }
+ $scope.hostDetail = hostData;
+ });
}
NetworkingController.$inject = [
diff --git a/awx/ui/client/features/networking/networking.view.html b/awx/ui/client/features/networking/networking.view.html
index 32c74c738c..418e1da972 100644
--- a/awx/ui/client/features/networking/networking.view.html
+++ b/awx/ui/client/features/networking/networking.view.html
@@ -31,6 +31,68 @@
- VIEW LAYERS
-
+
+
+
+
+
+
+
+
+
+ {{hostDetail.name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/awx/ui/client/src/app.js b/awx/ui/client/src/app.js
index 519809e584..d2374041a9 100644
--- a/awx/ui/client/src/app.js
+++ b/awx/ui/client/src/app.js
@@ -10,7 +10,7 @@ if ($basePath) {
}
import start from './app.start';
-
+// import networkUI from './../network_ui/static/network_ui/src/main.js';
import portalMode from './portal-mode/main';
import systemTracking from './system-tracking/main';
import inventoriesHosts from './inventories-hosts/main';