@page "/web/account/profile" @model DysonNetwork.Sphere.Pages.Account.ProfileModel @{ ViewData["Title"] = "Profile"; }

User Profile

@if (Model.Account != null) {

Account Information

Username: @Model.Account.Name

Nickname: @Model.Account.Nick

Language: @Model.Account.Language

Activated: @Model.Account.ActivatedAt?.ToString("yyyy-MM-dd HH:mm", System.Globalization.CultureInfo.InvariantCulture)

Superuser: @Model.Account.IsSuperuser

Profile Details

Name: @Model.Account.Profile.FirstName @Model.Account.Profile.MiddleName @Model.Account.Profile.LastName

Bio: @Model.Account.Profile.Bio

Gender: @Model.Account.Profile.Gender

Location: @Model.Account.Profile.Location

Birthday: @Model.Account.Profile.Birthday?.ToString("yyyy-MM-dd", System.Globalization.CultureInfo.InvariantCulture)

Experience: @Model.Account.Profile.Experience

Level: @Model.Account.Profile.Level

Access Token

} else {

User profile not found. Please log in.

}