[fix] Post-install timeout + admin redirection url

This commit is contained in:
Kload 2014-04-21 12:41:42 +02:00
parent c743e8209c
commit a7565d7b15

View file

@ -94,7 +94,7 @@ app = Sammy('#main', function (sam) {
setInterval(function () {
installing = true;
}, 6000);
}, 2500);
$('#popup-title').text('Installing');
$('#popup-body').html('<p>YunoHost is being installed on <strong>'+ data.domain +'</strong>. It may take a few minutes ...</p><br><div class="text-center"><img src="img/ajax-loader.gif"></div><br>');
@ -146,7 +146,7 @@ app = Sammy('#main', function (sam) {
}
setInterval(function () {
$('#popup-title').text('Installation complete');
$('#popup-body').html('<p>YunoHost has been successfully installed, please go to <a href="https://'+ args.domain +'/ynhadmin" target="_blank"><strong>https://'+ args.domain +'/ynhadmin</strong></a>.</p><br><p><small><a href="https://doc.yunohost.org/#/dns" target="_blank">Not working ?</a></small></p>');
$('#popup-body').html('<p>YunoHost has been successfully installed, please go to <a href="https://'+ args.domain +'/yunohost/admin" target="_blank"><strong>https://'+ args.domain +'/yunohost/admin</strong></a> and create your first user.</p><br><p><small><a href="https://doc.yunohost.org/#/dns" target="_blank">Not working ?</a></small></p>');
}, interval);
} else {
$('#popup').modal('hide');