1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-21 14:29:40 +02:00

feat(templates): allow to edit template port mapping (#293)

* feat(templates): allow to edit template port mapping

* refactor(templates): remove advanced template configuration feature
This commit is contained in:
Anthony Lapenna 2016-10-27 19:55:44 +13:00 committed by GitHub
parent fa53339fea
commit d4f0145161
5 changed files with 99 additions and 34 deletions

View file

@ -64,6 +64,7 @@ angular.module('portainer.helpers', [])
});
return bindings;
},
//Not used atm, may prove useful later
getVolumeBindings: function(volumes) {
var bindings = [];
volumes.forEach(function (volume) {
@ -71,6 +72,7 @@ angular.module('portainer.helpers', [])
});
return bindings;
},
//Not used atm, may prove useful later
getEnvBindings: function(env) {
var bindings = [];
env.forEach(function (envvar) {
@ -85,5 +87,4 @@ angular.module('portainer.helpers', [])
return bindings;
}
};
}])
;
}]);