32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
@page
|
|
@model WebApp.Pages.User.IndexModel
|
|
@{
|
|
ViewData["Title"] = "User page";
|
|
}
|
|
|
|
<div class="container mt-5">
|
|
<div class="row">
|
|
<div class="col-md-6 offset-md-3">
|
|
<h1 class="text-center">@Model.UserModel.FirstName @Model.UserModel.SecondName</h1>
|
|
<p class="text-center">@Model.UserModel.Email</p>
|
|
<p class="text-center">Бонусы за покупки: @Model.UserModel.Bonus шт.</p>
|
|
<hr>
|
|
<div class="container mt-4">
|
|
<div class="row">
|
|
<div class="mt-3">
|
|
<a class="btn btn-primary" asp-page="/User/Purchases">Покупки</a>
|
|
</div>
|
|
<div class="mt-3">
|
|
<a class="btn btn-primary" asp-page="/User/Settings">Настройки</a>
|
|
</div>
|
|
<form asp-page-handler="SignOut" method="post">
|
|
<div class="mt-3">
|
|
<button class="btn btn-danger">Выйти из системы</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|