mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
slight fixes
This commit is contained in:
parent
1b8969a322
commit
8ee6aba842
2 changed files with 5 additions and 2 deletions
|
@ -36,7 +36,7 @@
|
|||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4 class="modal-title" id="popup-title"></h4>
|
||||
<h3 class="modal-title" id="popup-title"></h3>
|
||||
</div>
|
||||
<div class="modal-body" id="popup-body"></div>
|
||||
</div>
|
||||
|
|
|
@ -83,7 +83,10 @@ app = Sammy('#main', function (sam) {
|
|||
} else {
|
||||
if (uri == '/postinstall') {
|
||||
if (installing) {
|
||||
setInterval(function () {
|
||||
$('#popup-title').text('Installation complete');
|
||||
$('#popup-body').html('<p>YunoHost has been successfully installed, please go to <a href="https://'+ window.location.hostname +'/ynhadmin" target="_blank"><strong>https://'+ window.location.hostname +'/ynhadmin</strong></a>.</p>');
|
||||
}, 5000);
|
||||
} else {
|
||||
$('#popup').modal('hide');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue