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}
|
||||
>
|
||||
{/* 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>
|
||||
hasFeedback
|
||||
name="id"
|
||||
@@ -184,8 +185,10 @@ export const AddPlanModal = ({ template }: { template: Plan | null }) => {
|
||||
disabled={!!template}
|
||||
/>
|
||||
</Form.Item>
|
||||
</Tooltip>
|
||||
|
||||
{/* Plan.repo */}
|
||||
<Tooltip title="The repo that backrest will store your snapshots in.">
|
||||
<Form.Item<Plan>
|
||||
name="repo"
|
||||
label="Repository"
|
||||
@@ -206,6 +209,7 @@ export const AddPlanModal = ({ template }: { template: Plan | null }) => {
|
||||
disabled={!!template}
|
||||
/>
|
||||
</Form.Item>
|
||||
</Tooltip>
|
||||
|
||||
{/* Plan.paths */}
|
||||
<Form.Item label="Paths" required={true}>
|
||||
@@ -258,6 +262,20 @@ export const AddPlanModal = ({ template }: { template: Plan | null }) => {
|
||||
</Form.Item>
|
||||
|
||||
{/* 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.List
|
||||
name="excludes"
|
||||
@@ -307,8 +325,23 @@ export const AddPlanModal = ({ template }: { template: Plan | null }) => {
|
||||
)}
|
||||
</Form.List>
|
||||
</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.List
|
||||
name="iexcludes"
|
||||
@@ -358,6 +391,7 @@ export const AddPlanModal = ({ template }: { template: Plan | null }) => {
|
||||
)}
|
||||
</Form.List>
|
||||
</Form.Item>
|
||||
</Tooltip>
|
||||
|
||||
{/* Plan.cron */}
|
||||
<Tooltip title="Cron expression to schedule the plan in 24 hour time">
|
||||
|
||||
Reference in New Issue
Block a user