1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-08 23:35:31 +02:00

fix(UI): some minor fixes [EE-6667] (#11061)
Some checks failed
Test / test-server (map[arch:amd64 platform:windows version:1809]) (push) Has been cancelled
Test / test-server (map[arch:amd64 platform:windows version:ltsc2022]) (push) Has been cancelled
Test / test-server (map[arch:arm64 platform:linux]) (push) Has been cancelled
ci / build_images (map[arch:amd64 platform:linux version:]) (push) Has been cancelled
ci / build_images (map[arch:amd64 platform:windows version:1809]) (push) Has been cancelled
ci / build_images (map[arch:amd64 platform:windows version:ltsc2022]) (push) Has been cancelled
ci / build_images (map[arch:arm platform:linux version:]) (push) Has been cancelled
ci / build_images (map[arch:arm64 platform:linux version:]) (push) Has been cancelled
ci / build_images (map[arch:ppc64le platform:linux version:]) (push) Has been cancelled
ci / build_images (map[arch:s390x platform:linux version:]) (push) Has been cancelled
/ triage (push) Has been cancelled
Test / test-client (push) Has been cancelled
Test / test-server (map[arch:amd64 platform:linux]) (push) Has been cancelled
Lint / Run linters (push) Has been cancelled
ci / build_manifests (push) Has been cancelled

* minor tweeks for kubernetes settings

* address review comments
This commit is contained in:
Prabhat Khera 2024-02-06 12:17:38 +13:00 committed by GitHub
parent a93344386c
commit 01cd64037f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 36 additions and 15 deletions

View file

@ -3,6 +3,7 @@ import { useMemo } from 'react';
import { useCurrentUser } from '@/react/hooks/useUser';
import helm from '@/assets/ico/vendor/helm.svg?c';
import { Link } from '@@/Link';
import { Datatable } from '@@/datatables';
import { createPersistedStore } from '@@/datatables/types';
import { useTableState } from '@@/datatables/useTableState';
@ -64,8 +65,11 @@ function HelmDatatableDescription() {
<TextTip color="blue" className="mb-3">
Adding a Helm repo here only makes it available in your own user
account&apos;s Portainer UI. Helm charts are pulled down from these repos
(plus the globally-set Helm repo) and shown in the Create from Manifest
screen&apos;s Helm charts list.
(plus the{' '}
<Link to="portainer.settings" params={{ '#': 'kubernetes-settings' }}>
<span>globally-set Helm repo</span>
</Link>
) and shown in the Create from Manifest screen&apos;s Helm charts list.
</TextTip>
);
}

View file

@ -17,7 +17,7 @@ export function DeploymentOptionsSection() {
const limitedFeature = isLimitedToBE(FeatureId.ENFORCE_DEPLOYMENT_OPTIONS);
return (
<FormSection title="Deployment Options">
<FormSection title="Deployment options">
<div className="form-group">
<div className="col-sm-12">
<SwitchField

View file

@ -9,7 +9,7 @@ export function HelmSection() {
const [{ name }, { error }] = useField<string>('helmRepositoryUrl');
return (
<FormSection title="Helm Repository">
<FormSection title="Helm repository">
<div className="mb-2">
<TextTip color="blue">
You can specify the URL to your own Helm repository here. See the{' '}

View file

@ -44,7 +44,7 @@ export function KubeSettingsPanel() {
};
return (
<Widget>
<Widget id="kubernetes-settings">
<Widget.Title icon={kubeIcon} title="Kubernetes settings" />
<Widget.Body>
<Formik
@ -66,7 +66,7 @@ export function KubeSettingsPanel() {
loadingText="Saving"
className="!ml-0"
>
Save Kubernetes Settings
Save Kubernetes settings
</LoadingButton>
</div>
</div>

View file

@ -121,7 +121,7 @@ function SSLSettingsPanel() {
loadingText={reloadingPage ? 'Reloading' : 'Saving'}
className="!ml-0"
>
Save SSL Settings
Save SSL settings
</LoadingButton>
</div>
</div>