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:
parent
fa53339fea
commit
d4f0145161
5 changed files with 99 additions and 34 deletions
|
@ -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;
|
||||
}
|
||||
};
|
||||
}])
|
||||
;
|
||||
}]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue