added settings loading to API to fix caching, added site init and onboarding, added settings templates to make site set up easier
parent
e6b3917c51
commit
cf89b48d17
@ -0,0 +1,31 @@
|
||||
extends frame
|
||||
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
|
||||
label What's your handle?
|
||||
br
|
||||
input(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")
|
||||
br
|
||||
label Let's get a password
|
||||
br
|
||||
input(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")
|
||||
br
|
||||
label And finally, a title
|
||||
br
|
||||
input(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
|
||||
|
@ -0,0 +1,14 @@
|
||||
[
|
||||
{
|
||||
"id": "",
|
||||
"handle": "",
|
||||
"avi": "/assets/images/global/default-avi.png",
|
||||
"email": "",
|
||||
"password": "",
|
||||
"key": "",
|
||||
"role": "",
|
||||
"created": "",
|
||||
"updated": "",
|
||||
"deleted": null
|
||||
}
|
||||
]
|
@ -0,0 +1,26 @@
|
||||
{
|
||||
"global": {
|
||||
"base_url": "http://your.domain",
|
||||
"title": "This is a Title",
|
||||
"descriptions": "Because it should be easy.",
|
||||
"background": "/assets/images/global/default-bg.jpg",
|
||||
"private": "true",
|
||||
"renderOnSave": "false",
|
||||
"theme": "default-light"
|
||||
},
|
||||
"library_stats": {
|
||||
"current_index": 1
|
||||
},
|
||||
"email": {
|
||||
"smtp": {
|
||||
"domain": "",
|
||||
"email": "",
|
||||
"password": ""
|
||||
},
|
||||
"mailgun": {
|
||||
"domain": "",
|
||||
"api-key": ""
|
||||
}
|
||||
},
|
||||
"menu": []
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
{
|
||||
"url": "http://your.domain",
|
||||
"title": "This is the title",
|
||||
"description": "A few words describing the site",
|
||||
"theme": "default-light",
|
||||
"private": "false",
|
||||
"feautred-url":"fancybackground.something",
|
||||
"email":
|
||||
{
|
||||
"smtp":
|
||||
{
|
||||
"domain": "",
|
||||
"email": "",
|
||||
"password": ""
|
||||
},
|
||||
"mailgun":
|
||||
{
|
||||
"domain": "",
|
||||
"api-key": ""
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue