Adjustments to the registration page ref: OwlBoard/backend#39
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
const title = 'Register';
|
||||
|
||||
let state = 'unreg';
|
||||
let isLoading = false;
|
||||
let isLoading = true;
|
||||
let inputValue = '';
|
||||
|
||||
function handleInput(event) {
|
||||
@@ -46,14 +46,16 @@
|
||||
} else if (auth.uuidPresent === true) {
|
||||
state = 'reg';
|
||||
}
|
||||
isLoading = false;
|
||||
});
|
||||
</script>
|
||||
|
||||
{#if isLoading}
|
||||
<Loading />
|
||||
{/if}
|
||||
|
||||
|
||||
<Header {title} />
|
||||
{#if isLoading}
|
||||
<Loading />
|
||||
{:else}
|
||||
{#if state == 'unreg'}
|
||||
<p>The staff version of OwlBoard offers several extra features:</p>
|
||||
<ul>
|
||||
@@ -92,6 +94,7 @@
|
||||
browser.
|
||||
</p>
|
||||
{/if}
|
||||
{/if}
|
||||
<Nav />
|
||||
|
||||
<style>
|
||||
|
||||
Reference in New Issue
Block a user