mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Backups, remote repositories: integrate to backups index page
- integrate remote repositories into backups index page - remove, mount and unmount repositories via UI Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
3a8b69fc82
commit
e3817a1a31
9 files changed
+440
-101
No files matched your search
@@ -84,7 +84,7 @@ class UploadForm(forms.Form):
|
||||
help_text=_('Select the backup file you want to upload'))
|
||||
|
||||
|
||||
class CreateRepositoryForm(forms.Form):
|
||||
class AddRepositoryForm(forms.Form):
|
||||
repository = forms.CharField(
|
||||
label=_('SSH Repository Path'), strip=True,
|
||||
help_text=_('Path of the new repository. Example: '
|
||||
@@ -125,7 +125,7 @@ class CreateRepositoryForm(forms.Form):
|
||||
)
|
||||
|
||||
def clean(self):
|
||||
cleaned_data = super(CreateRepositoryForm, self).clean()
|
||||
cleaned_data = super(AddRepositoryForm, self).clean()
|
||||
passphrase = cleaned_data.get("encryption_passphrase")
|
||||
confirm_passphrase = cleaned_data.get("confirm_encryption_passphrase")
|
||||
|
||||
|
||||
Reference in new issue
Block a user