summaryrefslogtreecommitdiffstats
path: root/modules-available/backup/templates
diff options
context:
space:
mode:
authorSimon Rettberg2023-03-08 15:38:45 +0100
committerSimon Rettberg2023-03-08 15:38:45 +0100
commite2d8c43c734adeb7c5a8ca5d90529874fcda15e0 (patch)
tree08429349f0f09ef75262df512cc57a3c63cc33c6 /modules-available/backup/templates
parent[backup] Check supplied backup file before trying to apply (diff)
downloadslx-admin-e2d8c43c734adeb7c5a8ca5d90529874fcda15e0.tar.gz
slx-admin-e2d8c43c734adeb7c5a8ca5d90529874fcda15e0.tar.xz
slx-admin-e2d8c43c734adeb7c5a8ca5d90529874fcda15e0.zip
[backup] Add option to store in /root, not just VMstore
Diffstat (limited to 'modules-available/backup/templates')
-rw-r--r--modules-available/backup/templates/_page.html18
1 files changed, 13 insertions, 5 deletions
diff --git a/modules-available/backup/templates/_page.html b/modules-available/backup/templates/_page.html
index 2fb89b18..74e20597 100644
--- a/modules-available/backup/templates/_page.html
+++ b/modules-available/backup/templates/_page.html
@@ -30,7 +30,7 @@
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="action" value="restore">
<div class="panel panel-default">
- <div class="panel-heading">{{lang_restoreHeading}}{{#id_prefix}} – <b>{{.}}</b>{{/id_prefix}}</div>
+ <div class="panel-heading">{{id_prefix}} {{lang_restoreHeading}}</div>
<div class="panel-body {{perms.restore.disabled}}" {{#id_color}}style="border:5px solid {{.}}"{{/id_color}}>
<p>{{lang_restoreDescription}}</p>
<label for="file-out">{{lang_restoreFileLabel}}</label>
@@ -68,8 +68,8 @@
</div>
<button {{perms.restore.disabled}} class="btn btn-primary pull-right" type="submit">
<span class="glyphicon glyphicon-open"></span>
+ {{id_prefix}}
{{lang_restoreButton}}
- {{#id_prefix}} – {{.}}{{/id_prefix}}
</button>
</div>
</div>
@@ -82,9 +82,17 @@
<div class="panel-heading">{{lang_autoBackupHeading}}</div>
<div class="panel-body {{perms.config.disabled}}">
<p>{{lang_autoBackupText}}</p>
- <div class="checkbox">
- <input id="auto-backup-enabled" type="checkbox" name="auto-backup-enabled" value="1" {{autoBackupEnabled_checked}}>
- <label for="auto-backup-enabled">{{lang_autoBackupEnabled}}</label>
+ <div class="radio">
+ <input id="auto-backup-OFF" type="radio" name="auto-backup-mode" value="OFF" {{backup_OFF_checked}}>
+ <label for="auto-backup-OFF">{{lang_autoBackupOFF}}</label>
+ </div>
+ <div class="radio">
+ <input id="auto-backup-ROOTHOME" type="radio" name="auto-backup-mode" value="ROOTHOME" {{backup_ROOTHOME_checked}}>
+ <label for="auto-backup-ROOTHOME">{{lang_autoBackupROOTHOME}}</label>
+ </div>
+ <div class="radio">
+ <input id="auto-backup-VMSTORE" type="radio" name="auto-backup-mode" value="VMSTORE" {{backup_VMSTORE_checked}}>
+ <label for="auto-backup-VMSTORE">{{lang_autoBackupVMSTORE}}</label>
</div>
<div class="form-group">
<label for="passwd-auto">{{lang_autoBackupPasswordLabel}}</label>