mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -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()
|
||||
});
|
||||
|
||||
|
|
|
@ -1076,7 +1076,7 @@ App.Templates.html = {
|
|||
<span class="backup-size">\
|
||||
<span class="backup-size-inner">~!:SIZE~!</span>\
|
||||
</span>\
|
||||
<a class="backup-url" href="return alert(\'Not available at the time\');">download</a>\
|
||||
<a class="backup-url" href="~!:DOWNLOAD_LINK~!">download</a>\
|
||||
</div>\
|
||||
<div class="props-ext">\
|
||||
<!-- div class="backup-actions">\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue