mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 21:35:23 +02:00
feat(container-details): add the ability to re-create, duplicate and edit a container (#855)
This commit is contained in:
parent
d814f3aaa4
commit
c85aa0739d
9 changed files with 386 additions and 20 deletions
|
@ -108,5 +108,19 @@ angular.module('portainer.services')
|
|||
});
|
||||
};
|
||||
|
||||
service.confirmExperimentalFeature = function(callback) {
|
||||
service.confirm({
|
||||
title: 'Experimental feature',
|
||||
message: 'This feature is currently experimental, please use with caution.',
|
||||
buttons: {
|
||||
confirm: {
|
||||
label: 'Continue',
|
||||
className: 'btn-danger'
|
||||
}
|
||||
},
|
||||
callback: callback
|
||||
});
|
||||
};
|
||||
|
||||
return service;
|
||||
}]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue