75 lines
3.6 KiB
Plaintext
75 lines
3.6 KiB
Plaintext
@using BankYouBankruptСlientApp
|
||
|
||
|
||
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
<title>@ViewData["Title"]</title>
|
||
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
|
||
<link rel="stylesheet" href="~/css/site.css" />
|
||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
|
||
<script src="~/lib/jquery/dist/jquery.min.js"></script>
|
||
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||
</head>
|
||
<body>
|
||
<header class="d-flex flex-wrap align-items-center justify-content-center justify-content-md-between py-3 px-4 mg-5 mb-4 border-bottom bg-dark ">
|
||
<div class="col-md-3 mb-2 mb-md-0">
|
||
<a asp-controller="Home" asp-action="Enter" class="d-inline-flex link-body-emphasis text-decoration-none">
|
||
<span class="fs-4 text-light ">Банк "Вы банкрот"</span>
|
||
</a>
|
||
</div>
|
||
|
||
<ul class="nav col-12 col-md-auto mb-2 justify-content-center mb-md-0 nav-main">
|
||
<li>
|
||
<a asp-controller="Home" asp-action="CardsList" class="nav-link px-2 link-light">Карты</a>
|
||
</li>
|
||
<li class="dropdown">
|
||
<a href="#" class="nav-link px-2 link-light">Операции</a>
|
||
<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="navbarDarkDropdownMenuLink">
|
||
<li><a class="dropdown-item" asp-controller="Home" asp-action="CreditingList">Пополнить средства</a></li>
|
||
<li><a asp-controller="Home" asp-action="DebitingList" class="dropdown-item">Снять средства</a></li>
|
||
</ul>
|
||
</li>
|
||
<li class="dropdown">
|
||
<a href="#" class="nav-link px-2 link-light">Отчеты</a>
|
||
<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="navbarDarkDropdownMenuLink">
|
||
<li><a class="dropdown-item" asp-controller="Home" asp-action="ReportWithCards">Отчет по картам</a></li>
|
||
<li><a class="dropdown-item" asp-controller="Home" asp-action="CreateReport">Отчет за период</a></li>
|
||
<li><a class="dropdown-item" asp-controller="Home" asp-action="Diagram">Диаграмма</a></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
@{
|
||
if (APIClient.Client == null)
|
||
{
|
||
<div class="col-md-3 text-end">
|
||
<a class="btn btn-warning me-2" asp-controller="Home" asp-action="Login">Войти</a>
|
||
<a class="btn btn-warning" asp-controller="Home" asp-action="Register">Регистрация</a>
|
||
</div>
|
||
}
|
||
else {
|
||
<div class="col-md-3 text-end">
|
||
<a class="btn btn-warning me-2" id="exit" name="exit" asp-controller="Home" asp-action="Privacy">@APIClient.Client.Surname @APIClient.Client.Name</a>
|
||
</div>
|
||
}
|
||
}
|
||
</header>
|
||
<div class="container">
|
||
<main role="main" class="pb-3">
|
||
@RenderBody()
|
||
</main>
|
||
</div>
|
||
|
||
<footer class="border-top footer text-muted">
|
||
<div class="container">
|
||
© 2023 - BankYouBankruptClientApp
|
||
</div>
|
||
</footer>
|
||
<script src="~/lib/jquery/dist/jquery.min.js"></script>
|
||
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||
<script src="~/js/site.js" asp-append-version="true"></script>
|
||
@await RenderSectionAsync("Scripts", required: false)
|
||
</body>
|
||
</html> |