{ "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" } ] } ] }