258 lines
15 KiB
Plaintext
258 lines
15 KiB
Plaintext
@page
|
|
@model ServiceHost.Areas.AdminNew.Pages.IndexModel
|
|
|
|
@{
|
|
<style>
|
|
/********************* Start Tile *********************/
|
|
.tiles {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
-moz-column-gap: 1rem;
|
|
column-gap: 1rem;
|
|
row-gap: 1rem;
|
|
margin-top: 1.25rem;
|
|
}
|
|
|
|
@@media (max-width: 700px) {
|
|
.tiles {
|
|
grid-template-columns: repeat(1, 1fr);
|
|
}
|
|
}
|
|
|
|
.tile {
|
|
padding: 1rem;
|
|
border-radius: 8px;
|
|
background-color: #e3ffa8;
|
|
color: #000000;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
position: relative;
|
|
transition: 0.25s ease;
|
|
}
|
|
|
|
.tile:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.tile:focus-within {
|
|
box-shadow: 0 0 0 2px #1f1f1f, 0 0 0 4px #e3ffa8;
|
|
box-shadow: 0 0 0 2px #1f1f1f, 0 0 0 4px #e3ffa8;
|
|
}
|
|
|
|
.tile:nth-child(2) {
|
|
background-color: #45ffbc;
|
|
}
|
|
|
|
.tile:nth-child(2):focus-within {
|
|
box-shadow: 0 0 0 2px #1f1f1f, 0 0 0 4px #45ffbc;
|
|
}
|
|
|
|
.tile:nth-child(3) {
|
|
background-color: #bdbbb7;
|
|
}
|
|
|
|
.tile:nth-child(3):focus-within {
|
|
box-shadow: 0 0 0 2px #1f1f1f, 0 0 0 4px #bdbbb7;
|
|
}
|
|
|
|
.tile a {
|
|
text-decoration: none;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.tile a .icon-button {
|
|
color: inherit;
|
|
border-color: inherit;
|
|
}
|
|
|
|
.tile a .icon-button:hover, .tile a .icon-button:focus {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.tile a .icon-button:hover i, .tile a .icon-button:focus i {
|
|
transform: none;
|
|
}
|
|
|
|
.tile a:focus {
|
|
box-shadow: none;
|
|
}
|
|
|
|
.tile a:after {
|
|
content: "";
|
|
display: block;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
.tile-header {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.tile-header svg {
|
|
width: 70px;
|
|
}
|
|
|
|
.tile-header h3 {
|
|
display: flex;
|
|
flex-direction: column;
|
|
line-height: 1.375;
|
|
margin-left: 0.5rem;
|
|
}
|
|
|
|
.tile-header h3 span:first-child {
|
|
font-weight: 600;
|
|
font-size: 25px;
|
|
color: #212121;
|
|
}
|
|
|
|
.tile-header h3 span:last-child {
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
color: #334155;
|
|
}
|
|
/********************* End Tile *********************/
|
|
|
|
|
|
/********************* Start List Card *********************/
|
|
.list-titles {
|
|
margin-top: 3px;
|
|
margin-right: 17px;
|
|
}
|
|
|
|
.list-main {
|
|
background: linear-gradient(270deg, rgba(255, 255, 255, 0.28), rgb(42, 46, 50) 52%);
|
|
padding: 1px;
|
|
border-radius: 18px;
|
|
margin-top: 17px;
|
|
width: 380px;
|
|
animation-name: Stocks;
|
|
}
|
|
|
|
.sub-list {
|
|
display: flex;
|
|
background: rgb(42, 46, 50);
|
|
border-radius: 18px;
|
|
padding: 16px;
|
|
color: white;
|
|
position: relative;
|
|
}
|
|
/********************* End List *********************/
|
|
</style>
|
|
|
|
}
|
|
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<div class="tiles">
|
|
<article class="tile">
|
|
<div class="tile-header">
|
|
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M8.5 9.5H7.69294C7.25267 9.5 7.03254 9.5 6.82538 9.54973C6.64172 9.59383 6.46614 9.66656 6.30509 9.76525C6.12344 9.87656 5.96778 10.0322 5.65647 10.3435L4.34353 11.6565C4.03222 11.9678 3.87656 12.1234 3.76525 12.3051C3.66656 12.4661 3.59383 12.6417 3.54973 12.8254C3.5 13.0325 3.5 13.2527 3.5 13.6929V17.62C3.5 18.6281 3.5 19.1321 3.69619 19.5172C3.86876 19.8559 4.14413 20.1312 4.48282 20.3038C4.86786 20.5 5.37191 20.5 6.38 20.5H17.62C18.6281 20.5 19.1321 20.5 19.5172 20.3038C19.8559 20.1312 20.1312 19.8559 20.3038 19.5172C20.5 19.1321 20.5 18.6281 20.5 17.62V13.6929C20.5 13.2527 20.5 13.0325 20.4503 12.8254C20.4062 12.6417 20.3334 12.4661 20.2348 12.3051C20.1234 12.1234 19.9678 11.9678 19.6565 11.6565L18.3435 10.3435C18.0322 10.0322 17.8766 9.87656 17.6949 9.76525C17.5339 9.66656 17.3583 9.59383 17.1746 9.54973C16.9675 9.5 16.7473 9.5 16.3071 9.5H15.5" stroke="#222222" />
|
|
<path d="M20.5 14.5H17.9415C17.2458 14.5 16.8979 14.5 16.636 14.6888C16.3742 14.8775 16.2642 15.2075 16.0442 15.8675L15.9558 16.1325C15.7358 16.7925 15.6258 17.1225 15.364 17.3112C15.1021 17.5 14.7542 17.5 14.0585 17.5H9.94152C9.2458 17.5 8.89794 17.5 8.63605 17.3112C8.37416 17.1225 8.26416 16.7925 8.04415 16.1325L7.95585 15.8675C7.73584 15.2075 7.62584 14.8775 7.36395 14.6888C7.10206 14.5 6.7542 14.5 6.05848 14.5H3.5" stroke="#222222" />
|
|
<circle cx="12" cy="8" r="3.5" stroke="#222222" />
|
|
</svg>
|
|
<h3>
|
|
<span>کارگاه</span>
|
|
<span>لیست کارگاه ، ثبت و ویرایش کارگاه</span>
|
|
</h3>
|
|
</div>
|
|
<a asp-area="Admin" asp-page="/Company/Workshops/Index">
|
|
<span>رفتن به صفحه کارگاه</span>
|
|
<span class="icon-button">
|
|
<svg width="9" height="14" viewBox="0 0 9 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M8 1L2 7L8 13" stroke="#33363F" stroke-width="2" stroke-linecap="round" />
|
|
</svg>
|
|
</span>
|
|
</a>
|
|
</article>
|
|
<article class="tile">
|
|
<div class="tile-header">
|
|
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M20.5 15.5H17.9415C17.2458 15.5 16.8979 15.5 16.636 15.6888C16.3742 15.8775 16.2642 16.2075 16.0442 16.8675L15.9558 17.1325C15.7358 17.7925 15.6258 18.1225 15.364 18.3112C15.1021 18.5 14.7542 18.5 14.0585 18.5H9.94152C9.2458 18.5 8.89794 18.5 8.63605 18.3112C8.37416 18.1225 8.26416 17.7925 8.04415 17.1325L7.95585 16.8675C7.73584 16.2075 7.62584 15.8775 7.36395 15.6888C7.10206 15.5 6.7542 15.5 6.05848 15.5H3.5M16.1667 16.5H7.83333" stroke="#222222" />
|
|
<path d="M20.5 11.5H17.9415C17.2458 11.5 16.8979 11.5 16.636 11.6888C16.3742 11.8775 16.2642 12.2075 16.0442 12.8675L15.9558 13.1325C15.7358 13.7925 15.6258 14.1225 15.364 14.3112C15.1021 14.5 14.7542 14.5 14.0585 14.5H9.94152C9.2458 14.5 8.89794 14.5 8.63605 14.3112C8.37416 14.1225 8.26416 13.7925 8.04415 13.1325L7.95585 12.8675C7.73584 12.2075 7.62584 11.8775 7.36395 11.6888C7.10206 11.5 6.7542 11.5 6.05848 11.5H3.5M16.1667 12.5H7.83333" stroke="#222222" />
|
|
<path d="M17.5 12V5.66274C17.5 5.41815 17.5 5.29586 17.4724 5.18077C17.4479 5.07873 17.4075 4.98119 17.3526 4.89172C17.2908 4.7908 17.2043 4.70432 17.0314 4.53137L14.9686 2.46863C14.7957 2.29568 14.7092 2.2092 14.6083 2.14736C14.5188 2.09253 14.4213 2.05213 14.3192 2.02763C14.2041 2 14.0818 2 13.8373 2H8.9C8.05992 2 7.63988 2 7.31901 2.16349C7.03677 2.3073 6.8073 2.53677 6.66349 2.81901C6.5 3.13988 6.5 3.55992 6.5 4.4V12" stroke="#222222" />
|
|
<path d="M13.5 2L13.5 4.4C13.5 4.96005 13.5 5.24008 13.609 5.45399C13.7049 5.64215 13.8578 5.79513 14.046 5.89101C14.2599 6 14.5399 6 15.1 6L17.5 6" stroke="#222222" />
|
|
<path d="M6.5 6.5L4.34353 8.65647C4.03222 8.96778 3.87656 9.12344 3.76525 9.30509C3.66656 9.46614 3.59383 9.64172 3.54973 9.82538C3.5 10.0325 3.5 10.2527 3.5 10.6929V18.62C3.5 19.6281 3.5 20.1321 3.69619 20.5172C3.86876 20.8559 4.14413 21.1312 4.48282 21.3038C4.86786 21.5 5.37191 21.5 6.38 21.5H17.62C18.6281 21.5 19.1321 21.5 19.5172 21.3038C19.8559 21.1312 20.1312 20.8559 20.3038 20.5172C20.5 20.1321 20.5 19.6281 20.5 18.62V10.6929C20.5 10.2527 20.5 10.0325 20.4503 9.82538C20.4062 9.64172 20.3334 9.46614 20.2348 9.30509C20.1234 9.12344 19.9678 8.96778 19.6565 8.65647L17.5 6.5" stroke="#222222" />
|
|
</svg>
|
|
<h3>
|
|
<span>قرارداد</span>
|
|
<span>لیست قرارداد ، ثبت و ویرایش قرارداد</span>
|
|
</h3>
|
|
</div>
|
|
<a asp-area="Admin" asp-page="/Company/Contracts/Index">
|
|
<span>رفتن به صفحه قرارداد</span>
|
|
<span class="icon-button">
|
|
<svg width="9" height="14" viewBox="0 0 9 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M8 1L2 7L8 13" stroke="#33363F" stroke-width="2" stroke-linecap="round" />
|
|
</svg>
|
|
</span>
|
|
</a>
|
|
</article>
|
|
<article class="tile">
|
|
<div class="tile-header">
|
|
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M18 2.5V2.5C18.6514 2.5 18.977 2.5 19.2413 2.58331C19.8014 2.75991 20.2401 3.19863 20.4167 3.75873C20.5 4.02295 20.5 4.34864 20.5 5V16.62C20.5 17.6281 20.5 18.1321 20.3038 18.5172C20.1312 18.8559 19.8559 19.1312 19.5172 19.3038C19.1321 19.5 18.6281 19.5 17.62 19.5H6.38C5.37191 19.5 4.86786 19.5 4.48282 19.3038C4.14413 19.1312 3.86876 18.8559 3.69619 18.5172C3.5 18.1321 3.5 17.6281 3.5 16.62V5C3.5 4.34864 3.5 4.02295 3.58331 3.75873C3.75991 3.19863 4.19863 2.75991 4.75873 2.58331C5.02295 2.5 5.34864 2.5 6 2.5V2.5" stroke="#222222" />
|
|
<path d="M20.5 12.5H17.9415C17.2458 12.5 16.8979 12.5 16.636 12.6888C16.3742 12.8775 16.2642 13.2075 16.0442 13.8675L15.9558 14.1325C15.7358 14.7925 15.6258 15.1225 15.364 15.3112C15.1021 15.5 14.7542 15.5 14.0585 15.5H9.94152C9.2458 15.5 8.89794 15.5 8.63605 15.3112C8.37416 15.1225 8.26416 14.7925 8.04415 14.1325L7.95585 13.8675C7.73584 13.2075 7.62584 12.8775 7.36395 12.6888C7.10206 12.5 6.7542 12.5 6.05848 12.5H3.5M16.1667 13.5H7.83333" stroke="#222222" />
|
|
<path d="M20.5 7.5H17.9415C17.2458 7.5 16.8979 7.5 16.636 7.68876C16.3742 7.87752 16.2642 8.20753 16.0442 8.86754L15.9558 9.13246C15.7358 9.79247 15.6258 10.1225 15.364 10.3112C15.1021 10.5 14.7542 10.5 14.0585 10.5H9.94152C9.2458 10.5 8.89794 10.5 8.63605 10.3112C8.37416 10.1225 8.26416 9.79247 8.04415 9.13246L7.95585 8.86754C7.73584 8.20753 7.62584 7.87752 7.36395 7.68876C7.10206 7.5 6.7542 7.5 6.05848 7.5H3.5M16.1667 8.5H7.83333" stroke="#222222" />
|
|
<path d="M18.5 2.5H17.9415C17.2458 2.5 16.8979 2.5 16.636 2.68876C16.3742 2.87752 16.2642 3.20753 16.0442 3.86754L15.9558 4.13246C15.7358 4.79247 15.6258 5.12248 15.364 5.31124C15.1021 5.5 14.7542 5.5 14.0585 5.5H9.94152C9.2458 5.5 8.89794 5.5 8.63605 5.31124C8.37416 5.12248 8.26416 4.79247 8.04415 4.13246L7.95585 3.86754C7.73584 3.20753 7.62584 2.87752 7.36395 2.68876C7.10206 2.5 6.7542 2.5 6.05848 2.5H5.5M16.1667 3.5H7.83333" stroke="#222222" />
|
|
</svg>
|
|
<h3>
|
|
<span>فیش حقوقی</span>
|
|
<span>لیست فیش حقوقی ، ثبت و ویرایش فیش حقوقی</span>
|
|
</h3>
|
|
</div>
|
|
<a asp-area="Admin" asp-page="/Company/Checkouts/Index">
|
|
<span>رفتن به صفحه فیش حقوقی</span>
|
|
<span class="icon-button">
|
|
<svg width="9" height="14" viewBox="0 0 9 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M8 1L2 7L8 13" stroke="#33363F" stroke-width="2" stroke-linecap="round" />
|
|
</svg>
|
|
</span>
|
|
</a>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
|
|
@if (@Model.DbBackupList.Count > 0)
|
|
{
|
|
<div class="col-4 mt-4" permission="2">
|
|
<div class="list-card">
|
|
<div class="title-element">لیست بکاپ های دیتابیس</div>
|
|
@foreach (var item in @Model.DbBackupList)
|
|
{
|
|
<div class="list-main" onclick="window.location.href='@Url.Page("./Index", "DownloadFile", new { path = @item.FullPath, fileName = @item.FileName })'">
|
|
<div class="sub-list">
|
|
<div class="list-titles">@item.FileName</div>
|
|
</div>
|
|
</div>
|
|
}
|
|
</div>
|
|
</div>
|
|
}
|
|
|
|
@if (@Model.InsuranceBackupList.Count > 0)
|
|
{
|
|
<div class="col-4 mt-4" permission="2">
|
|
<div class="list-card">
|
|
<div class="title-element">لیست بکاپ های بیمه</div>
|
|
@foreach (var item in @Model.InsuranceBackupList)
|
|
{
|
|
<div class="list-main" onclick="window.location.href='@Url.Page("./Index", "DownloadFile", new { path = @item.FullPath, fileName = @item.FileName })'">
|
|
<div class="sub-list">
|
|
<div class="list-titles">@item.FileName</div>
|
|
</div>
|
|
</div>
|
|
}
|
|
</div>
|
|
</div>
|
|
}
|
|
|
|
</div> |