mirror of https://github.com/portainer/portainer
fix(edge/updates): add padding for edge groups [EE-5349] (#8772)
parent
7a8a20e0cc
commit
5356d1feeb
|
@ -11,14 +11,16 @@ export function EdgeKeyDisplay({ edgeKey }: { edgeKey: string }) {
|
||||||
associate the Edge agent with this environment.
|
associate the Edge agent with this environment.
|
||||||
</TextTip>
|
</TextTip>
|
||||||
|
|
||||||
<p className="small text-muted">
|
<p className="small text-muted mt-2">
|
||||||
You can read more about pre-staging in the user-guide available{' '}
|
You can read more about pre-staging in the user-guide available{' '}
|
||||||
<a href="https://downloads.portainer.io/edge_agent_guide.pdf">here.</a>
|
<a href="https://downloads.portainer.io/edge_agent_guide.pdf">here.</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<Code>{edgeKey}</Code>
|
<Code>{edgeKey}</Code>
|
||||||
|
|
||||||
<CopyButton copyText={edgeKey}>Copy token</CopyButton>
|
<CopyButton copyText={edgeKey} className="mt-2">
|
||||||
|
Copy token
|
||||||
|
</CopyButton>
|
||||||
</FormSection>
|
</FormSection>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,7 +62,7 @@ function CreateView() {
|
||||||
<Widget>
|
<Widget>
|
||||||
<Widget.Title title="Update & Rollback Scheduler" icon={Settings} />
|
<Widget.Title title="Update & Rollback Scheduler" icon={Settings} />
|
||||||
<Widget.Body>
|
<Widget.Body>
|
||||||
<TextTip color="blue">
|
<TextTip color="blue" className="mb-2">
|
||||||
Devices need to be allocated to an Edge group, visit the{' '}
|
Devices need to be allocated to an Edge group, visit the{' '}
|
||||||
<Link to="edge.groups">Edge Groups</Link> page to assign
|
<Link to="edge.groups">Edge Groups</Link> page to assign
|
||||||
environments and create groups.
|
environments and create groups.
|
||||||
|
@ -91,7 +91,9 @@ function CreateView() {
|
||||||
for 2.15.0+ only.
|
for 2.15.0+ only.
|
||||||
</TextTip>
|
</TextTip>
|
||||||
|
|
||||||
<ScheduleTypeSelector />
|
<div className="mt-2">
|
||||||
|
<ScheduleTypeSelector />
|
||||||
|
</div>
|
||||||
|
|
||||||
<div className="form-group">
|
<div className="form-group">
|
||||||
<div className="col-sm-12">
|
<div className="col-sm-12">
|
||||||
|
|
|
@ -129,17 +129,19 @@ function ItemView() {
|
||||||
error={errors.groupIds}
|
error={errors.groupIds}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{isScheduleActive ? (
|
<div className="mt-2">
|
||||||
<InformationPanel>
|
{isScheduleActive ? (
|
||||||
<TextTip color="blue">
|
<InformationPanel>
|
||||||
{environmentsCount} environment(s) will be updated to
|
<TextTip color="blue">
|
||||||
version {item.version} on {item.scheduledTime} (local
|
{environmentsCount} environment(s) will be updated
|
||||||
time)
|
to version {item.version} on {item.scheduledTime}{' '}
|
||||||
</TextTip>
|
(local time)
|
||||||
</InformationPanel>
|
</TextTip>
|
||||||
) : (
|
</InformationPanel>
|
||||||
<ScheduleTypeSelector />
|
) : (
|
||||||
)}
|
<ScheduleTypeSelector />
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
|
||||||
<div className="form-group">
|
<div className="form-group">
|
||||||
<div className="col-sm-12">
|
<div className="col-sm-12">
|
||||||
|
|
|
@ -57,7 +57,7 @@ export function AuthFieldset({
|
||||||
{value.RepositoryAuthentication && (
|
{value.RepositoryAuthentication && (
|
||||||
<>
|
<>
|
||||||
{isAuthExplanationVisible && (
|
{isAuthExplanationVisible && (
|
||||||
<TextTip color="orange">
|
<TextTip color="orange" className="mb-2">
|
||||||
Enabling authentication will store the credentials and it is
|
Enabling authentication will store the credentials and it is
|
||||||
advisable to use a git service account
|
advisable to use a git service account
|
||||||
</TextTip>
|
</TextTip>
|
||||||
|
|
|
@ -43,7 +43,7 @@ export function NewCredentialForm({
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{value.SaveCredential && (
|
{value.SaveCredential && (
|
||||||
<TextTip color="blue" className="!mb-0">
|
<TextTip color="blue">
|
||||||
This git credential can be managed through your account page
|
This git credential can be managed through your account page
|
||||||
</TextTip>
|
</TextTip>
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -30,7 +30,7 @@ export function AutoUpdateFieldset({
|
||||||
<>
|
<>
|
||||||
<div className="form-group">
|
<div className="form-group">
|
||||||
<div className="col-sm-12">
|
<div className="col-sm-12">
|
||||||
<TextTip color="blue">
|
<TextTip color="blue" className="mb-2">
|
||||||
When enabled, at each polling interval or webhook invocation, if the
|
When enabled, at each polling interval or webhook invocation, if the
|
||||||
git repo differs from what was stored locally on the last git pull,
|
git repo differs from what was stored locally on the last git pull,
|
||||||
the changes are deployed.
|
the changes are deployed.
|
||||||
|
|
|
@ -33,7 +33,7 @@ export function AutoUpdateSettings({
|
||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<TextTip color="orange">
|
<TextTip color="orange" className="mb-2">
|
||||||
Any changes to this stack or application that have been made locally via
|
Any changes to this stack or application that have been made locally via
|
||||||
Portainer or directly in the cluster will be overwritten by the git
|
Portainer or directly in the cluster will be overwritten by the git
|
||||||
repository content, which may cause service interruption.
|
repository content, which may cause service interruption.
|
||||||
|
|
|
@ -31,7 +31,7 @@ export function ComposePathField({
|
||||||
return (
|
return (
|
||||||
<div className="form-group">
|
<div className="form-group">
|
||||||
<span className="col-sm-12">
|
<span className="col-sm-12">
|
||||||
<TextTip color="blue">
|
<TextTip color="blue" className="mb-2">
|
||||||
<span>
|
<span>
|
||||||
Indicate the path to the {isCompose ? 'Compose' : 'Manifest'} file
|
Indicate the path to the {isCompose ? 'Compose' : 'Manifest'} file
|
||||||
from the root of your repository (requires a yaml, yml, json, or hcl
|
from the root of your repository (requires a yaml, yml, json, or hcl
|
||||||
|
|
|
@ -80,7 +80,7 @@ function Wrapper({
|
||||||
}: PropsWithChildren<{ tip: ReactNode; errors?: string }>) {
|
}: PropsWithChildren<{ tip: ReactNode; errors?: string }>) {
|
||||||
return (
|
return (
|
||||||
<div className="form-group">
|
<div className="form-group">
|
||||||
<span className="col-sm-12">
|
<span className="col-sm-12 mb-2">
|
||||||
<TextTip color="blue">{tip}</TextTip>
|
<TextTip color="blue">{tip}</TextTip>
|
||||||
</span>
|
</span>
|
||||||
<div className="col-sm-12">
|
<div className="col-sm-12">
|
||||||
|
|
|
@ -36,7 +36,7 @@ function TimeWindowDisplay() {
|
||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<TextTip color="orange">
|
<TextTip color="orange" className="mb-2">
|
||||||
A change window is enabled, automatic updates will not occur outside of{' '}
|
A change window is enabled, automatic updates will not occur outside of{' '}
|
||||||
<span className="font-bold">
|
<span className="font-bold">
|
||||||
{shortTime(startTimeUtc)} - {shortTime(endTimeUtc)} UTC (
|
{shortTime(startTimeUtc)} - {shortTime(endTimeUtc)} UTC (
|
||||||
|
|
|
@ -78,7 +78,7 @@ export function EdgeComputeSettings({ settings, onSubmit }: Props) {
|
||||||
/>
|
/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
|
|
||||||
<TextTip color="blue">
|
<TextTip color="blue" className="mb-2">
|
||||||
Enable this setting to use Portainer Edge Compute
|
Enable this setting to use Portainer Edge Compute
|
||||||
capabilities.
|
capabilities.
|
||||||
</TextTip>
|
</TextTip>
|
||||||
|
|
|
@ -109,7 +109,7 @@ export function SettingsFDOForm({ settings, onSubmit }: Props) {
|
||||||
/>
|
/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
|
|
||||||
<TextTip color="blue">
|
<TextTip color="blue" className="mb-2">
|
||||||
When enabled, this will allow Portainer to interact with FDO
|
When enabled, this will allow Portainer to interact with FDO
|
||||||
Services.
|
Services.
|
||||||
</TextTip>
|
</TextTip>
|
||||||
|
@ -185,7 +185,7 @@ export function SettingsFDOForm({ settings, onSubmit }: Props) {
|
||||||
{edgeComputeFeaturesEnabled && isFDOEnabled && (
|
{edgeComputeFeaturesEnabled && isFDOEnabled && (
|
||||||
<div className={styles.fdoTable}>
|
<div className={styles.fdoTable}>
|
||||||
<FormSectionTitle>Device Profiles</FormSectionTitle>
|
<FormSectionTitle>Device Profiles</FormSectionTitle>
|
||||||
<TextTip color="blue">
|
<TextTip color="blue" className="mb-2">
|
||||||
Add, Edit and Manage the list of device profiles available
|
Add, Edit and Manage the list of device profiles available
|
||||||
during FDO device setup
|
during FDO device setup
|
||||||
</TextTip>
|
</TextTip>
|
||||||
|
|
|
@ -130,7 +130,7 @@ export function SettingsOpenAMT({ settings, onSubmit }: Props) {
|
||||||
/>
|
/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
|
|
||||||
<TextTip color="blue">
|
<TextTip color="blue" className="mb-2">
|
||||||
When enabled, this will allow Portainer to interact with an
|
When enabled, this will allow Portainer to interact with an
|
||||||
OpenAMT MPS API.
|
OpenAMT MPS API.
|
||||||
</TextTip>
|
</TextTip>
|
||||||
|
|
Loading…
Reference in New Issue