Web: Show startup loading message
This commit is contained in:
parent
1ef067c7e9
commit
f844bbacda
@ -1142,6 +1142,8 @@ function CreateEditCollectionScene(user, password, collection) {
|
||||
}
|
||||
|
||||
function main() {
|
||||
// Hide startup loading message
|
||||
document.getElementById("loadingscene").classList.add("hidden");
|
||||
push_scene(new LoginScene(), false);
|
||||
}
|
||||
|
||||
|
@ -18,6 +18,12 @@
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<section id="loadingscene">
|
||||
<h1>Loading</h1>
|
||||
<p>Please wait...</p>
|
||||
<noscript>JavaScript is required</noscript>
|
||||
</section>
|
||||
|
||||
<section id="loginscene" class="hidden">
|
||||
<h1>Login</h1>
|
||||
<form data-name="form">
|
||||
@ -28,11 +34,6 @@
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<section id="loadingscene" class="hidden">
|
||||
<h1>Loading</h1>
|
||||
Please wait...
|
||||
</section>
|
||||
|
||||
<section id="collectionsscene" class="hidden">
|
||||
<h1>Collections</h1>
|
||||
<ul>
|
||||
|
Loading…
Reference in New Issue
Block a user