Development
This commit is contained in:
parent
d8d1d46fd2
commit
eed1d295dc
69 changed files with 3355 additions and 3230 deletions
103
docker/routlin-dash/app/pages/accountcreate/content.json
Normal file
103
docker/routlin-dash/app/pages/accountcreate/content.json
Normal file
|
|
@ -0,0 +1,103 @@
|
|||
{
|
||||
"id": "view_createaccount",
|
||||
"client_requirement": "client_is_nothing=",
|
||||
"items": [
|
||||
{
|
||||
"type": "auth_wrapper",
|
||||
"client_requirement": "client_is_nothing=",
|
||||
"items": [
|
||||
{
|
||||
"type": "auth_card",
|
||||
"items": [
|
||||
{
|
||||
"type": "h1",
|
||||
"text": "Complete Your Account"
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"text": "If your email has been pre-registered by a manager, setup your account below."
|
||||
},
|
||||
{
|
||||
"type": "hr"
|
||||
},
|
||||
{
|
||||
"type": "form",
|
||||
"action": "/action/create_account",
|
||||
"method": "post",
|
||||
"items": [
|
||||
{
|
||||
"type": "field",
|
||||
"label": "Email Address",
|
||||
"name": "email",
|
||||
"input_type": "text",
|
||||
"placeholder": "you@example.com",
|
||||
"hint": "Must match your pre-registered email address."
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"label": "New Password",
|
||||
"name": "password",
|
||||
"input_type": "password",
|
||||
"placeholder": "Choose a strong password"
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"label": "Confirm Password",
|
||||
"name": "password_confirm",
|
||||
"input_type": "password",
|
||||
"placeholder": "Repeat your password"
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"label": "Timezone",
|
||||
"name": "timezone",
|
||||
"input_type": "select",
|
||||
"value": "",
|
||||
"options": "%TIMEZONE_OPTIONS%",
|
||||
"hint": "Used to display timestamps in your local time."
|
||||
},
|
||||
{
|
||||
"type": "button_primary",
|
||||
"action": "/action/create_account",
|
||||
"method": "post",
|
||||
"text": "Create Account",
|
||||
"class": "btn-full"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"text": "Already have an account?",
|
||||
"link": {
|
||||
"action": "/view/view_login",
|
||||
"text": "Log In"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "section",
|
||||
"client_requirement": "client_is_viewer+",
|
||||
"items": [
|
||||
{
|
||||
"type": "h1",
|
||||
"text": "Already logged in."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"text": "Your account is already active."
|
||||
},
|
||||
{
|
||||
"type": "spacer"
|
||||
},
|
||||
{
|
||||
"type": "button_primary",
|
||||
"action": "/view/overview",
|
||||
"text": "Go to Overview"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue