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> <ul>
{#if register_enabled} {#if register_enabled}
<li> <li>
<a id="register-button" href="/register/top/"> <a id="register-button" href="/client/#/register/">
<span class="mobile"> <span class="mobile">
<Icon name="dollar-sign" tooltip="Register."/> <Icon name="dollar-sign" tooltip="Register."/>
</span> </span>

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

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

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

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

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

Loading…
Cancel
Save