mirror of
https://github.com/garethgeorge/backrest.git
synced 2025-12-15 10:05:42 +00:00
fix: additional tooltips for add plan modal
This commit is contained in:
@@ -152,6 +152,7 @@ export const AddPlanModal = ({ template }: { template: Plan | null }) => {
|
|||||||
disabled={confirmLoading}
|
disabled={confirmLoading}
|
||||||
>
|
>
|
||||||
{/* Plan.id */}
|
{/* Plan.id */}
|
||||||
|
<Tooltip title="Unique ID that identifies this plan in the backrest UI (e.g. s3-myplan). This cannot be changed after creation.">
|
||||||
<Form.Item<Plan>
|
<Form.Item<Plan>
|
||||||
hasFeedback
|
hasFeedback
|
||||||
name="id"
|
name="id"
|
||||||
@@ -184,8 +185,10 @@ export const AddPlanModal = ({ template }: { template: Plan | null }) => {
|
|||||||
disabled={!!template}
|
disabled={!!template}
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
</Tooltip>
|
||||||
|
|
||||||
{/* Plan.repo */}
|
{/* Plan.repo */}
|
||||||
|
<Tooltip title="The repo that backrest will store your snapshots in.">
|
||||||
<Form.Item<Plan>
|
<Form.Item<Plan>
|
||||||
name="repo"
|
name="repo"
|
||||||
label="Repository"
|
label="Repository"
|
||||||
@@ -206,6 +209,7 @@ export const AddPlanModal = ({ template }: { template: Plan | null }) => {
|
|||||||
disabled={!!template}
|
disabled={!!template}
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
</Tooltip>
|
||||||
|
|
||||||
{/* Plan.paths */}
|
{/* Plan.paths */}
|
||||||
<Form.Item label="Paths" required={true}>
|
<Form.Item label="Paths" required={true}>
|
||||||
@@ -258,6 +262,20 @@ export const AddPlanModal = ({ template }: { template: Plan | null }) => {
|
|||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
|
||||||
{/* Plan.excludes */}
|
{/* Plan.excludes */}
|
||||||
|
<Tooltip
|
||||||
|
title={
|
||||||
|
<>
|
||||||
|
Paths to exclude from your backups. See the{" "}
|
||||||
|
<a
|
||||||
|
href="https://restic.readthedocs.io/en/latest/040_backup.html#excluding-files"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
restic docs
|
||||||
|
</a>{" "}
|
||||||
|
for more info.
|
||||||
|
</>
|
||||||
|
}
|
||||||
|
>
|
||||||
<Form.Item label="Excludes" required={false}>
|
<Form.Item label="Excludes" required={false}>
|
||||||
<Form.List
|
<Form.List
|
||||||
name="excludes"
|
name="excludes"
|
||||||
@@ -307,8 +325,23 @@ export const AddPlanModal = ({ template }: { template: Plan | null }) => {
|
|||||||
)}
|
)}
|
||||||
</Form.List>
|
</Form.List>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
</Tooltip>
|
||||||
|
|
||||||
{/* Plan.excludes */}
|
{/* Plan.iexcludes */}
|
||||||
|
<Tooltip
|
||||||
|
title={
|
||||||
|
<>
|
||||||
|
Case insensitive paths to exclude from your backups. See the{" "}
|
||||||
|
<a
|
||||||
|
href="https://restic.readthedocs.io/en/latest/040_backup.html#excluding-files"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
restic docs
|
||||||
|
</a>{" "}
|
||||||
|
for more info.
|
||||||
|
</>
|
||||||
|
}
|
||||||
|
>
|
||||||
<Form.Item label="Excludes (Case Insensitive)" required={false}>
|
<Form.Item label="Excludes (Case Insensitive)" required={false}>
|
||||||
<Form.List
|
<Form.List
|
||||||
name="iexcludes"
|
name="iexcludes"
|
||||||
@@ -358,6 +391,7 @@ export const AddPlanModal = ({ template }: { template: Plan | null }) => {
|
|||||||
)}
|
)}
|
||||||
</Form.List>
|
</Form.List>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
</Tooltip>
|
||||||
|
|
||||||
{/* Plan.cron */}
|
{/* Plan.cron */}
|
||||||
<Tooltip title="Cron expression to schedule the plan in 24 hour time">
|
<Tooltip title="Cron expression to schedule the plan in 24 hour time">
|
||||||
|
|||||||
Reference in New Issue
Block a user