282 lines
20 KiB
Plaintext
282 lines
20 KiB
Plaintext
@page
|
|
@using _0_Framework.Application
|
|
@using Version = _0_Framework.Application.Version
|
|
@model ServiceHost.Areas.Client.Pages.IndexModel
|
|
@{
|
|
<style>
|
|
.btn-download-android {
|
|
width: 100%;
|
|
height: 76px;
|
|
border-radius: 10px;
|
|
background: linear-gradient(-45deg, #30c1c1, #14b8a6, #059669, #0e7490);
|
|
background-size: 600%;
|
|
-webkit-animation: anime 16s linear infinite;
|
|
animation: anime 16s linear infinite;
|
|
}
|
|
|
|
.btn-download-android .btn-title {
|
|
color: rgba(255,255,255,0.9);
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
padding: 0 6px 0 0;
|
|
}
|
|
|
|
@@-webkit-keyframes anime {
|
|
0% {
|
|
background-position: 0% 50%;
|
|
}
|
|
50% {
|
|
background-position: 100% 50%;
|
|
}
|
|
100% {
|
|
background-position: 0% 50%;
|
|
}
|
|
}
|
|
@@keyframes anime {
|
|
0% {
|
|
background-position: 0% 50%;
|
|
}
|
|
50% {
|
|
background-position: 100% 50%;
|
|
}
|
|
100% {
|
|
background-position: 0% 50%;
|
|
}
|
|
}
|
|
|
|
</style>
|
|
}
|
|
|
|
<!-- MAIN CONTENT -->
|
|
<div class="p-2 content-container">
|
|
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col-12 col-lg-12 col-xl-7 mb-3 mb-xl-0 d-none d-md-block">
|
|
<div class="card px-2">
|
|
<div class="dashboard-image-section">
|
|
<div class="overlay">
|
|
<div class="p-4 text-white">
|
|
<h3>به سامانه گزارشگیر خوش آمدید</h3>
|
|
<h5>خوش آمدید به دنیای پرانرژی سامانه هوشمند مدیریت منابع انسانی. ما خوشحالیم که شما را در اینجا میبینیم.</h5>
|
|
</div>
|
|
</div>
|
|
<img src="~/AssetsClient/images/dashboard.jpg" alt="" class="img-fluid">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-12 col-lg-12 col-xl-5">
|
|
<div class="card px-2">
|
|
<div class="d-flex align-items-center justify-content-between d-none d-md-flex">
|
|
<div>
|
|
<h5 class="title">تقویم</h5>
|
|
</div>
|
|
|
|
<div>
|
|
<h5 class="title">@Model.TodayDate</h5>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="weekDisplay">
|
|
@foreach (var calender in @Model.CalenderViewModels)
|
|
{
|
|
<div class="wDisplayDay @(calender.IsToday ? "active" : "")">
|
|
<p class="dayNameX @(calender.Holiday || @calender.DayOfWeek == "آدینه" ? "text-danger" : "")">@calender.DayOfWeek</p>
|
|
<h3 class="dayNumY @(calender.Holiday || @calender.DayOfWeek == "آدینه" ? "text-danger" : "")">@calender.DayNumber</h3>
|
|
@* <h3 class="">@calender.Holiday</h3> *@
|
|
</div>
|
|
}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
@if (Model.HasApkToDownload)
|
|
{
|
|
<div class="col-12 col-sm-12 col-md-6 col-lg-3 col-xl-3 col-xxl-3 mt-3 d-md-none d-block" id="downloadAppDashboard">
|
|
<div class="card p-0">
|
|
<div class="card-section-btn bg-white">
|
|
<div class="content btn-group">
|
|
<a href="/apk/android" type="button" class="btn-download-android d-flex align-items-center justify-content-center">
|
|
<svg width="30" height="30" fill="#ffffff" viewBox="-1 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
<g id="SVGRepo_bgCarrier" stroke-width="0"></g>
|
|
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
|
|
<g id="SVGRepo_iconCarrier">
|
|
<path d="m3.751.61 13.124 7.546-2.813 2.813zm-2.719-.61 12.047 12-12.046 12c-.613-.271-1.033-.874-1.033-1.575 0-.023 0-.046.001-.068v.003-20.719c-.001-.019-.001-.042-.001-.065 0-.701.42-1.304 1.022-1.571l.011-.004zm19.922 10.594c.414.307.679.795.679 1.344 0 .022 0 .043-.001.065v-.003c.004.043.007.094.007.145 0 .516-.25.974-.636 1.258l-.004.003-2.813 1.593-3.046-2.999 3.047-3.047zm-17.203 12.796 10.312-10.359 2.813 2.813z"></path>
|
|
</g>
|
|
</svg>
|
|
<p class="btn-title text-nowrap m-0">دانلود نرم افزار مخصوص موبایل</p>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
}
|
|
|
|
<div Permission="@SubAccountPermissionHelper.LeaveCreatePermissionCode" class="col-12 col-sm-12 col-md-6 col-lg-4 col-xl-3 col-xxl-2 mt-3">
|
|
<div class="card p-0">
|
|
<div class="card-section-btn" id="btnCardLeaveIntro">
|
|
<div class="content btn-group">
|
|
<button class="btn loadingButton" onclick="location.href='#showmodal=@Url.Page("./Index", "LeaveCreate")';">
|
|
<svg width="50" height="50" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" style="margin: 0 0 0 10px;">
|
|
<path d="M15.0136 3.16469L16.9379 2.84397C18.3733 2.60474 19.091 2.48512 19.6684 2.61708C20.6188 2.83429 21.4044 3.49979 21.7749 4.40156C22 4.9494 22 5.67701 22 7.13222V17.0663C22 18.3394 22 18.9759 21.8269 19.4631C21.466 20.4793 20.5874 21.2235 19.5258 21.4125C19.0168 21.5031 18.3889 21.3984 17.1331 21.1892L15.0136 20.8359C12.6191 20.4368 11.4219 20.2373 10.7109 19.398C10 18.5588 10 17.3451 10 14.9175V9.08305C10 6.65554 10 5.44178 10.7109 4.60255C11.4219 3.76331 12.6191 3.56377 15.0136 3.16469Z" fill="#C4E8E8"/>
|
|
<path d="M11.5 8L8 11.5M8 11.5L11.5 15M8 11.5H18" stroke="#23A8A8" stroke-width="1.5" stroke-linecap="round"/>
|
|
<path d="M5 22L5 16M2 19H8" stroke="#23A8A8" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
</svg>
|
|
<p class="btn-title text-nowrap m-0">ثبت مرخصی</p>
|
|
<div class="spinner-loading loading rounded-0" style="display: none;">
|
|
<span class="spinner-border spinner-border-sm loading text-white" role="status" aria-hidden="true"></span>
|
|
</div>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div Permission="@SubAccountPermissionHelper.CreateLoanPermissionCode" class="col-12 col-sm-12 col-md-6 col-lg-4 col-xl-3 col-xxl-2 mt-3 @(Model.HasCustomizeCheckoutService != "true" ? "d-none" : "")">
|
|
<div class="card p-0">
|
|
<div class="card-section-btn">
|
|
<div class="content btn-group">
|
|
<button class="btn loadingButton" style="border-radius: 10px !important;" onclick="location.href='#showmodal=@Url.Page("./Company/Loan/Index", "Create")';">
|
|
<svg width="50" height="50" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" style="margin: 0 0 0 10px;">
|
|
<path d="M5 14C2.79 14 1 15.79 1 18C1 20.21 2.79 22 5 22C7.21 22 9 20.21 9 18C9 15.79 7.21 14 5 14ZM6 17.68C6 18.29 5.67002 18.87 5.15002 19.18L4.39001 19.64C4.27001 19.71 4.14001 19.75 4.01001 19.75C3.76001 19.75 3.51 19.62 3.37 19.39C3.16 19.04 3.27 18.57 3.63 18.36L4.39001 17.9C4.46001 17.86 4.51001 17.77 4.51001 17.69V16.76C4.51001 16.35 4.85001 16.01 5.26001 16.01C5.67001 16.01 6.01001 16.35 6.01001 16.76V17.68H6Z" fill="#23A8A8"/>
|
|
<path d="M22 9V15C22 18.5 20 20 17 20H8.45001C8.80001 19.41 9 18.73 9 18C9 15.79 7.21 14 5 14C3.8 14 2.73 14.53 2 15.36V9C2 5.5 4 4 7 4H17C20 4 22 5.5 22 9Z" fill="#C4E8E8"/>
|
|
<path d="M12 14.5C13.3807 14.5 14.5 13.3807 14.5 12C14.5 10.6193 13.3807 9.5 12 9.5C10.6193 9.5 9.5 10.6193 9.5 12C9.5 13.3807 10.6193 14.5 12 14.5Z" fill="#23A8A8"/>
|
|
<path d="M18.5 14.75C18.09 14.75 17.75 14.41 17.75 14V10C17.75 9.59 18.09 9.25 18.5 9.25C18.91 9.25 19.25 9.59 19.25 10V14C19.25 14.41 18.91 14.75 18.5 14.75Z" fill="#23A8A8"/>
|
|
</svg>
|
|
<p class="btn-title text-nowrap m-0">ثبت وام</p>
|
|
<div class="spinner-loading loading rounded-0" style="display: none;">
|
|
<span class="spinner-border spinner-border-sm loading text-white" role="status" aria-hidden="true"></span>
|
|
</div>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div Permission="@SubAccountPermissionHelper.CreateRewardPermissionCode" class="col-12 col-sm-12 col-md-6 col-lg-4 col-xl-3 col-xxl-2 mt-3 @(Model.HasCustomizeCheckoutService != "true" ? "d-none" : "")">
|
|
<div class="card p-0">
|
|
<div class="card-section-btn">
|
|
<div class="content btn-group">
|
|
<button class="btn loadingButton" style="border-radius: 10px !important;" onclick="location.href = '#showmodal=@Url.Page("./Company/Reward/Index", "Create")';">
|
|
<svg width="50" height="50" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" style="margin: 0 0 0 10px;">
|
|
<path d="M21.85 19.5307C21.7567 19.6717 21.6306 19.7881 21.4826 19.8699C21.3346 19.9517 21.1691 19.9966 21 20.0007H18.4L16.72 21.7007C16.6262 21.7964 16.5142 21.8723 16.3905 21.9238C16.2668 21.9753 16.134 22.0015 16 22.0007H15.85C15.6926 21.9762 15.5433 21.9143 15.4145 21.8204C15.2858 21.7265 15.1814 21.6031 15.11 21.4607L12.54 16.3307C12.426 16.0931 12.4103 15.8201 12.4965 15.5711C12.5826 15.322 12.7636 15.117 13 15.0007L17.75 12.5307C17.902 12.4429 18.0745 12.3967 18.25 12.3967C18.4256 12.3967 18.598 12.4429 18.75 12.5307C18.9397 12.6411 19.0847 12.8145 19.16 13.0207L21.93 18.5207C22.0078 18.6809 22.0415 18.859 22.0274 19.0366C22.0133 19.2141 21.9521 19.3847 21.85 19.5307ZM2.15001 19.5307C2.24337 19.6717 2.36941 19.7881 2.5174 19.8699C2.66539 19.9517 2.83096 19.9966 3.00001 20.0007H5.60001L7.28001 21.7007C7.3738 21.7964 7.48587 21.8723 7.60956 21.9238C7.73324 21.9753 7.86602 22.0015 8.00001 22.0007H8.15001C8.30746 21.9762 8.45676 21.9143 8.58548 21.8204C8.7142 21.7265 8.81861 21.6031 8.89001 21.4607L11.46 16.3307C11.5741 16.0931 11.5897 15.8201 11.5036 15.5711C11.4174 15.322 11.2365 15.117 11 15.0007L6.27001 12.5207C6.11799 12.4329 5.94555 12.3867 5.77001 12.3867C5.59448 12.3867 5.42203 12.4329 5.27001 12.5207C5.08033 12.6311 4.93528 12.8045 4.86001 13.0107L2.09001 18.5107C2.00738 18.6704 1.96935 18.8494 1.97991 19.0289C1.99046 19.2084 2.04923 19.3818 2.15001 19.5307Z" fill="#23A8A8"/>
|
|
<path d="M19.65 8.20165C19.5316 8.01328 19.428 7.81603 19.34 7.61165C19.2847 7.38537 19.2512 7.15432 19.24 6.92165C19.2232 6.28746 19.0367 5.66935 18.7 5.13165C18.2905 4.64044 17.7545 4.27045 17.15 4.06165C16.935 3.9831 16.7302 3.87903 16.54 3.75165C16.3652 3.60717 16.2045 3.44646 16.06 3.27165C15.6742 2.75874 15.1555 2.36107 14.56 2.12165C13.9547 1.95424 13.3153 1.95424 12.71 2.12165C12.243 2.23152 11.757 2.23152 11.29 2.12165C10.6847 1.95424 10.0453 1.95424 9.44 2.12165C8.84451 2.36107 8.32581 2.75874 7.94 3.27165C7.79818 3.44885 7.6372 3.60983 7.46 3.75165C7.26981 3.87903 7.06501 3.9831 6.85 4.06165C6.2455 4.27045 5.70954 4.64044 5.3 5.13165C4.96329 5.66935 4.77682 6.28746 4.76 6.92165C4.74876 7.15432 4.71528 7.38537 4.66 7.61165C4.57205 7.81603 4.46841 8.01328 4.35 8.20165C3.97649 8.73129 3.75829 9.3547 3.72 10.0017C3.75829 10.6486 3.97649 11.272 4.35 11.8017C4.46841 11.99 4.57205 12.1873 4.66 12.3917C4.71528 12.6179 4.74876 12.849 4.76 13.0817C4.77682 13.7159 4.96329 14.334 5.3 14.8717C5.70954 15.3629 6.2455 15.7329 6.85 15.9417C7.06501 16.0202 7.26981 16.1243 7.46 16.2517C7.6348 16.3961 7.79552 16.5569 7.94 16.7317C8.32581 17.2446 8.84451 17.6422 9.44 17.8817C10.0498 18.0328 10.6892 18.0155 11.29 17.8317C11.757 17.7218 12.243 17.7218 12.71 17.8317C13.0723 17.929 13.4449 17.9827 13.82 17.9917C14.0709 17.9936 14.3205 17.9565 14.56 17.8817C15.1555 17.6422 15.6742 17.2446 16.06 16.7317C16.2018 16.5545 16.3628 16.3935 16.54 16.2517C16.7302 16.1243 16.935 16.0202 17.15 15.9417C17.7545 15.7329 18.2905 15.3629 18.7 14.8717C19.0367 14.334 19.2232 13.7159 19.24 13.0817C19.2512 12.849 19.2847 12.6179 19.34 12.3917C19.428 12.1873 19.5316 11.99 19.65 11.8017C20.0235 11.272 20.2417 10.6486 20.28 10.0017C20.2417 9.3547 20.0235 8.73129 19.65 8.20165Z" fill="#C4E8E8"/>
|
|
<path d="M12 14C14.2091 14 16 12.2091 16 10C16 7.79086 14.2091 6 12 6C9.79086 6 8 7.79086 8 10C8 12.2091 9.79086 14 12 14Z" fill="#23A8A8"/>
|
|
</svg>
|
|
<p class="btn-title text-nowrap m-0">ثبت پاداش</p>
|
|
<div class="spinner-loading loading rounded-0" style="display: none;">
|
|
<span class="spinner-border spinner-border-sm loading text-white" role="status" aria-hidden="true"></span>
|
|
</div>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div Permission ="@SubAccountPermissionHelper.CreateSalaryAidPermissionCode" class="col-12 col-sm-12 col-md-6 col-lg-4 col-xl-3 col-xxl-2 mt-3 @(Model.HasCustomizeCheckoutService != "true" ? "d-none" : "")">
|
|
<div class="card p-0">
|
|
<div class="card-section-btn">
|
|
<div class="content btn-group">
|
|
<button class="btn loadingButton" style="border-radius: 10px !important;" onclick="location.href='#showmodal=@Url.Page("./Company/SalaryAid/Index", "Create")';">
|
|
<svg width="50" height="50" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" style="margin: 0 0 0 10px;">
|
|
<path d="M20.97 1H18.03C16.76 1 16 1.76 16 3.03V5.97C16 7.24 16.76 8 18.03 8H20.97C22.24 8 23 7.24 23 5.97V3.03C23 1.76 22.24 1 20.97 1ZM21.19 4.31C21.07 4.43 20.91 4.49 20.75 4.49C20.59 4.49 20.43 4.43 20.31 4.31L20.13 4.13V6.37C20.13 6.72 19.85 7 19.5 7C19.15 7 18.87 6.72 18.87 6.37V4.13L18.69 4.31C18.45 4.55 18.05 4.55 17.81 4.31C17.57 4.07 17.57 3.67 17.81 3.43L19.06 2.18C19.11 2.13 19.18 2.09 19.25 2.06C19.27 2.05 19.29 2.05 19.31 2.04C19.36 2.02 19.41 2.01 19.47 2.01C19.49 2.01 19.51 2.01 19.53 2.01C19.6 2.01 19.66 2.02 19.73 2.05C19.74 2.05 19.74 2.05 19.75 2.05C19.82 2.08 19.88 2.12 19.93 2.17C19.94 2.18 19.94 2.18 19.95 2.18L21.2 3.43C21.44 3.67 21.44 4.07 21.19 4.31Z" fill="#23A8A8"/>
|
|
<path d="M22 7.76844V8.99844H2V7.53844C2 5.24844 3.86 3.39844 6.15 3.39844H16V5.96844C16 7.23844 16.76 7.99844 18.03 7.99844H20.97C21.37 7.99844 21.71 7.92844 22 7.76844Z" fill="#C4E8E8"/>
|
|
<path d="M2 9V16.46C2 18.75 3.86 20.6 6.15 20.6H17.85C20.14 20.6 22 18.75 22 16.46V9H2ZM8 17.25H6C5.59 17.25 5.25 16.91 5.25 16.5C5.25 16.09 5.59 15.75 6 15.75H8C8.41 15.75 8.75 16.09 8.75 16.5C8.75 16.91 8.41 17.25 8 17.25ZM14.5 17.25H10.5C10.09 17.25 9.75 16.91 9.75 16.5C9.75 16.09 10.09 15.75 10.5 15.75H14.5C14.91 15.75 15.25 16.09 15.25 16.5C15.25 16.91 14.91 17.25 14.5 17.25Z" fill="#23A8A8"/>
|
|
</svg>
|
|
<p class="btn-title text-nowrap m-0">ثبت مساعده</p>
|
|
<div class="spinner-loading loading rounded-0" style="display: none;">
|
|
<span class="spinner-border spinner-border-sm loading text-white" role="status" aria-hidden="true"></span>
|
|
</div>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div Permission="@SubAccountPermissionHelper.CreateFinePermissionCode" class="col-12 col-sm-12 col-md-6 col-lg-4 col-xl-3 col-xxl-2 mt-3 @(Model.HasCustomizeCheckoutService != "true" ? "d-none" : "")">
|
|
<div class="card p-0">
|
|
<div class="card-section-btn">
|
|
<div class="content btn-group">
|
|
<button class="btn loadingButton" style="border-radius: 10px !important;" onclick="location.href='#showmodal=@Url.Page("./Company/Fine/Index", "Create")';">
|
|
<svg width="50" height="50" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" style="margin: 0 0 0 10px;">
|
|
<path d="M1.70026 20.24C1.71026 20.23 1.71027 20.22 1.71027 20.22L7.21027 14.72C7.22027 14.71 7.23023 14.71 7.24023 14.7C6.60023 14.26 5.82023 14 4.99023 14C2.78023 14 0.990234 15.79 0.990234 18C0.990234 18.75 1.20025 19.46 1.57025 20.06C1.62025 20.12 1.66026 20.18 1.70026 20.24Z" fill="#23A8A8"/>
|
|
<path d="M8.29999 15.75C8.28999 15.76 8.29003 15.77 8.28003 15.78L2.78003 21.28C2.77003 21.29 2.76 21.29 2.75 21.3C3.39 21.74 4.16 22 5 22C6.46 22 7.72998 21.22 8.41998 20.06C8.78998 19.46 9 18.75 9 18C9 17.16 8.73999 16.39 8.29999 15.75Z" fill="#23A8A8"/>
|
|
<path d="M22 9V15C22 18.5 20 20 17 20H8.45001C8.80001 19.41 9 18.73 9 18C9 15.79 7.21 14 5 14C3.8 14 2.73 14.53 2 15.36V9C2 5.5 4 4 7 4H17C20 4 22 5.5 22 9Z" fill="#C4E8E8"/>
|
|
<path d="M12 14.5C13.3807 14.5 14.5 13.3807 14.5 12C14.5 10.6193 13.3807 9.5 12 9.5C10.6193 9.5 9.5 10.6193 9.5 12C9.5 13.3807 10.6193 14.5 12 14.5Z" fill="#23A8A8"/>
|
|
<path d="M18.5 14.75C18.09 14.75 17.75 14.41 17.75 14V10C17.75 9.59 18.09 9.25 18.5 9.25C18.91 9.25 19.25 9.59 19.25 10V14C19.25 14.41 18.91 14.75 18.5 14.75Z" fill="#23A8A8"/>
|
|
</svg>
|
|
<p class="btn-title text-nowrap m-0">ثبت جرائم</p>
|
|
<div class="spinner-loading loading rounded-0" style="display: none;">
|
|
<span class="spinner-border spinner-border-sm loading text-white" role="status" aria-hidden="true"></span>
|
|
</div>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@* <div class="col-12 col-sm-12 col-md-6 col-lg-6 col-xl-6 col-xxl-4 mt-3">
|
|
<div class="card p-0">
|
|
<div class="card-section-btn">
|
|
<div class="content btn-group">
|
|
<button class="btn" onclick="location.href='#showmodal=@Url.Page("./Index", "PaymentToPersonnelCreate")';">
|
|
<span class="btn-title text-nowrap">ثبت پرداخت مبلغ</span>
|
|
</button>
|
|
<button class="btn">
|
|
<span class="btn-title text-nowrap">لیست پرداخت مبلغ</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> *@
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- END MAIN CONTENT -->
|
|
|
|
<div id="MainModal" class="modal fade personalListModal" aria-labelledby="myModalLabel" data-bs-backdrop="static" aria-hidden="true" tabindex="-1" style="display: none;">
|
|
<div class="modal-dialog modal-xxl modal-dialog-centered">
|
|
<div class="modal-content" id="ModalContent">
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@section Script {
|
|
<script src="~/assetsclient/js/site.js?ver=@Version.StyleVersion"></script>
|
|
|
|
<script>
|
|
|
|
$(document).ready(function () {
|
|
$('.loadingButton').on('click', function () {
|
|
var button = $(this);
|
|
var loadingDiv = button.find('.loading');
|
|
loadingDiv.show();
|
|
});
|
|
});
|
|
|
|
var hasCompletedDashboardTour = localStorage.getItem('hasCompletedDashboardTour');
|
|
if (!hasCompletedDashboardTour) {
|
|
introJs().setOptions({
|
|
nextLabel: 'بعد',
|
|
prevLabel: 'قبل',
|
|
doneLabel: 'اتمام',
|
|
showBullets: false,
|
|
steps: [
|
|
{
|
|
title: 'خوش آمدید به سامانه گزارشگیر 👋',
|
|
intro: 'برای آموزش این صفحه با ما همراه باشید.'
|
|
},
|
|
{
|
|
title: 'عملیات مربوط به مرخصی',
|
|
element: document.querySelector('#btnCardLeaveIntro'),
|
|
intro: 'برای عملیات دسترسی سریع دکمههای مربوط به مرخصی مانند ثبت مرخصی و لیست مرخصی میتوانید از این روش استفاده نمایید.'
|
|
}
|
|
]
|
|
}).start();
|
|
localStorage.setItem('hasCompletedDashboardTour', true);
|
|
}
|
|
</script>
|
|
} |