diff --git a/app/docker/components/host-view-panels/host-details-panel/host-details-panel-controller.js b/app/docker/components/host-view-panels/host-details-panel/host-details-panel-controller.js new file mode 100644 index 000000000..c64c41a26 --- /dev/null +++ b/app/docker/components/host-view-panels/host-details-panel/host-details-panel-controller.js @@ -0,0 +1,4 @@ +angular.module('portainer.docker') +.controller('HostDetailsPanelController', [function HostDetailsPanelController(){ + +}]); diff --git a/app/docker/components/host-view-panels/host-details-panel/host-details-panel.html b/app/docker/components/host-view-panels/host-details-panel/host-details-panel.html new file mode 100644 index 000000000..0927f3b6c --- /dev/null +++ b/app/docker/components/host-view-panels/host-details-panel/host-details-panel.html @@ -0,0 +1,45 @@ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Hostname{{ $ctrl.host.name }}
OS Information{{ $ctrl.host.os.type }} {{$ctrl.host.os.arch}} {{$ctrl.host.os.name}}
Kernel Version{{ $ctrl.host.kernelVersion }}
Total CPU{{ $ctrl.host.totalCPU }}
Total memory{{ $ctrl.host.totalMemory }}
Physical device information{{ $ctrl.host.physicalDeviceInfo }}
Installed PCI devices{{ $ctrl.host.pciDevices }}
Physical disk{{ $ctrl.host.physicalDisk }}
+
+
+
+
\ No newline at end of file diff --git a/app/docker/components/host-view-panels/host-details-panel/host-details-panel.js b/app/docker/components/host-view-panels/host-details-panel/host-details-panel.js new file mode 100644 index 000000000..9cb3d6349 --- /dev/null +++ b/app/docker/components/host-view-panels/host-details-panel/host-details-panel.js @@ -0,0 +1,8 @@ +angular.module('portainer.docker').component('hostDetailsPanel', { + templateUrl: + 'app/docker/components/host-view-panels/host-details-panel/host-details-panel.html', + controller: 'HostDetailsPanelController', + bindings: { + host: '<' + } +});