Beispiel #1
0
 def page(self):
     user.need_permission("wato.backups")
     if request.var("job") == "restore":
         page: backup.PageAbstractBackupJobState = backup.PageBackupRestoreState()
     else:
         page = ModeBackupJobState()
     page.show_job_details()
Beispiel #2
0
 def page(self):
     config.user.need_permission("wato.backups")
     if html.request.var("job") == "restore":
         page = backup.PageBackupRestoreState()
     else:
         page = ModeBackupJobState()
     page.show_job_details()