diff --git a/app/portainer/oauth/components/oauth-settings/oauth-settings.html b/app/portainer/oauth/components/oauth-settings/oauth-settings.html index eecf02720..636a786bc 100644 --- a/app/portainer/oauth/components/oauth-settings/oauth-settings.html +++ b/app/portainer/oauth/components/oauth-settings/oauth-settings.html @@ -351,7 +351,7 @@ > -
+
OAuth Configuration
diff --git a/app/portainer/rbac/components/access-viewer/access-viewer.html b/app/portainer/rbac/components/access-viewer/access-viewer.html index 5673b7bf9..1da86123f 100644 --- a/app/portainer/rbac/components/access-viewer/access-viewer.html +++ b/app/portainer/rbac/components/access-viewer/access-viewer.html @@ -1,24 +1,26 @@
- - - - Effective access viewer - - - - -
-
User
-
-
- No user available +
+ +
+ + + Effective access viewer + + + +
User
+
+
+ No user available - - -
-
- - -
-
+ + +
+
+ + + + +
+
diff --git a/app/portainer/settings/authentication/ldap/ad-settings/ad-settings.html b/app/portainer/settings/authentication/ldap/ad-settings/ad-settings.html index e3b6150a7..1c55a9ff6 100644 --- a/app/portainer/settings/authentication/ldap/ad-settings/ad-settings.html +++ b/app/portainer/settings/authentication/ldap/ad-settings/ad-settings.html @@ -1,5 +1,5 @@ -
+
diff --git a/app/portainer/settings/authentication/ldap/ldap-custom-admin-group/ldap-custom-admin-group.html b/app/portainer/settings/authentication/ldap/ldap-custom-admin-group/ldap-custom-admin-group.html index 0963f6504..94afdcd23 100644 --- a/app/portainer/settings/authentication/ldap/ldap-custom-admin-group/ldap-custom-admin-group.html +++ b/app/portainer/settings/authentication/ldap/ldap-custom-admin-group/ldap-custom-admin-group.html @@ -1,129 +1,127 @@ -
+
Auto-populate team admins
-
-
- Extra search configuration -
+ + +
+
+ Extra search configuration +
-
- -
- -
+
+ +
+ +
- -
- -
-
-
- -
- - + +
+ +
+
+
+ +
+ + +
+
-
-
-
-
- -
-
- - - - No groups found - -
-
+
+
+ +
+
+ + + + No groups found + +
+
-
-
- - -
-
+
+
+ + +
+
-
- -
- - -
-
+
+ +
+ + +
+
+
+
diff --git a/app/portainer/settings/authentication/ldap/ldap-custom-group-search/ldap-custom-group-search.html b/app/portainer/settings/authentication/ldap/ldap-custom-group-search/ldap-custom-group-search.html index 91988d869..0cf88801a 100644 --- a/app/portainer/settings/authentication/ldap/ldap-custom-group-search/ldap-custom-group-search.html +++ b/app/portainer/settings/authentication/ldap/ldap-custom-group-search/ldap-custom-group-search.html @@ -51,24 +51,19 @@
-
- - +
diff --git a/app/portainer/settings/authentication/ldap/ldap-custom-user-search/ldap-custom-user-search.html b/app/portainer/settings/authentication/ldap/ldap-custom-user-search/ldap-custom-user-search.html index 1acc45ddf..e8583d3eb 100644 --- a/app/portainer/settings/authentication/ldap/ldap-custom-user-search/ldap-custom-user-search.html +++ b/app/portainer/settings/authentication/ldap/ldap-custom-user-search/ldap-custom-user-search.html @@ -40,24 +40,19 @@
-
- - +
diff --git a/app/portainer/settings/authentication/ldap/ldap-group-search/ldap-group-search.html b/app/portainer/settings/authentication/ldap/ldap-group-search/ldap-group-search.html index cea3ffd53..6170defe6 100644 --- a/app/portainer/settings/authentication/ldap/ldap-group-search/ldap-group-search.html +++ b/app/portainer/settings/authentication/ldap/ldap-group-search/ldap-group-search.html @@ -13,15 +13,9 @@
-
diff --git a/app/portainer/settings/authentication/ldap/ldap-settings-custom/ldap-settings-custom.html b/app/portainer/settings/authentication/ldap/ldap-settings-custom/ldap-settings-custom.html index 8967197cf..0988ea2cf 100644 --- a/app/portainer/settings/authentication/ldap/ldap-settings-custom/ldap-settings-custom.html +++ b/app/portainer/settings/authentication/ldap/ldap-settings-custom/ldap-settings-custom.html @@ -18,20 +18,7 @@
- +
@@ -40,6 +27,15 @@
+
+ +
diff --git a/app/portainer/settings/authentication/ldap/ldap-settings-openldap/ldap-settings-openldap.html b/app/portainer/settings/authentication/ldap/ldap-settings-openldap/ldap-settings-openldap.html index b075cfd2b..4b71e8d0e 100644 --- a/app/portainer/settings/authentication/ldap/ldap-settings-openldap/ldap-settings-openldap.html +++ b/app/portainer/settings/authentication/ldap/ldap-settings-openldap/ldap-settings-openldap.html @@ -1,5 +1,5 @@ -
+
diff --git a/app/portainer/settings/authentication/ldap/ldap-settings-test-login/ldap-settings-test-login.html b/app/portainer/settings/authentication/ldap/ldap-settings-test-login/ldap-settings-test-login.html index 450f24191..a1e595b33 100644 --- a/app/portainer/settings/authentication/ldap/ldap-settings-test-login/ldap-settings-test-login.html +++ b/app/portainer/settings/authentication/ldap/ldap-settings-test-login/ldap-settings-test-login.html @@ -1,4 +1,4 @@ -
+
Test login
-
-
- - -
-
- - -
+ + +
+
+ + +
-
-
- - - +
+ + +
+ +
+
+ + + +
+
-
-
+
+
diff --git a/app/portainer/settings/authentication/ldap/ldap-user-search/ldap-user-search.html b/app/portainer/settings/authentication/ldap/ldap-user-search/ldap-user-search.html index da602cd3a..a0d914014 100644 --- a/app/portainer/settings/authentication/ldap/ldap-user-search/ldap-user-search.html +++ b/app/portainer/settings/authentication/ldap/ldap-user-search/ldap-user-search.html @@ -22,7 +22,7 @@ limited-feature-tabindex="-1" > - add user search configuration + Add user search configuration
diff --git a/app/portainer/settings/authentication/save-auth-settings-button/save-auth-settings-button.html b/app/portainer/settings/authentication/save-auth-settings-button/save-auth-settings-button.html index 959b06d29..5e797f260 100644 --- a/app/portainer/settings/authentication/save-auth-settings-button/save-auth-settings-button.html +++ b/app/portainer/settings/authentication/save-auth-settings-button/save-auth-settings-button.html @@ -3,7 +3,7 @@
- Activity Logs -
diff --git a/app/portainer/user-activity/activity-logs-view/activity-logs-view.html b/app/portainer/user-activity/activity-logs-view/activity-logs-view.html index e28f60a6f..d0e5801f5 100644 --- a/app/portainer/user-activity/activity-logs-view/activity-logs-view.html +++ b/app/portainer/user-activity/activity-logs-view/activity-logs-view.html @@ -26,15 +26,7 @@
-
-
-
- -
-
- -
-
+
- Authentication Events -
diff --git a/app/portainer/user-activity/auth-logs-view/auth-logs-view.html b/app/portainer/user-activity/auth-logs-view/auth-logs-view.html index ff9ab7c12..622d1bff3 100644 --- a/app/portainer/user-activity/auth-logs-view/auth-logs-view.html +++ b/app/portainer/user-activity/auth-logs-view/auth-logs-view.html @@ -25,15 +25,7 @@
-
-
-
- -
-
- -
-
+
({ type={type} checkIcon={checkIcon} > - {limitedToBE && } + {limitedToBE && ( + + )}
@@ -20,10 +24,12 @@ export function LimitedToBeBoxSelectorIndicator({ url }: Props) { Business Feature - + {showTooltip && ( + + )}
); diff --git a/app/react/kubernetes/applications/DetailsView/ApplicationDetailsWidget/RollbackApplicationButton.tsx b/app/react/kubernetes/applications/DetailsView/ApplicationDetailsWidget/RollbackApplicationButton.tsx index 6baba4f08..4e362ee22 100644 --- a/app/react/kubernetes/applications/DetailsView/ApplicationDetailsWidget/RollbackApplicationButton.tsx +++ b/app/react/kubernetes/applications/DetailsView/ApplicationDetailsWidget/RollbackApplicationButton.tsx @@ -11,6 +11,7 @@ import { Icon } from '@@/Icon'; import { confirm } from '@@/modals/confirm'; import { ModalType } from '@@/modals'; import { buildConfirmButton } from '@@/modals/utils'; +import { TooltipWithChildren } from '@@/Tip/TooltipWithChildren'; import { useApplicationRevisionList, @@ -60,27 +61,38 @@ export function RollbackApplicationButton({ appName ); + const isRollbackNotAvailable = + !app || + !appRevisions || + appRevisions?.length < 2 || + appDeployMethod !== 'application form' || + patchAppMutation.isLoading; + + const rollbackButton = ( + + ); + return ( - + {isRollbackNotAvailable ? ( + + {rollbackButton} + + ) : ( + rollbackButton + )} ); diff --git a/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardKubernetes/KubeConfigTeaserForm.tsx b/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardKubernetes/KubeConfigTeaserForm.tsx index c6386551d..0a9b5bd02 100644 --- a/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardKubernetes/KubeConfigTeaserForm.tsx +++ b/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardKubernetes/KubeConfigTeaserForm.tsx @@ -21,9 +21,8 @@ export function KubeConfigTeaserForm() { return ( {}} validateOnMount> {() => ( -
+ Environment details -
@@ -32,10 +31,9 @@ export function KubeConfigTeaserForm() { href="https://docs.portainer.io/admin/environments/add/kubernetes/import" target="_blank" rel="noreferrer" - className="mx-1" > Import the kubeconfig file - + {' '} of an existing Kubernetes cluster located on-premise or on a cloud platform. This will create a corresponding environment in Portainer and install the agent on the cluster. Please @@ -43,7 +41,7 @@ export function KubeConfigTeaserForm() {
-
+
  • You have a load balancer enabled in your cluster
  • You specify current-context in your kubeconfig
  • diff --git a/app/react/portainer/feature-flags/feature-flags.css b/app/react/portainer/feature-flags/feature-flags.css index 58e387150..fc6526951 100644 --- a/app/react/portainer/feature-flags/feature-flags.css +++ b/app/react/portainer/feature-flags/feature-flags.css @@ -30,14 +30,14 @@ div.limited-be { } .limited-be-content { - @apply border-gray-6 p-2.5 text-xs opacity-50; + @apply border-gray-6 p-2.5 opacity-50; } .limited-be-link { padding: 10px; width: inherit; z-index: 5; - position: relative; + position: absolute; top: 0px; right: 0px; float: right;