diff options
author | Simon Rettberg | 2016-05-03 19:03:09 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-05-03 19:03:09 +0200 |
commit | 50404f3b23b7fd6aeae4c9d2f6df0ea25e984e66 (patch) | |
tree | 05e99fdffa696434960d7c77966c0bc36d6339e8 /modules-available/backup/templates/_page.html | |
parent | Second half of merge.... (diff) | |
download | slx-admin-50404f3b23b7fd6aeae4c9d2f6df0ea25e984e66.tar.gz slx-admin-50404f3b23b7fd6aeae4c9d2f6df0ea25e984e66.tar.xz slx-admin-50404f3b23b7fd6aeae4c9d2f6df0ea25e984e66.zip |
WIP
Diffstat (limited to 'modules-available/backup/templates/_page.html')
-rw-r--r-- | modules-available/backup/templates/_page.html | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/modules-available/backup/templates/_page.html b/modules-available/backup/templates/_page.html new file mode 100644 index 00000000..47b5a174 --- /dev/null +++ b/modules-available/backup/templates/_page.html @@ -0,0 +1,41 @@ +<h1>{{lang_backupRestore}}</h1> + +<form action="?do=Backup" method="post"> + <input type="hidden" name="token" value="{{token}}"> + <input type="hidden" name="action" value="backup"> + <div class="panel panel-default"> + <div class="panel-heading">{{lang_backup}}</div> + <div class="panel-body"> + <p>{{lang_backupDescription}}</p> + <button class="btn btn-primary" type="submit">{{lang_download}}</button> + </div> + </div> +</form> + +<form action="?do=Backup" method="post" enctype="multipart/form-data"> + <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"> + <p>{{lang_restoreDescription}}</p> + <div class="input-group upload-ex"> + <input type="text" class="form-control" readonly placeholder="{{lang_selectFile}}"> + <span class="input-group-btn"> + <span class="btn btn-default btn-file"> + {{lang_browseForFile}}… <input type="file" name="backupfile"> + </span> + </span> + </div> + <div> + <label><input type="checkbox" name="restore_openslx" checked="checked"> {{lang_restoreSystemConfig}}</label> + <p><i>{{lang_systemExplanation}}</i></p> + </div> + <div> + <label><input type="checkbox" name="restore_dozmod" checked="checked"> {{lang_restoreDozmodConfig}}</label> + <p><i>{{lang_dozmodExplanation}}</i></p> + </div> + <button class="btn btn-primary" type="submit">{{lang_restore}}</button> + </div> + </div> +</form>
\ No newline at end of file |