diff options
author | Simon Rettberg | 2023-03-02 16:07:01 +0100 |
---|---|---|
committer | Simon Rettberg | 2023-03-02 16:07:01 +0100 |
commit | d7f11c6543bfff777df7bd533e1d04ff8a48b81c (patch) | |
tree | 0c6b4a7eafc482d75ef19b407b22578691e2a7da /modules-available/backup/templates/_page.html | |
parent | [backup] Add UI for monthly automatic backup + password support (diff) | |
download | slx-admin-d7f11c6543bfff777df7bd533e1d04ff8a48b81c.tar.gz slx-admin-d7f11c6543bfff777df7bd533e1d04ff8a48b81c.tar.xz slx-admin-d7f11c6543bfff777df7bd533e1d04ff8a48b81c.zip |
[backup] Check supplied backup file before trying to apply
This saves us from aborting midway and doing a reboot
Diffstat (limited to 'modules-available/backup/templates/_page.html')
-rw-r--r-- | modules-available/backup/templates/_page.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules-available/backup/templates/_page.html b/modules-available/backup/templates/_page.html index 52dd7e72..2fb89b18 100644 --- a/modules-available/backup/templates/_page.html +++ b/modules-available/backup/templates/_page.html @@ -30,8 +30,8 @@ <input type="hidden" name="token" value="{{token}}"> <input type="hidden" name="action" value="restore"> <div class="panel panel-default"> - <div class="panel-heading">{{lang_restore}}</div> - <div class="panel-body {{perms.restore.disabled}}"> + <div class="panel-heading">{{lang_restoreHeading}}{{#id_prefix}} – <b>{{.}}</b>{{/id_prefix}}</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> <div class="input-group upload-ex"> @@ -68,7 +68,8 @@ </div> <button {{perms.restore.disabled}} class="btn btn-primary pull-right" type="submit"> <span class="glyphicon glyphicon-open"></span> - {{lang_restore}} + {{lang_restoreButton}} + {{#id_prefix}} – {{.}}{{/id_prefix}} </button> </div> </div> |