// Improve installation design (addons iframes + progress percent + remove back button)

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12954 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-02-03 09:19:55 +00:00
parent 791cc22ce0
commit c8b075f836
6 changed files with 36 additions and 15 deletions
+3
View File
@@ -42,6 +42,7 @@ function process_install(step)
if (current_step >= process_steps.length)
{
$('#progress_bar .total .progress').animate({'width': '100%'}, 500);
$('#progress_bar .total span').html('100%');
// Installation finished
setTimeout(function()
@@ -52,6 +53,7 @@ function process_install(step)
else
{
$('#progress_bar .total .progress').animate({'width': '+='+process_percent+'%'}, 500);
$('#progress_bar .total span').html(Math.ceil(current_step * process_percent)+'%');
// Process next step
process_install(process_steps[current_step]);
@@ -98,6 +100,7 @@ function install_error(step, errors)
function install_success()
{
$('#progress_bar .total span').hide();
$('.installing').html(install_is_done);
is_installing = false;
$('#install_process_form').slideUp();