Development

This commit is contained in:
Matthew Grotke 2026-06-12 11:16:31 -04:00
parent c561f2f548
commit 1beb660be1
8 changed files with 280 additions and 48 deletions

View file

@ -23,31 +23,19 @@
"action": "/action/preferences/accountdetails_save",
"method": "post",
"items": [
{
"type": "field",
"label": "Email Address",
"name": "email",
"input_type": "text",
"value": "%PREF_EMAIL%",
"readonly": true,
"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."
"options": "%TIMEZONE_OPTIONS%"
},
{
"type": "button_row",
"items": [
{
"type": "button_primary",
"action": "/action/preferences/accountdetails_save",
"method": "post",
"text": "Save Preferences"
}
]
@ -56,6 +44,40 @@
}
]
},
{
"type": "card",
"label": "Change Email",
"items": [
{
"type": "raw_html",
"html": "%PENDING_EMAIL_BAR%"
},
{
"type": "form",
"action": "/action/preferences/email_change_request",
"method": "post",
"items": [
{
"type": "field",
"label": "Email Address",
"name": "new_email",
"input_type": "text",
"value": "%PREF_EMAIL%",
"placeholder": "New email address"
},
{
"type": "button_row",
"items": [
{
"type": "button_primary",
"text": "Submit Request"
}
]
}
]
}
]
},
{
"type": "card",
"label": "Change Password",
@ -91,8 +113,6 @@
"items": [
{
"type": "button_primary",
"action": "/action/preferences/changepassword_save",
"method": "post",
"text": "Change Password"
}
]
@ -102,4 +122,4 @@
]
}
]
}
}