Files
backend/resources/views/rmto-preview/pages/danger-point-preview.blade.php
2024-02-01 09:53:53 +00:00

1698 lines
42 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PDF</title>
<link rel="stylesheet" href="/var/www/rms/public/dist/css/fontiran.css" />
<link rel="stylesheet" href="/var/www/rms/public/plugins/fontawesome-free/css/all.min.css">
<style>
td.details-control {
background: url("../dist/images/details_open.png") no-repeat center center;
cursor: pointer;
}
tr.shown td.details-control {
background: url("../dist/images/details_close.png") no-repeat center center;
cursor: pointer;
}
.card-header {
padding: 1.75rem 1.25rem 0.2rem;
}
.card-title {
float: right;
font-size: 12px;
font-weight: bold;
}
th {
font-size: 13px;
}
td {
font-size: 14px;
}
button.btn {
font-size: 12px;
}
i {
font-size: 10px;
}
.keshvar-main {
margin-top: 95px;
padding: 0 10px;
}
.danger-main {
margin-top: 94px;
padding: 0 10px;
}
.ostan-main {
margin-top: 36px;
padding: 0 10px
}
.riz-main {
margin-top: 36px;
padding: 0 10px
}
.find-date {
margin-top: 4px;
}
button.btn {
font-size: 12px;
}
label {
font-size: 11px;
font-weight: bold !important;
color: rgba(172, 146, 146, 0.5);
}
.form-control {
font-size: 13px;
}
.required-label::after {
content: "*";
position: relative;
right: 2px;
color: #dc3545;
}
div.dataTables_wrapper div.dataTables_filter {
text-align: left;
}
div.dt-buttons {
position: relative;
float: right;
}
button.dt-button,
div.dt-button,
a.dt-button {
background-image: linear-gradient(to bottom, #007e49 0%, #007e49 100%);
color: white;
}
button.dt-button:hover:not(.disabled),
div.dt-button:hover:not(.disabled),
a.dt-button:hover:not(.disabled) {
background-image: linear-gradient(to bottom, #007e49 0%, #007e49 100%);
color: white;
}
button.dt-button:active:not(.disabled),
button.dt-button.active:not(.disabled),
div.dt-button:active:not(.disabled),
div.dt-button.active:not(.disabled),
a.dt-button:active:not(.disabled),
a.dt-button.active:not(.disabled) {
background-image: linear-gradient(to bottom, #007e49 0%, #007e49 100%);
color: white;
}
div.dataTables_wrapper div.dataTables_processing {
top: 66%;
}
.leaflet-div-icon {
background: transparent !important;
border: none !important;
}
.pin-marker {
position: relative;
width: 45px;
height: 71px;
font-family: 'IRANSans';
}
.pin-marker.pin-move>.map-pin-marker {
transform: scale(.75);
}
.pin-marker.pin-set>.map-pin-marker>.pin-title-circle {
background-color: #009900;
}
.pin-marker.pin-move>.pin-main-shadow {
transform: scale(1.35);
}
.map-pin-marker {
position: relative;
width: 45px;
height: 65px;
z-index: 10;
transform-origin: 22.5px 0;
transition: transform .2s;
}
.map-pin-marker>.pin-main-circle {
position: absolute;
width: 45px;
height: 45px;
left: 0;
background-color: rgba(22, 67, 88, 1);
border-radius: 50%;
z-index: 12;
}
.map-pin-marker>.pin-white-circle {
position: absolute;
width: 39px;
height: 39px;
left: 3px;
top: 3px;
background-color: #ffffff;
border-radius: 50%;
z-index: 13;
}
.map-pin-marker>.pin-title-circle {
position: absolute;
width: 35px;
height: 35px;
left: 5px;
top: 5px;
background-color: rgba(22, 67, 88, 1);
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
z-index: 14;
transition: background-color .3s;
}
.map-pin-marker>.pin-title-circle>.title-circle-text {
line-height: 1;
font-size: 10px;
color: #ffffff;
font-weight: 600;
z-index: 15;
}
.map-pin-marker>.pin-main-line {
position: absolute;
width: 5px;
height: 25px;
z-index: 11;
background-color: #000000;
top: 40px;
left: 20px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
}
.pin-marker>.pin-main-shadow {
position: absolute;
width: 11px;
height: 11px;
left: 17px;
top: 58px;
background-color: rgba(0, 0, 0, .2);
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
z-index: 10;
transition: transform .2s;
}
.pin-marker>.pin-main-shadow>.shadow-dot {
position: relative;
width: 1px;
height: 1px;
left: 0;
top: 0;
background-color: #000000;
border-radius: 50%;
z-index: 10;
}
.map-latlng-input-row {
position: absolute;
bottom: -11px;
z-index: 1000;
width: 240px;
left: 5px;
}
.map-latlng-form {
margin-bottom: 0;
}
.map-latlng-input {
background-color: rgba(255, 255, 255, .8);
}
.map-latlng-label {
background-color: rgba(255, 255, 255, .8);
border-radius: 0.25rem;
padding: 3px 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
border: 1px solid #ced4da;
color: #000000;
border-bottom: 0;
margin: 0;
}
.map-latlng-first-input {
border-radius: 0;
font-size: 12px;
color: #009900;
}
.map-latlng-first-input::placeholder {
font-size: 10px;
}
.map-latlng-sec-input {
border-top-right-radius: 0;
border-top-left-radius: 0;
font-size: 12px;
color: #009900;
}
.map-latlng-sec-input::placeholder {
font-size: 10px;
}
.abrar-map-title {
position: absolute;
top: 5px;
right: 5px;
z-index: 2000;
padding: 4px 7px;
color: #000;
font-size: 13px;
font-weight: 500;
border-radius: .25rem;
background-color: rgba(255, 193, 7, 0.8);
}
.card-header {
padding: 0.75rem 1.25rem .2rem;
}
.headercolor {
background-color: #a6dcef;
border: 2px solid black;
}
.cardborder {
border: 2px solid black;
}
th {
font-size: 13px;
}
td {
font-size: 14px;
}
button.btn {
font-size: 12px;
}
i {
font-size: 10px;
}
label {
font-size: 11px;
font-weight: bold !important;
color: rgba(0, 0, 0, 0.5);
}
.icheck-primary label {
font-weight: 400 !important;
font-size: 11px;
}
.form-control {
font-size: 13px;
}
.required-label::after {
content: "*";
position: relative;
right: 2px;
color: #dc3545;
}
.card-body .radio-header {
font-size: 11px;
font-weight: bold;
color: rgba(0, 0, 0, 0.5);
display: inline-block;
margin-bottom: 0.5rem;
}
.abrar-project-slider .tooltip {
font-family: 'IRANSansFaNum' !important;
}
.abrar-project-slider .slider-selection,
.abrar-project-slider .slider-handle,
.abrar-project-slider .slider-tick.in-selection {
background: #007bff;
}
[class*=icheck-] {
margin-top: 15px !important;
margin-bottom: 15px !important;
}
.abrar-map-layout {
position: relative;
height: 256px;
}
.abrar-map-layout>#abrar-map,
.abrar-map-layout>#abrar-map-image,
.abrar-map-layout>#abrar-maptest,
.abrar-map-layout>#abrar-map-show {
height: 100%;
border: 1px solid #dee2e6;
border-radius: 0.25rem;
}
.abrar-map-layout>.pin-container {
position: absolute;
top: 34%;
right: 44%;
z-index: 1009;
}
.input-cord {
font-family: 'IRANSans' !important;
text-align: center !important;
direction: ltr !important;
}
.abrar-main {
margin-top: 95px;
padding: 0 10px
}
.card-footer {
text-align: left;
}
.map-btn {
border-radius: 0.25rem !important;
}
.is-invalid-input {
color: #dc3545 !important;
border-color: #dc3545;
}
.is-invalid-text {
color: #dc3545 !important;
}
.is-invalid-box {
border-color: #dc3545;
}
/* AliRad Code Start */
.menu_top {
z-index: 1000 !important;
}
.leaflet-div-icon {
background: transparent !important;
border: none !important;
}
.pin-marker {
position: relative;
width: 45px;
height: 71px;
font-family: 'IRANSans';
}
.pin-marker.pin-move>.map-pin-marker {
transform: scale(.75);
}
.pin-marker.pin-set>.map-pin-marker>.pin-title-circle {
background-color: #009900;
}
.pin-marker.pin-move>.pin-main-shadow {
transform: scale(1.35);
}
.map-pin-marker {
position: relative;
width: 45px;
height: 65px;
z-index: 10;
transform-origin: 22.5px 0;
transition: transform .2s;
}
.map-pin-marker>.pin-main-circle {
position: absolute;
width: 45px;
height: 45px;
left: 0;
background-color: rgba(22, 67, 88, 1);
border-radius: 50%;
z-index: 12;
}
.map-pin-marker>.pin-white-circle {
position: absolute;
width: 39px;
height: 39px;
left: 3px;
top: 3px;
background-color: #ffffff;
border-radius: 50%;
z-index: 13;
}
.map-pin-marker>.pin-title-circle {
position: absolute;
width: 35px;
height: 35px;
left: 5px;
top: 5px;
background-color: rgba(22, 67, 88, 1);
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
z-index: 14;
transition: background-color .3s;
}
.map-pin-marker>.pin-title-circle>.title-circle-text {
line-height: 1;
font-size: 10px;
color: #ffffff;
font-weight: 600;
z-index: 15;
}
.map-pin-marker>.pin-main-line {
position: absolute;
width: 5px;
height: 25px;
z-index: 11;
background-color: #000000;
top: 40px;
left: 20px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
}
.pin-marker>.pin-main-shadow {
position: absolute;
width: 11px;
height: 11px;
left: 17px;
top: 58px;
background-color: rgba(0, 0, 0, .2);
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
z-index: 10;
transition: transform .2s;
}
.pin-marker>.pin-main-shadow>.shadow-dot {
position: relative;
width: 1px;
height: 1px;
left: 0;
top: 0;
background-color: #000000;
border-radius: 50%;
z-index: 10;
}
.map-latlng-input-row {
position: absolute;
bottom: 8px;
z-index: 1000;
width: 240px;
left: 5px;
}
.map-latlng-form {
margin-bottom: 0;
}
.map-latlng-input {
background-color: rgba(255, 255, 255, .8);
}
.map-latlng-label {
background-color: rgba(255, 255, 255, .8);
border-radius: 0.25rem;
padding: 3px 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
border: 1px solid #ced4da;
color: #000000;
border-bottom: 0;
margin: 0;
}
.map-latlng-first-input {
border-radius: 0;
font-size: 12px;
color: #009900;
}
.map-latlng-first-input::placeholder {
font-size: 10px;
}
.map-latlng-sec-input {
border-top-right-radius: 0;
border-top-left-radius: 0;
font-size: 12px;
color: #009900;
}
.map-latlng-sec-input::placeholder {
font-size: 10px;
}
.abrar-map-title {
position: absolute;
top: 5px;
right: 5px;
z-index: 2000;
padding: 4px 7px;
color: #000;
font-size: 13px;
font-weight: 500;
border-radius: .25rem;
background-color: rgba(255, 193, 7, 0.8);
}
.starter-loader-container {
z-index: 3000 !important;
}
.font-check {
font-size: 12px;
white-space: nowrap;
}
.font-checksec {
font-size: 11px;
white-space: nowrap;
}
.labelheader {
font-weight: bold;
}
.leaflet-popup-content {
margin: 7px 7px !important;
width: 120px !important;
}
.popupContent-button {
flex-wrap: wrap !important;
}
.popupHeaderContent>.popUpBanner {
font-size: 10px !important;
}
.popupContent .popUpBox span {
font-size: 8px !important;
}
.popupContent-button>.popup-btn-edit-point {
font-size: 10px !important;
padding: 6px 15px !important;
}
.card-link {
font-size: 13px;
color: #c32323;
font-weight: 600;
}
.blink_me_imageupload {
animation: blinker 1s linear infinite;
}
@keyframes blinker {
50% {
opacity: 0;
}
}
.popUpBoxContent {
direction: ltr;
}
.abrar-map-layout-image {
height: 400px;
}
.popup-btn-edit-point-st {
background-color: #00b1cd !important;
}
.popup-btn-edit-point-st:hover {
background-color: #467279 !important;
}
.row_selected tr {
background-color: black !important;
/* Add !important to make sure override datables base styles */
}
#point-add {
font-size: 15px;
}
div.dataTables_wrapper div.dataTables_filter input {
margin-left: 16px;
display: inline-block;
width: auto;
}
.tablefontheader {
font-size: 12px;
}
table.table-bordered.dataTable tbody th,
table.table-bordered.dataTable tbody td {
border-bottom-width: 0;
font-size: 11px;
}
.headercolortable {
background-color: #a6dcef;
}
.inputNumberClass {
display: inline-block;
margin-bottom: 10px;
}
.inputNumberLabelClass {
font-size: smaller;
}
.dangersecond-main {
margin-top: 94px;
padding: 0 10px;
}
table.dataTable tbody tr.selected {
background-color: #99cc99;
}
.swal2-actions {
direction: ltr;
}
.table th,
.table td {
padding: 6px;
}
.div.dataTables_wrapper div.dataTables_length label {
float: left;
}
.dataTables_length {
float: left;
}
table.dataTable thead>tr>th.sorting_asc,
table.dataTable thead>tr>th.sorting_desc,
table.dataTable thead>tr>th.sorting,
table.dataTable thead>tr>td.sorting_asc,
table.dataTable thead>tr>td.sorting_desc,
table.dataTable thead>tr>td.sorting {
padding-right: 10px;
}
.table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc_disabled:before {
display: none;
}
.table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:after {
display: none;
}
div.dataTables_wrapper div.dataTables_info {
padding-top: 0.85em;
white-space: nowrap;
font-size: 12px;
}
.preview-template {
direction: rtl;
border-left: 2px solid black;
border-right: 2px solid black;
font-family: IRANSansFaNum, sans-serif;
}
.template-section {
border-top: 2px solid black;
border-bottom: 2px solid black;
}
.section-title {
font-size: 11px;
text-align: center;
background-color: lightgrey;
font-weight: 600;
padding: 10px 15px;
border-bottom: 2px solid black;
}
.section-table>table {
width: 100%;
}
.section-table>table,
th,
td {
border: 1px solid black;
border-collapse: collapse;
}
.section-table th {
text-align: center;
font-size: 8px;
font-weight: 600;
padding: 4px 5px;
}
.section-table th.sub-title {
text-align: center;
font-size: 8px;
font-weight: 500;
padding: 4px 5px;
}
.section-table td {
text-align: center;
padding: 4px 2px;
}
.section-table th.w-2 {
width: 3%;
}
.section-table th.w-3 {
width: 3%;
}
.section-table th.w-4 {
width: 4%;
}
.section-table th.w-5 {
width: 5%;
}
.section-table td.desc-data {
text-align: right;
font-size: 9px;
font-weight: 600;
white-space: normal;
padding: 6px 2px;
}
.template-details {
font-size: 11px;
border-top: 2px solid black;
text-align: left;
}
.template-details {
display: flex;
}
.details-icon,
.details-date {
width: 50%;
}
.details-icon {
text-align: right;
padding-right: 15px;
}
.details-icon>img {
width: 40px;
}
.details-date {
line-height: 49px;
font-size: 10px;
}
.desc-data-str {
font-size: 10px;
font-weight: 400;
overflow-wrap: anywhere;
word-wrap: break-word;
word-break: break-all;
}
.section-preview-1-data>td {
font-size: 10px;
font-weight: 400;
}
.section-preview-2-data>td {
font-size: 9px;
font-weight: 400;
}
.swal2-title {
font-size: 25px;
}
.swal2-content {
font-size: 15px;
}
.swal2-styled.swal2-confirm {
font-size: 13px;
}
.swal2-styled.swal2-cancel {
font-size: 13px;
}
.right50-container {
position: absolute;
top: 30px;
right: 40px;
z-index: 1000;
background-color: #ffffff;
width: 150px;
border-radius: 5px;
}
.remove-image-container1 {
display: flex;
flex-direction: row;
color: #c32323;
position: absolute;
top: 40px;
left: 10px;
font-weight: bold;
cursor: pointer;
font-size: 18px;
}
.remove-image-container2 {
display: flex;
flex-direction: row;
color: #c32323;
position: absolute;
top: 125px;
left: 10px;
font-weight: bold;
cursor: pointer;
font-size: 18px;
}
.dt-button.buttons-excel.buttons-html5 {
background: #28a745 !important;
font-size: 12px;
}
.not-valid {
color: #dc3545;
/* border: 1px solid #dc3545;
padding: 5px;
border-radius: 5px; */
}
.right50-container {
position: absolute;
top: 20px;
right: 180px;
z-index: 1000;
background-color: #ffffff;
width: 150px;
border-radius: 5px;
border: 2px solid #80A2D7;
height: 220px;
}
.left50-container {
position: absolute;
top: 20px;
left: 180px;
z-index: 1000;
background-color: #ffffff;
width: 150px;
border-radius: 5px;
border: 2px solid #80A2D7;
height: 220px;
}
.right100-container {
position: absolute;
top: 20px;
right: 20px;
z-index: 1000;
background-color: #ffffff;
width: 150px;
border-radius: 5px;
border: 2px solid #80A2D7;
height: 220px;
}
.left100-container {
position: absolute;
top: 20px;
left: 20px;
z-index: 1000;
background-color: #ffffff;
width: 150px;
border-radius: 5px;
border: 2px solid #80A2D7;
height: 220px;
}
.middle-image-container {
position: absolute;
top: 20px;
left: 480px;
z-index: 1000;
background-color: #ffffff;
width: 150px;
border-radius: 5px;
border: 2px solid #80d7c3;
height: 220px;
}
.remove-image-container501 {
display: flex;
flex-direction: row;
color: #c32323;
position: absolute;
top: 43px;
left: 14px;
font-weight: bold;
cursor: pointer;
font-size: 18px;
}
.remove-image-container502 {
display: flex;
flex-direction: row;
color: #c32323;
position: absolute;
top: 128px;
left: 14px;
font-weight: bold;
cursor: pointer;
font-size: 18px;
}
.remove-image-container503 {
display: flex;
flex-direction: row;
color: #c32323;
position: absolute;
top: 43px;
left: 14px;
font-weight: bold;
cursor: pointer;
font-size: 18px;
}
.remove-image-container504 {
display: flex;
flex-direction: row;
color: #c32323;
position: absolute;
top: 128px;
left: 14px;
font-weight: bold;
cursor: pointer;
font-size: 18px;
}
.remove-image-container1001 {
display: flex;
flex-direction: row;
color: #c32323;
position: absolute;
top: 43px;
left: 14px;
font-weight: bold;
cursor: pointer;
font-size: 18px;
}
.remove-image-container1002 {
display: flex;
flex-direction: row;
color: #c32323;
position: absolute;
top: 128px;
left: 14px;
font-weight: bold;
cursor: pointer;
font-size: 18px;
}
.remove-image-container1003 {
display: flex;
flex-direction: row;
color: #c32323;
position: absolute;
top: 43px;
left: 14px;
font-weight: bold;
cursor: pointer;
font-size: 18px;
}
.remove-image-container1004 {
display: flex;
flex-direction: row;
color: #c32323;
position: absolute;
top: 128px;
left: 14px;
font-weight: bold;
cursor: pointer;
font-size: 18px;
}
.remove-image-container1005 {
display: flex;
flex-direction: row;
color: #c32323;
position: absolute;
top: 76px;
left: 14px;
font-weight: bold;
cursor: pointer;
font-size: 18px;
}
.right50-image-1-container:hover {
background-color: #d8d8d8;
}
.right50-image-2-container:hover {
background-color: #e8e8e8;
}
.left50-image-1-container:hover {
background-color: #e8e8e8;
}
.left50-image-2-container:hover {
background-color: #e8e8e8;
}
.left100-image-1-container:hover {
background-color: #e8e8e8;
}
.left100-image-2-container:hover {
background-color: #e8e8e8;
}
.right100-image-1-container:hover {
background-color: #e8e8e8;
}
.right100-image-2-container:hover {
background-color: #e8e8e8;
}
.middle-image-inner-container:hover {
background-color: #e8e8e8;
}
.box-images {
max-height: 100%;
max-width: 100%;
width: auto;
height: auto !important;
}
.box-images-middle {
max-height: 100%;
max-width: 100%;
width: auto;
height: auto !important;
}
.file-input-modal {
background-color: #ffffff;
border: 1px solid #ced4da;
border-radius: 0.25rem;
box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
}
.file-input-modal-container {
width: 100%;
}
.file-input-modal {
justify-content: center;
font-size: 11px;
display: flex;
align-items: center;
width: 100%;
height: 150px;
cursor: pointer;
text-align: center;
border: 1px solid #ced4da;
border-radius: 0.25rem;
box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
}
.file-input {
display: none;
}
.zoomimage {
height: 100%;
width: 100%;
transition: transform .2s;
}
.slideroverlay {
display: none;
text-align: right;
direction: rtl;
position: fixed;
z-index: 100;
padding-top: 77px;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.4);
}
.slideroverlay>.upload-confirm {
z-index: 50;
display: block;
position: absolute;
background: transparent;
top: 0;
right: 0;
left: 0;
bottom: 0;
}
.slideroverlay>.modal-content {
background-color: #ffffff;
border-radius: 7px;
margin: auto;
padding: 20px 1.5% 1px 1.5%;
border: 1px solid #888;
width: max-content;
position: relative;
z-index: 51;
}
.slideroverlay>.modal-content>.close {
position: absolute;
text-align: center;
top: 3px;
right: 5px;
color: #979797;
}
.slideroverlay>.modal-content>.close::before {
content: "\00d7";
font-size: 22px;
position: absolute;
}
.slideroverlay>.modal-content>.close:hover,
.slideroverlay>.modal-content>.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
.slideroverlay>.modal-content>.slideshow .mySlides {
display: none;
}
.slideroverlay>.modal-content>.slideshow img {
/* vertical-align: middle;
width: 100%;
height: auto;
opacity: 1;
max-height: 500px;
max-width: 100%; */
vertical-align: middle;
width: auto;
height: auto;
opacity: 1;
max-height: 500px;
max-width: 100%;
margin: 0 auto;
display: flex;
}
.slideroverlay>.modal-content>.slideshow .slideshow-container {
max-width: 100%;
position: relative;
margin: auto;
}
.slideroverlay>.modal-content>.slideshow .prev,
.slideroverlay>.modal-content>.slideshow .next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
padding: 16px;
margin-top: -22px;
color: white;
font-weight: bold;
font-size: 20px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
background-color: rgba(0, 0, 0, 0.4);
}
.slideroverlay>.modal-content>.slideshow .next {
right: 0;
border-radius: 0px 3px 3px 0;
}
.slideroverlay>.modal-content>.slideshow .prev {
left: 0;
border-radius: 3px 0 0 3px;
}
.slideroverlay>.modal-content>.slideshow .prev:hover,
.slideroverlay>.modal-content>.slideshow .next:hover {
background-color: rgba(0, 0, 0, 0.8);
}
.slideroverlay>.modal-content>.slideshow .text {
color: #f2f2f2;
background-color: rgba(0, 0, 0, 0.8);
padding: 10px 15px;
position: absolute;
bottom: -3px;
width: 100%;
text-align: center;
font-family: "IRANSans";
font-size: 12px;
}
.slideroverlay>.modal-content>.slideshow .numbertext {
color: #f2f2f2;
font-size: 14px;
padding: 8px 12px;
position: absolute;
background-color: rgba(0, 0, 0, 0.8);
top: 0;
border-radius: 3px;
}
.slideroverlay>.modal-content>.slideshow #slideshow-dot {
margin-top: -9px;
margin-bottom: 10px;
direction: ltr;
}
.slideroverlay>.modal-content>.slideshow .dot {
cursor: pointer;
height: 12px;
width: 12px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}
.slideroverlay>.modal-content>.slideshow .active,
.slideroverlay>.modal-content>.slideshow .dot:hover {
background-color: #717171;
}
.slideroverlay>.modal-content>.slideshow .fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}
ul.pagination {
font-size: 11px;
}
.tooltipstart {
position: relative;
/* display: inline-block; */
}
.tooltipstart .tooltiptextstart {
visibility: hidden;
width: 220px;
background-color: black;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 0;
position: absolute;
z-index: 1;
top: 35px;
left: 100%;
font-size: 10px;
white-space: nowrap;
}
.tooltipstart .tooltiptextstart::after {
content: "";
position: absolute;
top: 50%;
right: 100%;
margin-top: -5px;
border-width: 5px;
border-style: solid;
border-color: transparent black transparent transparent;
}
.tooltipstart:hover .tooltiptextstart {
visibility: visible;
}
</style>
</head>
<body>
<div class="preview-template" style="width: 100%;">
<!-- <div class="template-details">
<div class="details-icon" style="width: 25%;">
<img src="/var/www/rms/public/dist/images/icons/alertInstallAppLogo.png" alt="">
</div>
<div class="details-date" style="width: 75%;text-align: left; padding-left: 15px;">
<span>تاریخ ایجاد: {{ $dangerPointArray['created_at'] }}</span>
</div>
</div> -->
<div class="template-section" style="overflow: hidden;">
<div class="section-title">شناسنامه نقطه دارای تصادف</div>
<div class="section-table">
<table>
<tr>
<th>استان/اداره کل:</th>
<th>نام محور:</th>
<th>نوع راه:</th>
<th>ابتدای محور:</th>
<th>انتهای محور:</th>
<th>فاصله از ابتدای محور (km):</th>
<th>نام محلی نقطه:</th>
<th>موقعیت جغرافیایی نقطه:</th>
</tr>
<tr class="section-preview-1-data" style="font-size: 10px; font-weight: 400;">
<td> {{ $dangerPointArray['province_name'] }} </td>
<td> {{ $dangerPointArray['axis_name'] }} </td>
<td> {{ $dangerPointArray['axis_type'] }} </td>
<td> {{ $dangerPointArray['axis_start'] }} </td>
<td> {{ $dangerPointArray['axis_end'] }} </td>
<td> {{ $dangerPointArray['distance_axis_start'] }} </td>
<td> {{ $dangerPointArray['local_name'] }} </td>
<td> x: {{ $dangerPointArray['lat_lng'][0] }}, y: {{ $dangerPointArray['lat_lng'][1] }} </td>
</tr>
</table>
</div>
</div>
<div class="template-section" style="margin: 10px 0;overflow: hidden;">
<div class="section-title">تاریخچه تصادفات نقطه دارای تصادف (بر مبنای
اطلاعات کروکی
تصادفات)
</div>
<div class="section-table">
<table>
<tr>
<th rowspan="2" style="font-size: 9px;width: 3%;">ردیف</th>
<th rowspan="2">شماره سریال کروکی پلیس راه</th>
<th colspan="3">تاریخ تصادف</th>
<th rowspan="2">روز هفته</th>
<th rowspan="2" style="width: 6%;">ساعت وقوع
</th>
<th colspan="2">جهت حرکت خودروی عامل تصادف</th>
<th rowspan="2" style="width: 12%;">نوع برخورد</th>
<th colspan="6">تعداد عوامل درگیر در تصادف</th>
<th colspan="2">نوع تصادف</th>
<th colspan="2">پیامد تصادف در سر صحنه</th>
</tr>
<tr id="section-preview-2-row">
<th class="sub-title w-2">روز</th>
<th class="sub-title w-2">ماه</th>
<th class="sub-title w-2">سال</th>
<th class="sub-title w-4">رفت</th>
<th class="sub-title w-4">برگشت</th>
<th class="sub-title w-4">دوچرخه و موتورسیکلت</th>
<th class="sub-title w-4">عابر</th>
<th class="sub-title w-4">حیوان</th>
<th class="sub-title w-4">شی ثابت</th>
<th class="sub-title w-5">وسیله نقلیه سبک</th>
<th class="sub-title w-5">وسیله نقلیه سنگین</th>
<th class="sub-title w-2">جرحی</th>
<th class="sub-title w-2">فوتی</th>
<th class="sub-title w-4">تعداد متوفی</th>
<th class="sub-title w-5">تعداد مجروح شدید</th>
</tr>
@forelse ($dangerPointArray['danger_point_accidents'] as $accident)
<tr class="section-preview-2-data" style="font-size: 10px; font-weight: 400;">
<td> {{ $loop->iteration }} </td>
<td> {{ $accident['serial_number'] }} </td>
<td> {{ $accident['accident_day'] }} </td>
<td> {{ $accident['accident_month'] }} </td>
<td> {{ $accident['accident_year'] }} </td>
<td> {{ $accident['day'] }} </td>
<td> {{ $accident['time'] }} </td>
<td> @if ($accident['accident_direction'] === 1)
<i class="fa fa-check" style="font-size: 7px;line-height: 15px;" aria-hidden="true"></i>
@endif </td>
<td> @if ($accident['accident_direction'] === 2)
<i class="fa fa-check" style="font-size: 7px;line-height: 15px;" aria-hidden="true"></i>
@endif </td>
<td> {{ $accident['collision_type'] }} </td>
<td> {{ $accident['accident_factors']['bi'] }} </td>
<td> {{ $accident['accident_factors']['pa'] }} </td>
<td> {{ $accident['accident_factors']['an'] }} </td>
<td> {{ $accident['accident_factors']['ob'] }} </td>
<td> {{ $accident['accident_factors']['li'] }} </td>
<td> {{ $accident['accident_factors']['he'] }} </td>
<td> @if ($accident['accident_type'] === 1)
<i class="fa fa-check" style="font-size: 7px;line-height: 15px;" aria-hidden="true"></i>
@endif </td>
<td> @if ($accident['accident_type'] === 2)
<i class="fa fa-check" style="font-size: 7px;line-height: 15px;" aria-hidden="true"></i>
@endif </td>
<td> {{ $accident['accident_result']['de'] }} </td>
<td> {{ $accident['accident_result']['in'] }} </td>
</tr>
@empty
<tr>
<td colspan="21"> - </td>
</tr>
@endforelse
<tr style="border-top: 2px solid black;">
<td colspan="15" style="font-size: 9px;
text-align: right;
font-weight: 600;"> آیا در لیست نقاط پرتصادف مصوب شناسایی
شده در سال ۹۵ قرار
دارد؟ <span style="font-size: 10px; font-weight: 400;"> {{ $dangerPointArray['accident_251'] }} </span>
@if ($dangerPointArray['accident_251'] == 'بله')
<span style="margin-right: 50px;">کد نقطه: </span>
<span style="font-size: 10px; font-weight: 400;">
{{ $dangerPointArray['accident_251_code'] }}</span>
@endif</td>
<td style="text-align: center;
font-size: 9px;
font-weight: 600;
padding: 6px 8px;"> مجموع </td>
<td style="font-size: 9px; font-weight: 400;"> {{ $dangerPointArray['danger_accidents_sum'][0] }} </td>
<td style="font-size: 9px; font-weight: 400;"> {{ $dangerPointArray['danger_accidents_sum'][1] }} </td>
<td style="font-size: 9px; font-weight: 400;"> {{ $dangerPointArray['danger_accidents_sum'][3] }} </td>
<td style="font-size: 9px; font-weight: 400;"> {{ $dangerPointArray['danger_accidents_sum'][4] }} </td>
</tr>
</table>
</div>
</div>
<div class="template-section" style="overflow: hidden;">
<div class="section-title">ارزیابی گروه/تیم استانی پس از بررسی سوابق و
بازدید میدانی
نقطه دارای
تصادف</div>
<div class="section-table">
<table>
<tr>
<td class="desc-data"> سرعت مجاز اعلامی (علائم): <span id="preview-template-danger-speed-limit"
class="desc-data-str"> {{ $dangerPointArray['speed_limit'] }} </span>
</td>
<td class="desc-data"> آیا امکان تصادف رخ به رخ وجود دارد؟ <span
id="preview-template-danger-accident-possibility" class="desc-data-str">
{{ $dangerPointArray['accident_possibility'] }}
</span>
</td>
<td rowspan="2" class="desc-data" style="width: 65%;"> توصیف
هندسی نقطه: <span id="preview-template-danger-geometric-desc" class="desc-data-str">
{{ $dangerPointArray['geometric_desc'] }}
</span>
</td>
</tr>
<tr>
<td class="desc-data"> سرعت متوسط تردد (۸۵٪): <span id="preview-template-danger-speed-average"
class="desc-data-str"> {{ $dangerPointArray['speed_average'] }} </span></td>
<td class="desc-data"> آیا راه دارای حفاظ/جداکننده/فضای
میانی است؟ <span id="preview-template-danger-road-guard" class="desc-data-str">
{{ $dangerPointArray['road_guard'] }}
</span></td>
</tr>
<tr>
<td colspan="2" class="desc-data"> ریشه و عامل مشترک
شکل‌گیری اکثر تصادفات در این
نقطه:
@if ($dangerPointArray['accident_cause'])
<div class="desc-data-str">{{ $dangerPointArray['accident_cause'] }}</div>
@endif</td>
</td>
<td class="desc-data"> پیشنهاد اقدامات اصلاحی کم هزینه و
زودبازده جهت رفع عوامل
موثر در
شکل‌گیری تصادفات در
این نقطه:
@if ($dangerPointArray['accident_cause_suggest'])
<div class="desc-data-str">{{ $dangerPointArray['accident_cause_suggest'] }}</div>
@endif</td>
</td>
</tr>
<tr>
<td colspan="2" class="desc-data"> علت افزایش شدت تصادفات و
عامل مشارکتی راه:
@if ($dangerPointArray['accident_severity'])
<div class="desc-data-str">{{ $dangerPointArray['accident_severity'] }}</div>
@endif
</td>
<td class="desc-data"> پیشنهاد اقدامات اصلاحی کم هزینه و زود
بازده جهت رفع عوامل
موثر در
شدت تصادفات در این
نقطه:
@if ($dangerPointArray['accident_severity_suggest'])
<div class="desc-data-str">{{ $dangerPointArray['accident_severity_suggest'] }}</div>
@endif
</td>
</tr>
<tr>
<td colspan="3" class="desc-data"> آیا طرح اصلاحی در این
نقطه قبلا اجرا شده است؟
اگر پاسخ
بلی است آیا طرح
زودبازده بوده یا طرح اساسی؟ همچنین آخرین اقدامات اصلاحی
و ایمن سازی انجام شده را
تشریح
کنید.
@if ($dangerPointArray['correction_plan_done'])
<div class="desc-data-str">{{ $dangerPointArray['correction_plan_done'] }}</div>
@endif
</td>
</tr>
<tr>
<td colspan="3" class="desc-data"> آیا طرح اصلاحی این نقطه
هم اکنون در دست اجرا می
باشد؟
اگر پاسخ بلی است
آیا طرح زودبازده است یا طرح اساسی؟
@if ($dangerPointArray['correction_plan_doing'])
<div class="desc-data-str">{{ $dangerPointArray['correction_plan_doing'] }}</div>
@endif
</td>
</tr>
<tr>
<td colspan="3" class="desc-data"> توضیح مختصر طرح در دست
اجرا:
@if ($dangerPointArray['correction_plan_doing_desc'])
<div class="desc-data-str">{{ $dangerPointArray['correction_plan_doing_desc'] }}</div>
@endif
</td>
</tr>
<tr>
<td colspan="3" class="desc-data"> توصیه هایی برای تکمیل یا
افزایش اثر بخشی طرح
احتمالی در
دست اجرا:
@if ($dangerPointArray['correction_plan_doing_suggest'])
<div class="desc-data-str">{{ $dangerPointArray['correction_plan_doing_suggest'] }}</div>
@endif
</td>
</tr>
<tr style="border-top: 2px solid black;">
<td colspan="3" style="font-size: 10px;
font-weight: 500;
padding: 8px 10px;"> نام و نام خانوادگی و امضا </td>
</tr>
<tr>
<td colspan="2" style="width: 50%;font-size: 10px;
font-weight: 500;height: 65px;"> فرمانده پلیس راه استان
</td>
<td style="width: 50%;font-size: 10px;
font-weight: 500;height: 65px;"> مدیر کل راهداری و حمل و
نقل جاده‌ای استان </td>
</tr>
</table>
</div>
</div>
</div>
</body>
</html>