misc: finalized project backup prompts

This commit is contained in:
Sheen Capadngan
2024-07-30 23:03:54 +05:30
committed by =
parent 3709f31b5a
commit 880a689376
@@ -68,9 +68,9 @@ const BackupConfirmationModal = ({
return ( return (
<Modal isOpen={isOpen} onOpenChange={onOpenChange}> <Modal isOpen={isOpen} onOpenChange={onOpenChange}>
<ModalContent title="Create KMS backup"> <ModalContent title="Create KMS backup">
<p className="mb-10 text-bunker-300"> <p className="mb-6 text-bunker-300">
In case of interruptions with your configured external KMS, load the generated backup to In case of interruptions with your configured external KMS, you can load a backup to set
set the project&apos;s KMS back to the default Infisical KMS. the project&apos;s KMS back to the default Infisical KMS.
</p> </p>
<Button onClick={downloadKmsBackup}>Generate</Button> <Button onClick={downloadKmsBackup}>Generate</Button>
<Button <Button
@@ -159,13 +159,9 @@ const LoadBackupModal = ({
}} }}
> >
<ModalContent title="Load KMS backup"> <ModalContent title="Load KMS backup">
<p className="mb-8 text-bunker-300"> <p className="mb-6 text-bunker-300">
By loading a backup, the project&apos;s KMS will be switched to the default Infisical KMS. By loading a backup, the project&apos;s KMS will be switched to the default Infisical KMS.
</p> </p>
<p className="mb-8 text-bunker-300">
If left unmodified, the filename of the backup should look like the following:
<p className="mt-2 font-bold">{`kms-backup-${org?.slug}-${workspace?.slug}-secretManager.infisical.txt`}</p>
</p>
<div className="flex justify-center"> <div className="flex justify-center">
<input <input
id="fileSelect" id="fileSelect"