mirror of https://github.com/portainer/portainer
Merge pull request #191 from erwin314/show-port-bindings2
Fixed: Show actual port bindingspull/2/head
commit
8cdb675abc
|
@ -141,7 +141,7 @@
|
||||||
<div ng-show="!editPorts">
|
<div ng-show="!editPorts">
|
||||||
<button class="btn btn-default btn-xs pull-right" ng-click="editPorts = true"><i class="glyphicon glyphicon-pencil"></i></button>
|
<button class="btn btn-default btn-xs pull-right" ng-click="editPorts = true"><i class="glyphicon glyphicon-pencil"></i></button>
|
||||||
<ul>
|
<ul>
|
||||||
<li ng-repeat="(containerport, hostports) in container.HostConfig.PortBindings">
|
<li ng-repeat="(containerport, hostports) in container.NetworkSettings.Ports">
|
||||||
{{ containerport }} =>
|
{{ containerport }} =>
|
||||||
<span class="label label-default" style="margin-right: 5px;" ng-repeat="(k,v) in hostports">{{ v.HostIp }}:{{ v.HostPort }}</span>
|
<span class="label label-default" style="margin-right: 5px;" ng-repeat="(k,v) in hostports">{{ v.HostIp }}:{{ v.HostPort }}</span>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue