Comparing version 0.2.0 to 0.2.1
@@ -0,2 +1,6 @@ | ||
0.2.1 / 2014-12-31 | ||
================== | ||
* displayable container ports | ||
0.2.0 / 2014-12-31 | ||
@@ -3,0 +7,0 @@ ================== |
{ | ||
"name": "bluewhale", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Dockerboard Web Client", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.html", |
@@ -11,2 +11,4 @@ | ||
![Dockerboard Hosts Screenshot](https://raw.githubusercontent.com/dockerboard/bluewhale/master/screenshots/hosts.gif) | ||
![Dockerboard Screenshot](https://raw.githubusercontent.com/dockerboard/bluewhale/master/screenshots/dockerboard.gif) | ||
@@ -13,0 +15,0 @@ |
@@ -45,2 +45,16 @@ (function () { | ||
}; | ||
$scope.displayablePorts = function (ports) { | ||
var result = []; | ||
for (var i = 0, l = ports.length; i < l; ++i) { | ||
var port = ports[i]; | ||
if (port.IP === '') { | ||
result.push(port.PrivatePort + '/' + port.Type); | ||
} else { | ||
result.push(port.IP + ':' + port.PublicPort + '->' + port.PrivatePort + '/' + port.Type); | ||
} | ||
} | ||
return result.join(', '); | ||
}; | ||
} | ||
@@ -47,0 +61,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5575107
93
3385
71