tweaked init form style, redirects to login when set up complete

pull/32/head
Ro 4 years ago
parent cc1e709358
commit 575fea388b

@ -3,29 +3,29 @@ block main-content
#dash-index #dash-index
#dash-index-wrapper #dash-index-wrapper
.dash-init#dash-init .dash-init#dash-init
h1 HI! Let's get you set up, champ.
h2 Just a few questions to get started
br br
form#init-form form#init-form
h1 What up.
p Just fill these in and it'll get you started.
label What's your handle? label What's your handle?
br br
input(type='text', name='new_member_handle' id='new_member_handle', placeholder="What\'s your handle?") input.large(type='text', name='new_member_handle' id='new_member_handle', placeholder="What\'s your handle?")
br br
label Let's get that email label Let's get that email
br br
input(type='text', name='new_member_email' id='new_member_email', placeholder="Email Please") input.large(type='text', name='new_member_email' id='new_member_email', placeholder="Email Please")
br br
label Let's get a password label Let's get a password
br br
input(type='password', name='new_member_pass' id='new_member_pass', placeholder="Password Please") input.large(type='password', name='new_member_pass' id='new_member_pass', placeholder="Password Please")
br br
label And let's confirm that password label And let's confirm that password
br br
input(type='password', name='new_member_pass2' id='new_member_pass2', placeholder="Email Confirm") input.large(type='password', name='new_member_pass2' id='new_member_pass2', placeholder="Email Confirm")
br br
label And finally, a title label And finally, a title
br br
input(type='text', name='new_member_title' id='new_member_title', placeholder="Site Title Please") input.large(type='text', name='new_member_title' id='new_member_title', placeholder="Site Title Please")
br br
button#init-blog(data-action='blog-init' type='submit') LETSGO button#init-blog(data-action='blog-init' type='submit') SET IT UP

@ -68,8 +68,8 @@ export default class Base {
} else { } else {
notify.alert(response.message, true); notify.alert(response.message, true);
setTimeout(() => { setTimeout(() => {
//window.location = '/@/dashboard'; window.location = '/@/dashboard';
}, 500); }, 700);
} }
}) })
.catch(err => { .catch(err => {

@ -25,6 +25,10 @@ button, input[type=submit]
cursor pointer cursor pointer
border 0 border 0
input.large
font-size 1.4em
padding 10px
select select
font 1em $monoType font 1em $monoType
border 1px solid $secondary border 1px solid $secondary

@ -24,12 +24,22 @@
form form
background $white background $white
padding 10px padding 15px
input[type=email], input[type=password], input[type=text] h1
color $primary
p
color $primary - 60%
border-top 1px solid $primary
border-bottom 1px solid $primary
padding 10px 0 10px 0
input.large[type=email], input[type=password], input[type=text]
margin-bottom 15px margin-bottom 15px
margin-top 5px
button button
height 30px height 30px
width 100px width 120px
margin 0 auto
display block
#dash-login #dash-login
width 100% width 100%

Loading…
Cancel
Save