diff --git a/app/portainer/components/environment-variables-panel/environment-variables-panel.html b/app/portainer/components/environment-variables-panel/environment-variables-panel.html index 1bf871e43..b3fd051ab 100644 --- a/app/portainer/components/environment-variables-panel/environment-variables-panel.html +++ b/app/portainer/components/environment-variables-panel/environment-variables-panel.html @@ -15,7 +15,7 @@
- Simple mode + Simple mode
diff --git a/app/portainer/views/stacks/create/createStackController.js b/app/portainer/views/stacks/create/createStackController.js index 5a8445900..29042eeb3 100644 --- a/app/portainer/views/stacks/create/createStackController.js +++ b/app/portainer/views/stacks/create/createStackController.js @@ -84,6 +84,12 @@ angular $scope.onChangeFormValues = onChangeFormValues; + $scope.onEnableWebhookChange = function (enable) { + $scope.$evalAsync(() => { + $scope.formValues.EnableWebhook = enable; + }); + }; + $scope.addAdditionalFiles = function () { $scope.formValues.AdditionalFiles.push(''); }; diff --git a/app/portainer/views/stacks/create/createstack.html b/app/portainer/views/stacks/create/createstack.html index 1064c5c01..49901afd2 100644 --- a/app/portainer/views/stacks/create/createstack.html +++ b/app/portainer/views/stacks/create/createstack.html @@ -107,7 +107,10 @@
- + {{ formValues.StackFile.name }} @@ -164,21 +167,17 @@
-
Webhooks
-
-
- - - -
+
+ Webhooks +
diff --git a/app/portainer/views/stacks/edit/stack.html b/app/portainer/views/stacks/edit/stack.html index 4085a0014..2c08a79a7 100644 --- a/app/portainer/views/stacks/edit/stack.html +++ b/app/portainer/views/stacks/edit/stack.html @@ -44,15 +44,15 @@ ng-if="regular && stack.Status === 1" authorization="PortainerStackUpdate" ng-disabled="state.actionInProgress" - class="btn btn-xs btn-danger" + class="btn btn-xs btn-light" ng-click="stopStack()" > - + Stop this stack - @@ -61,7 +61,7 @@ class="btn btn-primary btn-xs" ui-sref="docker.templates.custom.new({fileContent: stackFileContent, type: stack.Type})" > - + Create template from stack