@model PowderCoating.Application.DTOs.User.UserProfileDto @{ ViewData["Title"] = "My Profile"; ViewData["PageIcon"] = "bi-person-circle"; ViewData["PageHelpTitle"] = "My Profile"; ViewData["PageHelpContent"] = "Profile: edit your name and phone number. Security: change your login email or password. Photo: upload a profile picture used as your avatar throughout the app. Appearance: choose a theme, sidebar color, date format, and timezone. Changes on each tab save independently."; }
@Html.AntiForgeryToken()
@if (Model.HasProfilePicture) { Profile Photo } else {
@Model.FirstName.Substring(0, 1).ToUpper()
}
@Model.FullName

@Model.Email

@if (!string.IsNullOrEmpty(Model.Position)) { @Model.Position } @if (!string.IsNullOrEmpty(Model.CompanyRole)) { @Model.CompanyRole }
Personal Information
To change your email, use the Security tab.

Employment Information (read-only)
Change Email

Your email address is also your login. Confirm your current password to update it.

Change Password
Password requirements: At least 8 characters with uppercase, lowercase, and a digit.
Profile Photo
@if (Model.HasProfilePicture) { Profile Photo } else {
}
@Html.AntiForgeryToken()
Max 10 MB. JPG, PNG, GIF, or WebP.
@if (Model.HasProfilePicture) { }
Appearance Settings
@{ var swatches = new[] { ("ocean", "#1A1A1C", "Graphite"), ("navy", "#0D1B2E", "Navy"), ("forest", "#0D2116", "Forest"), ("purple", "#1A0D2E", "Plum"), ("crimson", "#1C0A0E", "Crimson"), ("teal", "#0A1F1E", "Teal"), }; foreach (var (val, hex, label) in swatches) { var isActive = Model.SidebarColor == val || (val == "ocean" && string.IsNullOrEmpty(Model.SidebarColor)); } }
@section Scripts { }