Use a direct register link and warn about the registration.

main
Zed A. Shaw 2 years ago
parent 393997765c
commit 927d9b5665
  1. 2
      admin/Header.svelte
  2. 2
      client/Header.svelte
  3. 13
      client/pages/Register.svelte
  4. 2
      commands/templates/client/Header.svelte
  5. 2
      commands/templates/rendered/Header.svelte
  6. 2
      rendered/Header.svelte

@ -31,7 +31,7 @@
<ul>
{#if register_enabled}
<li>
<a id="register-button" href="/register/top/">
<a id="register-button" href="/client/#/register/">
<span class="mobile">
<Icon name="dollar-sign" tooltip="Register."/>
</span>

@ -46,7 +46,7 @@
<a href="/intro/" use:link id="logo">The Bandolier</a>
<ul>
{#if register_enabled}
<li><a id="register-button" href="/register/top/">
<li><a id="register-button" href="/client/#/register/">
<span class="mobile">
<Icon name="dollar-sign" tooltip="Register."/>
</span>

@ -186,12 +186,13 @@
<right>
<info>
<h1>Bandolier Template Project</h1>
<h4>Welcome To Your Project</h4>
<p>After you register go back to the window you're running <code>./bando.js init</code> in and hit <code>ENTER</code> to continue.
</p>
<p>If you want to change this message it is in <code>client/pages/Register.svelte</code>
</p>
<h1>The Bandolier</h1>
<h4>A Learn JavaScript the Hard Way Project</h4>
<callout class="warning">
<span>Do <b>not</b> use a real email address! I will be giving people access
to the admin control panel and everyone will see your email! Use a fake one!
</span>
</callout>
</info>
</right>
</payment>

@ -28,7 +28,7 @@
<a href="/"><Icon name="home" size="36" /></a>
<ul>
{#if register_enabled}
<li><a id="register-button" href="/register/top/">
<li><a id="register-button" href="/client/#/register/">
<span class="mobile">
<Icon name="dollar-sign" tooltip="Register."/>
</span>

@ -19,7 +19,7 @@ img.logo {
<ul>
{#if register_enabled}
<li>
<a id="register-button" href="/register/top-static/">
<a id="register-button" href="/client/#/register/">
<span class="mobile">
<Icon name="dollar-sign" tooltip="Register." />
</span>

@ -19,7 +19,7 @@ img.logo {
<ul>
{#if register_enabled}
<li>
<a id="register-button" href="/register/top-static/">
<a id="register-button" href="/client/#/register/">
<span class="mobile">
<Icon name="dollar-sign" tooltip="Register." />
</span>

Loading…
Cancel
Save