Example #1
0
def view_backups(request):
    backups = backup.list_backups()
    item_list = [(i,i) for i in sorted(backups)]
    item_type='backup'
    title = "Viewing All Backups"
    item_manip = "restore from that backup"
    links = [('/upload_backup/', "Upload Backup", False)]
    return render_to_response('list_data.html', locals(), context_instance=RequestContext(request))
Example #2
0
def view_backups(request):
    backups = backup.list_backups()
    item_list = [(i,i) for i in sorted(backups)]
    item_type='backup'
    title = "Viewing All Backups"
    item_manip = "restore from that backup"
    links = [('/upload_backup/', "Upload Backup", False)]
    return render_to_response('list_data.html', locals(), context_instance=RequestContext(request))
Example #3
0
def view_backups(request):
    backups = backup.list_backups()
    item_list = [(i,i,0,"") for i in sorted(backups)]
    item_type='backup'
    title = "Viewing All Backups"
    item_manip = "restore from that backup"
    links = [('/upload_backup/', "Upload Backup")]
    return render(request, 'common/list_data.html', locals())
Example #4
0
def view_backups(request):
    backups = backup.list_backups()
    item_list = [(i, i, 0, "") for i in sorted(backups)]
    item_type = "backup"
    title = "Viewing All Backups"
    item_manip = "restore from that backup"
    links = [("/upload_backup/", "Upload Backup")]
    return render(request, "common/list_data.html", locals())
Example #5
0
def view_backups(request):
    backups = backup.list_backups()
    item_list = [(i, i, 0, "") for i in sorted(backups)]
    item_type = 'backup'
    title = "Viewing All Backups"
    item_manip = "restore from that backup"
    links = [('/upload_backup/', "Upload Backup", False)]
    return render(request, 'list_data.html', locals())
Example #6
0
def view_backup(request, filename):
    backups = backup.list_backups()
    item_list = []
    item_type='backup'
    title = "Viewing Backup: {}".format(filename)
    item_manip = "restore from that backup"
    links = [('/backup/download/{}/'.format(filename), "Download Backup", False),
             ('/backup/restore/{}/'.format(filename), "Restore From Backup", True)]
    return render_to_response('list_data.html', locals(), context_instance=RequestContext(request))
Example #7
0
def view_backup(request, filename):
    backups = backup.list_backups()
    item_list = []
    item_type='backup'
    title = "Viewing Backup: {}".format(filename)
    item_manip = "restore from that backup"
    links = [('/backup/download/{}/'.format(filename), "Download Backup"),
             ('/backup/restore/{}/'.format(filename), "Restore From Backup")]
    return render(request, 'common/list_data.html', locals())
Example #8
0
def view_backup(request, filename):
    backups = backup.list_backups()
    item_list = []
    item_type='backup'
    title = "Viewing Backup: {}".format(filename)
    item_manip = "restore from that backup"
    links = [('/backup/download/{}/'.format(filename), "Download Backup", False),
             ('/backup/restore/{}/'.format(filename), "Restore From Backup", True)]
    return render_to_response('list_data.html', locals(), context_instance=RequestContext(request))
Example #9
0
def view_backup(request, filename):
    backups = backup.list_backups()
    item_list = []
    item_type = "backup"
    title = "Viewing Backup: {}".format(filename)
    item_manip = "restore from that backup"
    links = [("/backup/download/{}/".format(filename), "Download Backup"),
             ("/backup/restore/{}/".format(filename), "Restore From Backup")]
    return render(request, "common/list_data.html", locals())