add installing notice and refresh

This commit is contained in:
Barış Soner Uşaklı
2018-05-23 13:43:25 -04:00
parent a48c0a4c3d
commit 4e495adcd7
2 changed files with 12 additions and 0 deletions

View File

@@ -16,6 +16,11 @@ $('document').ready(function () {
$('#launch').on('click', launchForum);
if ($('#installing').length) {
setTimeout(function () {
window.location.reload(true);
}, 5000);
}
function setupInputs() {
$('form').on('focus', '.form-control', function () {

View File

@@ -115,6 +115,13 @@
</form>
</div>
<!-- IF installing -->
<div id="installing" class="container">
<p>
<h1>Hang tight! Your NodeBB is being installed.</h1>
</p>
</div>
<!-- ENDIF installing -->
<div class="container <!-- IF !success -->hide<!-- ENDIF !success -->">
<p>