diff --git a/README.md b/README.md index deb337483..b0f5433b2 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,12 @@
-
+
De-associating this Edge endpoint will mark it as non associated and will clear the registered Edge ID.
' + + 'Any agent started with the Edge key associated to this endpoint will be able to re-associate with this endpoint.
' + + 'You can re-use the Edge ID and Edge key that you used to deploy the existing Edge agent to associate a new Edge device to this endpoint.
'; + service.confirm({ + title: 'About de-associating', + message: $sanitize(message), + buttons: { + confirm: { + label: 'De-associate', + className: 'btn-primary', + }, + }, + callback: callback, + }); + }; + service.confirmUpdate = function (message, callback) { message = $sanitize(message); service.confirm({ diff --git a/app/portainer/views/endpoints/edit/endpoint.html b/app/portainer/views/endpoints/edit/endpoint.html index 4b16b5078..defa4f9c4 100644 --- a/app/portainer/views/endpoints/edit/endpoint.html +++ b/app/portainer/views/endpoints/edit/endpoint.html @@ -22,6 +22,11 @@
Edge identifier: {{ endpoint.EdgeID }}
+ +