mirror of
https://github.com/myvesta/vesta
synced 2025-07-16 10:03:23 -07:00
[js, css, php] popup styles fixed. backups download link added.
This commit is contained in:
parent
d91adf9b1e
commit
34a9ee322f
4 changed files with 37 additions and 4 deletions
|
@ -498,6 +498,10 @@ App.HTML.Build.backup_list = function(backups)
|
|||
tpl.set(':OWNER', App.Env.initialParams.auth_user.uid.uid);
|
||||
tpl.set(':CREATED_AT_WDAY', App.Constants.KEY.WDAYS[created_date.getDay()]);
|
||||
tpl.set(':SIZE', App.Helpers.getMbHuman(bckp.SIZE) + ' ' + App.Helpers.getMbHuman(bckp.SIZE, true));
|
||||
// tpl.set(':DOWNLOAD_LINK', '/backup/' + App.Env.initialParams.auth_user.uid.uid + '.' + key + '.tar');
|
||||
tpl.set(':DOWNLOAD_LINK', '/dispatch.php?jedi_method=MAIN.downloadBackup&key=' + key);
|
||||
|
||||
|
||||
acc[acc.length++] = tpl.finalize()
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue