26 lines
948 B
Plaintext
26 lines
948 B
Plaintext
@{
|
|
ViewData["Title"] = "Мой аккаунт";
|
|
}
|
|
|
|
<div class="page-head">
|
|
<span class="section-overline">Аккаунт</span>
|
|
<h1 class="page-title">Мой аккаунт</h1>
|
|
<p class="page-subtitle">Привет, @User.Identity?.Name! Вы вошли в личный кабинет.</p>
|
|
</div>
|
|
|
|
<div class="auth-panel">
|
|
<div class="profile-row">
|
|
<span class="profile-row__label">Логин</span>
|
|
<span class="profile-row__value">@User.Identity?.Name</span>
|
|
</div>
|
|
<div class="profile-row">
|
|
<span class="profile-row__label">Имя</span>
|
|
<span class="profile-row__value">
|
|
@User.FindFirst(System.Security.Claims.ClaimTypes.GivenName)?.Value
|
|
</span>
|
|
</div>
|
|
|
|
<form asp-action="Logout" asp-controller="Account" method="post" class="mt-3">
|
|
<button type="submit" class="btn btn-outline-danger">Выйти из аккаунта</button>
|
|
</form>
|
|
</div> |