2024-11-18 23:37:50 +04:00
|
|
|
@using CandidateReviewDataModels.Enums
|
|
|
|
<!DOCTYPE html>
|
2024-11-06 01:27:34 +04:00
|
|
|
<html lang="en">
|
2024-11-18 23:37:50 +04:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<title>@ViewData["Title"] - CandidateReviewClientApp</title>
|
|
|
|
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
|
|
|
|
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
|
|
|
|
<link rel="stylesheet" href="~/CandidateReviewClientApp.styles.css" asp-append-version="true" />
|
|
|
|
<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>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
|
|
|
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
|
|
|
<div class="container">
|
|
|
|
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">Candidate Review</a>
|
|
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#mainNav" aria-controls="mainNav" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
<div class="collapse navbar-collapse" id="mainNav">
|
|
|
|
<ul class="navbar-nav ml-auto">
|
|
|
|
@if (APIClient.User?.Role == RoleEnum.Сотрудник)
|
|
|
|
{
|
2024-11-06 01:27:34 +04:00
|
|
|
<li class="nav-item">
|
2024-11-18 23:37:50 +04:00
|
|
|
<a class="nav-link text-dark" asp-area="" asp-controller="Company" asp-action="@(APIClient.User?.CompanyId == null ? "EditCompanyProfile" : "CompanyProfile")">Профиль компании</a>
|
2024-11-06 01:27:34 +04:00
|
|
|
</li>
|
2024-11-18 23:37:50 +04:00
|
|
|
}
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link text-dark" asp-area="" asp-controller="User" asp-action="UserProfile" asp-route-id="@(APIClient.User?.Id)">Профиль</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2024-11-06 01:27:34 +04:00
|
|
|
</div>
|
2024-11-18 23:37:50 +04:00
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
<div class="container mt-4">
|
|
|
|
<main role="main" class="pb-3">
|
|
|
|
@RenderBody()
|
|
|
|
</main>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<footer class="border-top footer text-muted mt-5">
|
2024-11-06 01:27:34 +04:00
|
|
|
<div class="container">
|
2024-11-18 23:37:50 +04:00
|
|
|
© 2024 - Ревью кандидатов на вакансию
|
2024-11-06 01:27:34 +04:00
|
|
|
</div>
|
2024-11-18 23:37:50 +04:00
|
|
|
</footer>
|
|
|
|
@await RenderSectionAsync("Scripts", required: false)
|
|
|
|
</body>
|
|
|
|
</html>
|