1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 04:15:28 +02:00

fix(ui): update UI of docker/network/create EE-3507 (#7255)

* EE-3507 update UI of docker/network/create

* EE-3507 update all icons
This commit is contained in:
Rex Wang 2022-07-14 21:35:37 +08:00 committed by GitHub
parent ce7d234cba
commit e4fc41fc94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 64 additions and 52 deletions

View file

@ -202,6 +202,18 @@ angular.module('portainer.docker').controller('CreateNetworkController', [
}
}
$scope.onChangeInternal = function (enable) {
$scope.$evalAsync(() => {
$scope.config.Internal = enable;
});
};
$scope.onChangeAttachable = function (enable) {
$scope.$evalAsync(() => {
$scope.config.Attachable = enable;
});
};
function validateForm(accessControlData, isAdmin) {
$scope.state.formValidationError = '';
var error = '';