{ "client_requirement": "client_is_viewer+", "items": [ { "type": "header_page_title", "items": [ { "type": "h1", "text": "Preferences" }, { "type": "p", "text": "Your personal account settings." } ] }, { "type": "card", "label": "Account Details", "items": [ { "type": "form", "action": "/action/preferences/accountdetails_save", "method": "post", "items": [ { "type": "field", "label": "Email Address", "name": "email", "input_type": "text", "value": "%PREF_EMAIL%", "hint": "Contact your manager to change your email address." }, { "type": "field", "label": "Timezone", "name": "timezone", "input_type": "select", "value": "%PREF_TIMEZONE%", "options": "%TIMEZONE_OPTIONS%", "hint": "All timestamps will be displayed in this timezone." }, { "type": "button_row", "items": [ { "type": "button_primary", "action": "/action/preferences/accountdetails_save", "method": "post", "text": "Save Preferences" } ] } ] } ] }, { "type": "card", "label": "Change Password", "items": [ { "type": "form", "action": "/action/preferences/changepassword_save", "method": "post", "items": [ { "type": "field", "label": "Current Password", "name": "current_password", "input_type": "password", "placeholder": "Current password" }, { "type": "field", "label": "New Password", "name": "new_password", "input_type": "password", "placeholder": "New password" }, { "type": "field", "label": "Confirm Password", "name": "confirm_password", "input_type": "password", "placeholder": "Repeat new password" }, { "type": "button_row", "items": [ { "type": "button_primary", "action": "/action/preferences/changepassword_save", "method": "post", "text": "Change Password" } ] } ] } ] } ] }