mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-06 23:52:58 +01:00
add installing notice and refresh
This commit is contained in:
@@ -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 () {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user