blob: 41e730915bdcc34600a5e1635d5f178cdc5577b5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
<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 {{^createAllowed}}disabledPanel{{/createAllowed}}">
<div class="panel-heading">{{lang_backup}}</div>
<div class="panel-body">
<p>{{lang_backupDescription}}</p>
<p class="text-right">
{{lang_lastBackup}}:
{{^last_backup}}{{lang_unknown}}{{/last_backup}}
{{last_backup}}
</p>
<button class="btn btn-primary pull-right" type="submit"><span class="glyphicon glyphicon-save"></span> {{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 {{^restoreAllowed}}disabledPanel{{/restoreAllowed}}">
<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>
<div class="checkbox">
<input type="checkbox" name="restore_openslx" checked="checked" id="id-sysonfig">
<label for="id-sysonfig"><b>{{lang_restoreSystemConfig}}</b></label>
</div>
<p><i>{{lang_systemExplanation}}</i></p>
</div>
<div>
<div class="checkbox">
<input type="checkbox" name="restore_dozmod" checked="checked" id="id-dozmod">
<label for="id-dozmod"><b>{{lang_restoreDozmodConfig}}</b></label>
</div>
<p><i>{{lang_dozmodExplanation}}</i></p>
</div>
<button class="btn btn-primary pull-right" type="submit"><span class="glyphicon glyphicon-open"></span> {{lang_restore}}</button>
</div>
</div>
</form>
|