Development
This commit is contained in:
parent
d8d1d46fd2
commit
eed1d295dc
69 changed files with 3355 additions and 3230 deletions
86
docker/routlin-dash/app/pages/accountlogin/content.json
Normal file
86
docker/routlin-dash/app/pages/accountlogin/content.json
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
{
|
||||
"id": "view_login",
|
||||
"client_requirement": "client_is_nothing=",
|
||||
"items": [
|
||||
{
|
||||
"type": "auth_wrapper",
|
||||
"client_requirement": "client_is_nothing=",
|
||||
"items": [
|
||||
{
|
||||
"type": "auth_card",
|
||||
"items": [
|
||||
{
|
||||
"type": "h1",
|
||||
"text": "Log In"
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"text": "Enter your credentials to access the dashboard."
|
||||
},
|
||||
{
|
||||
"type": "hr"
|
||||
},
|
||||
{
|
||||
"type": "form",
|
||||
"action": "/action/log_in",
|
||||
"method": "post",
|
||||
"items": [
|
||||
{
|
||||
"type": "field",
|
||||
"label": "Email Address",
|
||||
"name": "email",
|
||||
"input_type": "text",
|
||||
"placeholder": "you@example.com"
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"label": "Password",
|
||||
"name": "password",
|
||||
"input_type": "password",
|
||||
"placeholder": "Password"
|
||||
},
|
||||
{
|
||||
"type": "button_primary",
|
||||
"action": "/action/log_in",
|
||||
"method": "post",
|
||||
"text": "Log In",
|
||||
"class": "btn-full"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"text": "Need to complete your account?",
|
||||
"link": {
|
||||
"action": "/view/view_createaccount",
|
||||
"text": "Create Account"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "section",
|
||||
"client_requirement": "client_is_viewer+",
|
||||
"items": [
|
||||
{
|
||||
"type": "h1",
|
||||
"text": "Already logged in."
|
||||
},
|
||||
{
|
||||
"type": "p",
|
||||
"text": "You are already authenticated."
|
||||
},
|
||||
{
|
||||
"type": "spacer"
|
||||
},
|
||||
{
|
||||
"type": "button_primary",
|
||||
"action": "/view/overview",
|
||||
"text": "Go to Overview"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue