24 lines
729 B
Plaintext
24 lines
729 B
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>
|
||
|
<hr>
|
||
|
<div class="mt-3">
|
||
|
<a class="btn btn-primary" asp-page="/User/Settings">Settings</a>
|
||
|
</div>
|
||
|
<form asp-page-handler="SignOut" method="post">
|
||
|
<div class="mt-3">
|
||
|
<button class="btn btn-danger">Sign out</button>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|