69 lines
3.2 KiB
Plaintext
69 lines
3.2 KiB
Plaintext
|
|
@{
|
|||
|
|
var title = ViewData["Title"] as string;
|
|||
|
|
}
|
|||
|
|
<!DOCTYPE html>
|
|||
|
|
<html lang="fa" dir="rtl">
|
|||
|
|
<head>
|
|||
|
|
<meta charset="utf-8" />
|
|||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|||
|
|
<title>@(title is null ? "همکادر | شیفت و استخدام کادر درمان" : title + " | همکادر")</title>
|
|||
|
|
<meta name="description" content="@(ViewData["Description"] as string ?? "همکادر؛ سامانه یافتن شیفت و موقعیت استخدامی برای کادر درمان (پزشک، پرستار، ماما و تکنسین) در بیمارستانها و کلینیکهای تهران.")" />
|
|||
|
|
@* Preload the body-weight font so the swap from Tahoma happens fast. Vazirmatn is
|
|||
|
|
self-hosted under wwwroot/fonts (@@font-face in site.css) — no external CDN. *@
|
|||
|
|
<link rel="preload" href="~/fonts/Vazirmatn-Regular.woff2" as="font" type="font/woff2" crossorigin />
|
|||
|
|
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
|
|||
|
|
</head>
|
|||
|
|
<body>
|
|||
|
|
<header class="site-header">
|
|||
|
|
<div class="container header-inner">
|
|||
|
|
<a class="brand" asp-page="/Index">
|
|||
|
|
<span class="brand-mark">ه</span>
|
|||
|
|
<span class="brand-text">همکادر</span>
|
|||
|
|
</a>
|
|||
|
|
<nav class="main-nav">
|
|||
|
|
<a asp-page="/Index">خانه</a>
|
|||
|
|
<a asp-page="/Shifts/Index">شیفتها</a>
|
|||
|
|
<a asp-page="/Jobs/Index">استخدام</a>
|
|||
|
|
<a asp-page="/Calendar/Index">تقویم هفتگی</a>
|
|||
|
|
<a asp-page="/Facilities/Index">مراکز درمانی</a>
|
|||
|
|
<a asp-page="/Preferences/Index">علاقهمندیها</a>
|
|||
|
|
</nav>
|
|||
|
|
<div class="header-actions">
|
|||
|
|
@if (User.Identity?.IsAuthenticated == true)
|
|||
|
|
{
|
|||
|
|
@if (User.IsInRole("Admin"))
|
|||
|
|
{
|
|||
|
|
<a asp-page="/Admin/Index" style="margin-inline-end:14px; font-weight:600;">پنل مدیریت</a>
|
|||
|
|
}
|
|||
|
|
<a asp-page="/Account/Profile" style="margin-inline-end:10px; font-weight:600;">پروفایل</a>
|
|||
|
|
<form method="post" asp-page="/Account/Logout" style="display:inline;">
|
|||
|
|
<button type="submit" class="btn btn-outline" style="padding:7px 14px;">خروج</button>
|
|||
|
|
</form>
|
|||
|
|
}
|
|||
|
|
else
|
|||
|
|
{
|
|||
|
|
<a class="btn btn-outline" asp-page="/Account/Login">ورود</a>
|
|||
|
|
}
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</header>
|
|||
|
|
|
|||
|
|
<main role="main">
|
|||
|
|
@RenderBody()
|
|||
|
|
</main>
|
|||
|
|
|
|||
|
|
<footer class="site-footer">
|
|||
|
|
<div class="container footer-inner">
|
|||
|
|
<div>
|
|||
|
|
<span class="brand-mark sm">ه</span>
|
|||
|
|
<strong>همکادر</strong>
|
|||
|
|
<p class="muted">سامانه واسط میان کادر درمان و مراکز درمانی برای شیفت و استخدام</p>
|
|||
|
|
</div>
|
|||
|
|
<div class="muted">© ۱۴۰۵ همکادر — همه حقوق محفوظ است</div>
|
|||
|
|
</div>
|
|||
|
|
</footer>
|
|||
|
|
|
|||
|
|
@await RenderSectionAsync("Scripts", required: false)
|
|||
|
|
</body>
|
|||
|
|
</html>
|