mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-06-15 23:20:51 +02:00
remotebackupdone
This commit is contained in:
@@ -102,6 +102,8 @@
|
||||
<th style="padding: 18px; color: white; width: 161px; font-size: 12px;">Website
|
||||
</th>
|
||||
<th style="padding: 18px; color: white; width: 161px; font-size: 12px;">Type
|
||||
</th>
|
||||
<th style="padding: 18px; color: white; width: 161px; font-size: 12px;">Backup Destination
|
||||
</th>
|
||||
<th style="padding: 18px; color: white; width: 161px; font-size: 12px;">Action
|
||||
</th>
|
||||
@@ -124,6 +126,9 @@
|
||||
<td style="padding: 13px;">
|
||||
{{ sub.Backuptype }}
|
||||
</td>
|
||||
<td style="padding: 13px;">
|
||||
{{ sub.BackupDestination }}
|
||||
</td>
|
||||
|
||||
<td style="padding: 13px;">
|
||||
<a href="{% url 'RestoreHome' %}?BackupID={{ sub.id }}"
|
||||
|
||||
@@ -349,6 +349,7 @@ class WebsiteManager:
|
||||
config = sub.config
|
||||
conf = json.loads(config)
|
||||
Backuptype = conf['Backuptype']
|
||||
BackupDestination = conf['BackupDestination']
|
||||
except:
|
||||
Backuptype = "Backup type not exists"
|
||||
|
||||
@@ -356,7 +357,8 @@ class WebsiteManager:
|
||||
Data['job'].append({
|
||||
'id': sub.id,
|
||||
'title': web,
|
||||
'Backuptype': Backuptype
|
||||
'Backuptype': Backuptype,
|
||||
'BackupDestination': BackupDestination
|
||||
})
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user