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-wrapper
.dash-init#dash-init
h1 HI! Let's get you set up, champ.
h2 Just a few questions to get started
br
form#init-form
h1 What up.
p Just fill these in and it'll get you started.
label What's your handle?
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
label Let's get that email
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
label Let's get a password
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
label And let's confirm that password
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
label And finally, a title
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
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 {
notify.alert(response.message, true);
setTimeout(() => {
//window.location = '/@/dashboard';
}, 500);
window.location = '/@/dashboard';
}, 700);
}
})
.catch(err => {

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

@ -24,12 +24,22 @@
form
background $white
padding 10px
input[type=email], input[type=password], input[type=text]
padding 15px
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-top 5px
button
height 30px
width 100px
width 120px
margin 0 auto
display block
#dash-login
width 100%

Loading…
Cancel
Save