PATH:
home
/
rwabteecom
/
project_11
/
storage
/
framework
/
views
/
Editing: b0d8a0e824fd98af05a9493cd16f1c83.php
<?php $__env->startSection('body'); ?> <div class="links-page pt-4"> <div class="container"> <div class="row"> <div class="col-12 col-lg-7"> <?php echo $__env->make('dashboard.partials.intro-steps', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <div class="links-area-header my-4 d-flex align-items-center justify-content-between px-2 px-md-4 py-3 flex-column flex-md-row sticky-top"> <h5 class="mb-md-0 d-none d-md-block"> <?php echo e(__('Links')); ?> </h5> <div class="d-flex align-items-center"> <button class="me-3" id="AddLink"> <svg width="16" height="16" class="me-2" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M8 1V15M1 8H15" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> </svg> <?php echo e(__('Add Link')); ?> </button> <div class="dropdown links-explor-menu"> <button class="dropdown-toggle" type="button" id="dropdownMenu2" data-mdb-dropdown-init aria-expanded="false"> <?php echo e(__('Explore Links')); ?> </button> <ul class="dropdown-menu" aria-labelledby="dropdownMenu2"> <li class="d-flex" id="AddDivider"> <span class="me-2"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M3 12H3.01M7.5 12H7.51M16.5 12H16.51M12 12H12.01M21 12H21.01M21 21V20.2C21 19.0799 21 18.5198 20.782 18.092C20.5903 17.7157 20.2843 17.4097 19.908 17.218C19.4802 17 18.9201 17 17.8 17H6.2C5.0799 17 4.51984 17 4.09202 17.218C3.7157 17.4097 3.40973 17.7157 3.21799 18.092C3 18.5198 3 19.0799 3 20.2V21M21 3V3.8C21 4.9201 21 5.48016 20.782 5.90798C20.5903 6.28431 20.2843 6.59027 19.908 6.78201C19.4802 7 18.9201 7 17.8 7H6.2C5.0799 7 4.51984 7 4.09202 6.78201C3.71569 6.59027 3.40973 6.28431 3.21799 5.90798C3 5.48016 3 4.92011 3 3.8V3" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> </svg> </span> <div> <h5 class="mb-0"> <?php echo e(__('Divider')); ?> </h5> <p class="mb-0"> <?php echo e(__('Split up your links and give some space')); ?> </p> </div> </li> <li class="d-flex" id="AddText"> <span class="me-2"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M14 11H8M10 15H8M16 7H8M20 6.8V17.2C20 18.8802 20 19.7202 19.673 20.362C19.3854 20.9265 18.9265 21.3854 18.362 21.673C17.7202 22 16.8802 22 15.2 22H8.8C7.11984 22 6.27976 22 5.63803 21.673C5.07354 21.3854 4.6146 20.9265 4.32698 20.362C4 19.7202 4 18.8802 4 17.2V6.8C4 5.11984 4 4.27976 4.32698 3.63803C4.6146 3.07354 5.07354 2.6146 5.63803 2.32698C6.27976 2 7.11984 2 8.8 2H15.2C16.8802 2 17.7202 2 18.362 2.32698C18.9265 2.6146 19.3854 3.07354 19.673 3.63803C20 4.27976 20 5.11984 20 6.8Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> </svg> </span> <div> <h5 class="mb-0"> <?php echo e(__('Text')); ?> </h5> <p class="mb-0"> <?php echo e(__('Add block of text')); ?> </p> </div> </li> <li class="d-flex" id="AddTitle"> <span class="me-2"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M5 5.5C5 6.33 5.67 7 6.5 7H10.5V17.5C10.5 18.33 11.17 19 12 19C12.83 19 13.5 18.33 13.5 17.5V7H17.5C18.33 7 19 6.33 19 5.5C19 4.67 18.33 4 17.5 4H6.5C5.67 4 5 4.67 5 5.5Z" fill="black" /> </svg> </span> <div> <h5 class="mb-0"> <?php echo e(__('Title')); ?> </h5> <p class="mb-0"> <?php echo e(__('Organize your links with a title')); ?> </p> </div> </li> </ul> </div> </div> </div> <div id="pined-con"> <?php $__currentLoopData = $links->where('pen', 1); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $link): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($link->link_type == 'link'): ?> <?php echo view('dashboard.sections.blade.link')->with(['data' => $link]); ?> <?php elseif($link->link_type == 'divider'): ?> <?php echo view('dashboard.sections.blade.divider')->with(['data' => $link]); ?> <?php elseif($link->link_type == 'title'): ?> <?php echo view('dashboard.sections.blade.title')->with(['data' => $link]); ?> <?php elseif($link->link_type == 'text'): ?> <?php echo view('dashboard.sections.blade.text')->with(['data' => $link]); ?> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <div class="task-List" id="sortable"> <?php $__currentLoopData = $links->where('pen', 0); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $link): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($link->link_type == 'link'): ?> <?php echo view('dashboard.sections.blade.link')->with(['data' => $link]); ?> <?php elseif($link->link_type == 'divider'): ?> <?php echo view('dashboard.sections.blade.divider')->with(['data' => $link]); ?> <?php elseif($link->link_type == 'title'): ?> <?php echo view('dashboard.sections.blade.title')->with(['data' => $link]); ?> <?php elseif($link->link_type == 'text'): ?> <?php echo view('dashboard.sections.blade.text')->with(['data' => $link]); ?> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <div class="col-12 col-lg-5 share-area d-flex flex-column align-items-center align-items-lg-end" id="preview_render"> <?php echo $__env->make('dashboard.partials.preview', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </div> </div> </div> </div> <!-- Modals --> <!-- Button trigger modal --> <!-- test div --> <!-- test div --> <!-- Modal --> <div class="modal fade deleteModal" id="deleteModal" aria-labelledby="exampleModalLabel" tabindex="-1" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered modal-dialog-scrollable"> <div class="modal-content"> <div class="modal-header justify-content-end"> <button type="button" data-mdb-ripple-init data-mdb-dismiss="modal" aria-label="Close" class="close-btn"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M17 7L7 17M7 7L17 17" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> </svg> </button> </div> <div class="modal-body text-center py-0"> <h4><?php echo e(__('Delete link ?')); ?></h4> <p class="mb-0 px-4"><?php echo e(__('This link and it’s data will be permanently deleted.')); ?></p> </div> <div class="modal-footer justify-content-center pb-4"> <button type="button" class="me-3 delete-link" id="confirm-delete"><?php echo e(__('Delete')); ?></button> <button type="button" class="" data-mdb-dismiss="modal"><?php echo e(__('Cancel')); ?></button> </div> <div class="loading-screen d-none"> <div class="spinner-border"></div> </div> </div> </div> </div> <?php echo $__env->make('dashboard.partials.qr-modal', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <div class="modal mediaModal show" id="mediaModal" data-mdb-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true"> <div class="modal-dialog "> <div class="modal-content"> <div class="modal-header "> <h5 class="modal-title mb-0"><?php echo e(__('Add Media')); ?></h5> <button type="button" id="closeMedia" data-mdb-dismiss="modal" aria-label="Close"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M17 7L7 17M7 7L17 17" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> </svg> </button> </div> <div class="modal-body d-flex p-0"> <div class="media-content"> <div class="tab-content" id="v-tabs-tabContent"> <div class="tab-pane fade show active media-cat-con" id="v-tabs-icon" role="tabpanel" aria-labelledby="v-tabs-icon-tab"> <div> <div class="Icons-area row row-cols-2 row-cols-sm-3 px-2 m-0 w-100 py-2"> </div> </div> </div> <div class="tab-pane fade" id="v-tabs-upload" role="tabpanel" aria-labelledby="v-tabs-upload-tab"> <div class="py-4 p-2 px-md-4"> <h5 class="mb-4"><?php echo e(__('Upload your image')); ?></h5> <div id="myDropzone" class="dropzone d-flex align-items-center justify-content-center mb-4 px-2 px-md-4"> <div class="text-center py-5 dz-default dz-message"> <span class="d-block mb-4"> <svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg"> <path opacity="0.25" d="M8.64111 10.6979C8.64111 6.30572 12.2017 2.74512 16.5939 2.74512H42.4601C44.5693 2.74512 46.5922 3.583 48.0836 5.07444L54.0287 11.0196C55.5201 12.511 56.358 14.5338 56.358 16.643V53.113C56.358 57.5052 52.7974 61.0658 48.4052 61.0658H16.5939C12.2017 61.0658 8.64111 57.5052 8.64111 53.113V10.6979Z" fill="#00A3FF" /> <path d="M40.4526 5.10924C40.4526 3.80357 41.5111 2.74512 42.8168 2.74512C44.6978 2.74512 46.5017 3.49235 47.8318 4.82242L54.281 11.2716C55.611 12.6016 56.3583 14.4056 56.3583 16.2866C56.3583 17.5923 55.2998 18.6508 53.9942 18.6508H43.1036C41.6395 18.6508 40.4526 17.4639 40.4526 15.9998V5.10924Z" fill="#00A3FF" /> <path d="M31.485 24.1538C31.1724 24.2832 30.8794 24.4749 30.6253 24.7291L22.6724 32.6819C21.6372 33.7172 21.6372 35.3956 22.6724 36.4309C23.7077 37.4662 25.3862 37.4662 26.4214 36.4309L29.8488 33.0035V45.1602C29.8488 46.6242 31.0357 47.8111 32.4998 47.8111C33.9638 47.8111 35.1507 46.6242 35.1507 45.1602V33.0035L38.5781 36.4309C39.6133 37.4662 41.2918 37.4662 42.3271 36.4309C43.3623 35.3956 43.3623 33.7172 42.3271 32.6819L34.3743 24.7291C33.5932 23.948 32.4459 23.7562 31.485 24.1538Z" fill="#00A3FF" /> </svg> </span> <h5><?php echo e(__('Upload your image')); ?></h5> <p class="mb-0"><?php echo e(__('Drag & Drop or choose files from computer')); ?></p> </div> </div> <form id="form_upload_image"> <?php echo csrf_field(); ?> <div id="image_upload"> </div> </form> </div> </div> <div class="tab-pane fade media-cat-con" id="v-tabs-liberary" role="tabpanel" aria-labelledby="v-tabs-liberary-tab"> <div> </div> </div> </div> </div> <div class="media-category"> <div class="nav flex-column nav-tabs text-center" id="v-tabs-tab" role="tablist" aria-orientation="vertical"> <a data-mdb-tab-init class="nav-link active" id="v-tabs-icon-tab" href="#v-tabs-icon" role="tab" aria-controls="v-tabs-icon" aria-selected="true"> <span class="mb-2"> <svg width="38" height="37" viewBox="0 0 38 37" fill="none" xmlns="http://www.w3.org/2000/svg"> <g clip-path="url(#clip0_192_561)"> <path d="M8.79893 15.8517C8.9047 15.9622 9.03174 16.0501 9.17239 16.1102C9.31304 16.1702 9.4644 16.2012 9.61733 16.2012C9.77027 16.2012 9.92162 16.1702 10.0623 16.1102C10.2029 16.0501 10.33 15.9622 10.4357 15.8517L17.4274 8.63746C19.4617 6.54176 19.3425 3.06579 17.0726 1.13051C15.0933 -0.556168 12.1484 -0.252652 10.3317 1.62192L9.61914 2.35469L8.90732 1.62192C7.09346 -0.252652 4.14502 -0.556168 2.16566 1.13051C-0.104199 3.06579 -0.219101 6.53959 1.80434 8.63746L8.79893 15.8517ZM19.1994 23.1137H15.7306L15.219 22.0847C15.0776 21.7071 14.8242 21.3818 14.4928 21.1522C14.1614 20.9226 13.7678 20.7996 13.3647 20.7998H8.1825C7.77934 20.7996 7.38574 20.9226 7.05436 21.1522C6.72298 21.3818 6.46962 21.7071 6.32816 22.0847L5.8223 23.1137H2.35355C2.09293 23.1136 1.83484 23.1649 1.59404 23.2646C1.35324 23.3643 1.13444 23.5104 0.95015 23.6947C0.765862 23.879 0.619694 24.0978 0.520002 24.3386C0.420309 24.5794 0.369046 24.8375 0.369141 25.0981L0.369141 35.0166C0.369046 35.277 0.420243 35.5349 0.519809 35.7755C0.619375 36.0161 0.765359 36.2348 0.949428 36.419C1.1335 36.6032 1.35204 36.7493 1.59259 36.8491C1.83314 36.9488 2.09098 37.0002 2.35139 37.0003H19.1994C19.7253 36.9999 20.2294 36.7907 20.6011 36.4188C20.9728 36.0468 21.1816 35.5424 21.1816 35.0166V25.0981C21.1818 24.5721 20.9731 24.0676 20.6014 23.6955C20.2297 23.3234 19.7254 23.1141 19.1994 23.1137ZM10.7754 33.8206C10.0322 33.8206 9.30563 33.6002 8.68766 33.1873C8.06969 32.7744 7.58804 32.1875 7.30362 31.5008C7.0192 30.8142 6.94479 30.0586 7.08978 29.3297C7.23478 28.6007 7.59268 27.9311 8.11822 27.4056C8.64375 26.8801 9.31333 26.5222 10.0423 26.3772C10.7712 26.2322 11.5268 26.3066 12.2134 26.591C12.9001 26.8754 13.487 27.3571 13.8999 27.975C14.3128 28.593 14.5332 29.3195 14.5332 30.0628C14.5332 31.0594 14.1373 32.0152 13.4326 32.7199C12.7278 33.4247 11.772 33.8206 10.7754 33.8206ZM36.4586 25.445H32.0807L33.6966 21.7775C33.8484 21.297 33.4126 20.8229 32.8164 20.8229H27.3538C26.8986 20.8229 26.5112 21.1047 26.4505 21.4805L25.2365 29.2079C25.1642 29.6631 25.5891 30.0671 26.1398 30.0671H30.6427L28.8938 36.0652C28.7572 36.5457 29.1973 36.9974 29.7776 36.9974C29.9299 37.0014 30.0808 36.9691 30.2181 36.9031C30.3553 36.8371 30.4748 36.7394 30.5668 36.618L37.2441 26.5796C37.5968 26.0802 37.1603 25.445 36.4586 25.445ZM34.9179 0.0241253L24.1814 1.67467C23.1234 1.83727 22.3379 2.81286 22.3379 3.9626V11.6784C21.9573 11.6002 21.5701 11.5591 21.1816 11.5555C18.6271 11.5555 16.5566 13.1078 16.5566 15.0243C16.5566 16.9408 18.6271 18.493 21.1816 18.493C23.7254 18.493 25.7871 16.9523 25.8066 15.0489V7.20227L33.9004 5.95786V9.36735C33.5198 9.28916 33.1326 9.24802 32.7441 9.2445C30.1896 9.2445 28.1191 10.7968 28.1191 12.7132C28.1191 14.6297 30.1896 16.182 32.7441 16.182C35.2879 16.182 37.3496 14.6413 37.3691 12.7378V2.31278C37.3691 0.905043 36.2129 -0.174605 34.9179 0.0241253Z" fill="white" /> </g> <defs> <clipPath id="clip0_192_561"> <rect width="37" height="37" fill="white" transform="translate(0.369141)" /> </clipPath> </defs> </svg> </span> <span><?php echo e(__('Icons')); ?></span></a> <a data-mdb-tab-init class="nav-link" id="v-tabs-upload-tab" href="#v-tabs-upload" role="tab" aria-controls="v-tabs-upload" aria-selected="false"> <span class="mb-2"><svg width="37" height="37" viewBox="0 0 37 37" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M29.2918 20.0416C28.883 20.0416 28.4908 20.2041 28.2017 20.4932C27.9126 20.7823 27.7502 21.1744 27.7502 21.5833V22.1691L25.4685 19.8875C24.6629 19.0882 23.574 18.6397 22.4391 18.6397C21.3043 18.6397 20.2154 19.0882 19.4097 19.8875L18.3306 20.9666L14.5072 17.1433C13.6903 16.3657 12.6057 15.932 11.4779 15.932C10.35 15.932 9.2654 16.3657 8.4485 17.1433L6.16683 19.425V10.7916C6.16683 10.3828 6.32925 9.99062 6.61837 9.70151C6.90749 9.41239 7.29962 9.24996 7.7085 9.24996H18.5002C18.909 9.24996 19.3012 9.08754 19.5903 8.79842C19.8794 8.5093 20.0418 8.11717 20.0418 7.7083C20.0418 7.29942 19.8794 6.90729 19.5903 6.61817C19.3012 6.32905 18.909 6.16663 18.5002 6.16663H7.7085C6.48187 6.16663 5.30548 6.6539 4.43813 7.52126C3.57077 8.38862 3.0835 9.565 3.0835 10.7916V29.2916C3.0835 30.5183 3.57077 31.6946 4.43813 32.562C5.30548 33.4294 6.48187 33.9166 7.7085 33.9166H26.2085C27.4351 33.9166 28.6115 33.4294 29.4789 32.562C30.3462 31.6946 30.8335 30.5183 30.8335 29.2916V21.5833C30.8335 21.1744 30.6711 20.7823 30.382 20.4932C30.0928 20.2041 29.7007 20.0416 29.2918 20.0416ZM7.7085 30.8333C7.29962 30.8333 6.90749 30.6709 6.61837 30.3818C6.32925 30.0926 6.16683 29.7005 6.16683 29.2916V23.7879L10.6377 19.317C10.8642 19.1012 11.165 18.9808 11.4779 18.9808C11.7907 18.9808 12.0916 19.1012 12.3181 19.317L17.2052 24.2041L23.8343 30.8333H7.7085ZM27.7502 29.2916C27.7479 29.5867 27.6506 29.8733 27.4727 30.1087L20.5197 23.125L21.5989 22.0458C21.7094 21.933 21.8414 21.8434 21.987 21.7822C22.1326 21.721 22.2889 21.6895 22.4468 21.6895C22.6048 21.6895 22.7611 21.721 22.9067 21.7822C23.0523 21.8434 23.1842 21.933 23.2947 22.0458L27.7502 26.532V29.2916ZM35.0114 6.61371L30.3864 1.98871C30.2398 1.84836 30.0669 1.73834 29.8777 1.66496C29.5023 1.51077 29.0813 1.51077 28.706 1.66496C28.5168 1.73834 28.3439 1.84836 28.1972 1.98871L23.5722 6.61371C23.2819 6.90401 23.1189 7.29775 23.1189 7.7083C23.1189 8.11884 23.2819 8.51258 23.5722 8.80288C23.8625 9.09318 24.2563 9.25627 24.6668 9.25627C25.0774 9.25627 25.4711 9.09318 25.7614 8.80288L27.7502 6.79871V15.4166C27.7502 15.8255 27.9126 16.2176 28.2017 16.5068C28.4908 16.7959 28.883 16.9583 29.2918 16.9583C29.7007 16.9583 30.0928 16.7959 30.382 16.5068C30.6711 16.2176 30.8335 15.8255 30.8335 15.4166V6.79871L32.8222 8.80288C32.9656 8.94738 33.1361 9.06207 33.3239 9.14034C33.5118 9.2186 33.7133 9.2589 33.9168 9.2589C34.1203 9.2589 34.3219 9.2186 34.5097 9.14034C34.6976 9.06207 34.8681 8.94738 35.0114 8.80288C35.1559 8.65956 35.2706 8.48905 35.3489 8.30118C35.4271 8.11332 35.4674 7.91181 35.4674 7.7083C35.4674 7.50478 35.4271 7.30327 35.3489 7.11541C35.2706 6.92754 35.1559 6.75703 35.0114 6.61371Z" fill="white" /> </svg> </span> <span><?php echo e(__('Upload Image')); ?></span> </a> <a data-mdb-tab-init class="nav-link" id="v-tabs-liberary-tab" href="#v-tabs-liberary" role="tab" aria-controls="v-tabs-liberary" aria-selected="false"> <span class="mb-2"><svg width="38" height="37" viewBox="0 0 38 37" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M29.0391 15.5353C29.0391 16.6746 28.0756 17.5981 26.887 17.5981C25.6999 17.5981 24.7363 16.6731 24.7363 15.5353C24.7363 14.396 25.6999 13.4741 26.887 13.4741C28.074 13.4741 29.0391 14.396 29.0391 15.5353Z" fill="white" /> <path fill-rule="evenodd" clip-rule="evenodd" d="M28.3057 8.52851C26.6715 8.31885 24.5841 8.31885 21.9494 8.31885H16.051C13.4147 8.31885 11.3273 8.31885 9.69466 8.52851C8.01425 8.74589 6.65141 9.20222 5.57841 10.2305C4.50541 11.2603 4.02904 12.5646 3.80241 14.1772C3.5835 15.7404 3.5835 17.7415 3.5835 20.2683V20.4225C3.5835 22.9493 3.5835 24.9503 3.80241 26.5167C4.02904 28.1277 4.50541 29.432 5.57841 30.4603C6.65141 31.4901 8.01425 31.9464 9.69466 32.1623C11.3288 32.375 13.4162 32.375 16.051 32.375H21.9494C24.5856 32.375 26.673 32.375 28.3057 32.1638C29.9861 31.948 31.3489 31.4916 32.4219 30.4618C33.4949 29.4335 33.9713 28.1293 34.1979 26.5182C34.4168 24.9519 34.4168 22.9508 34.4168 20.424V20.2698C34.4168 17.7415 34.4168 15.742 34.1979 14.1756C33.9713 12.5646 33.4949 11.2603 32.4219 10.2305C31.3489 9.20222 29.9861 8.74589 28.3057 8.52851ZM9.98141 10.5728C8.53841 10.7578 7.70746 11.1077 7.0985 11.6889C6.49262 12.2717 6.12879 13.0672 5.93454 14.4501C5.78037 15.5601 5.74491 16.9476 5.7372 18.7606L6.46179 18.1516C8.19616 16.6978 10.8077 16.7811 12.4357 18.3412L18.587 24.2381C18.8919 24.5256 19.2853 24.701 19.7029 24.7358C20.1205 24.7705 20.5375 24.6624 20.8856 24.4293L21.3142 24.141C22.3196 23.4687 23.5168 23.1425 24.7242 23.2121C25.9317 23.2816 27.0835 23.7431 28.005 24.5264L31.7158 27.73C31.8669 27.323 31.9825 26.8358 32.0658 26.2423C32.2631 24.8301 32.2662 22.9678 32.2662 20.3469C32.2662 17.7261 32.2631 15.8638 32.0658 14.4501C31.8715 13.0672 31.5077 12.2717 30.9003 11.6905C30.2944 11.1077 29.4619 10.7593 28.0189 10.5728C26.5451 10.3831 24.6026 10.3801 21.8677 10.3801H16.1327C13.3977 10.3801 11.4552 10.3831 9.98141 10.5728Z" fill="white" /> <path d="M26.8408 4.02359C25.5149 3.854 23.8283 3.854 21.724 3.854H16.9602C14.8574 3.854 13.1693 3.854 11.8434 4.02359C10.4713 4.20088 9.32743 4.5755 8.41939 5.44192C7.91825 5.92295 7.53609 6.51414 7.30322 7.16859C8.08022 6.814 8.95897 6.60434 9.94564 6.47484C11.6168 6.259 13.7536 6.259 16.4515 6.259H22.4856C25.1835 6.259 27.3187 6.259 28.9914 6.47484C29.8516 6.58738 30.6317 6.76159 31.3332 7.03909C31.0984 6.43567 30.7342 5.89103 30.2663 5.44346C29.3583 4.5755 28.2144 4.20088 26.8408 4.02513" fill="white" /> </svg> </span> <span><?php echo e(__('Media Library')); ?></span></a> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('afterAjax'); ?> <script> function sortlinks(){ var legnth= $('.order_link').length $('.order_link').each(function(index) { $(this).val(index + 1); }); } function sendForm(FormId, removeImg = 0) { sortlinks() $("#sortable").sortable("toArray"); var fd = new FormData(document.getElementById(FormId)); if (removeImg == 1) { fd.append('removeImage', true); } $.ajax({ method: "POST", processData: false, contentType: false, url: "<?php echo e(route('dashboard.link.store')); ?>", data: fd, success: function(result) { let imgInput = document.getElementById(`link-img-${FormId}`) if(imgInput){ imgInput.value = ''; } reloadIfram(); // previewRender() }, error: function(result) { console.log(result); } }); } // function sendForm(FormId) { // console.log(FormId) // var fd = new FormData(document.getElementById(FormId)); // $.ajax({ // method: "POST", // processData: false, // contentType: false, // url: "<?php echo e(route('dashboard.link.store')); ?>", // data: fd, // success: function(result) { // console.log(result); // }, // error: function(result) { // console.log(result); // } // }); // } </script> <?php $__env->stopSection(); ?> <?php $__env->startSection('js'); ?> <?php echo $__env->make('dashboard.sections.divider', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo $__env->make('dashboard.sections.link', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo $__env->make('dashboard.sections.title', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo $__env->make('dashboard.sections.text', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo $__env->make('dashboard.sections.geticon', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <script type="text/javascript"> $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') } }); </script> <script> $("body").on('click', '.delete-btn', function() { let parent = $(this).closest('.link-form'); let dataId = parent.attr('data-uuid') $('#confirm-delete').attr('deleted-element', dataId) // $("#deleteModal").modal('show'); new mdb.Modal($("#deleteModal")).show(); }); // Report when the sort order has changed function reportActivity(event) { var links = $("#sortable").sortable("toArray"); $.ajax({ method: "GET", // processData: false, // contentType: false, url: "<?php echo e(route('dashboard.link_sort')); ?>", data: { links: links }, success: function(result) { reloadIfram() }, error: function(result) {} }); }; $("body").on('click', '.lock_link_click', function() { var id = $(this).data('id'); var input = $(`.${id}`); let parent = $(this).closest('form').attr('id'); if (input.val() == 0) { // console.log($('.password_' + id).val()) if (!$('.password_' + id).val() == '') { input.val(1) $(this).html("<?php echo e(__('Unlock Link')); ?>"); } else { Toastify({ text: "<?php echo e(__('Password cant be empty')); ?>", duration: 3000, close: true, className: "add-success", style: { background: "#f44336", } }).showToast(); } } else { input.val(0) $(this).html("<?php echo e(__('Lock Link')); ?>"); } // console.log(parent) sendForm(parent) }) // delete button $("body").on('click', '#confirm-delete', function() { let deletedId = $(this).attr('deleted-element') $('#deleteModal .loading-screen').removeClass('d-none') let deletedelm = $(`div[data-uuid=${deletedId}]`) setTimeout(() => { deletedelm.remove() $('#deleteModal .loading-screen').addClass('d-none') $('#deleteModal').modal('hide'); // console.log(deletedelm.data('uuid')) $.ajax({ method: "GET", // processData: false, // contentType: false, url: "<?php echo e(route('dashboard.link_delete')); ?>", data: { "uuid": deletedelm.data('uuid'), }, success: function(result) { // previewRender() reloadIfram() }, error: function(result) {} }); }, 100); }) $("#widgetFieldInput").change(function() { this.form.submit(); }); $("body").on("change", ".onchange_store", function() { let form = $(this).closest('form').attr('id'); sendForm(form) }) // $('#from_store_links').submit(function(e) { // e.preventDefault(); // var fd = new FormData(this); // let form = $(this); // $.ajax({ // method: "POST", // processData: false, // contentType: false, // url: "<?php echo e(route('dashboard.link.store')); ?>", // data: fd, // success: function(result) { // console.log(result); // }, // error: function(result) { // console.log(result); // } // }); // }); Dropzone.options.myDropzone = { url: "<?php echo e(route('dashboard.upload-dropzone')); ?>", method: "POST", maxFilesize: 5, acceptedFiles: 'image/*', addRemoveLinks: true, acceptedFiles: ".jpeg,.jpg,.png,.pdf", headers: { 'X-CSRF-TOKEN': "<?php echo e(csrf_token()); ?>" }, success: function(file, response) { $.ajax({ method: "POST", // processData: false, // contentType: false, url: "<?php echo e(route('dashboard.upload_media')); ?>", data: { images: [file.dataURL] }, success: function(result) { // $(".dz-preview").fadeOut('slow'); // $(".dz-preview:hidden").remove(); // $("#image_upload").html(''); mediaRender() }, error: function(result) {} }); // $('#image_upload').append( // `<input type='hidden' value='${file.dataURL}' id='${file.upload.uuid}' name='images[]' />`) }, removedfile: function(file, data) { $("#" + file.upload.uuid).remove(); file.previewElement.remove(); } }; // $('form select').on('change', function(){ // $(this).closest('form').submit(); // }); // $("body").on('change', '#image_upload', function() { // //$('#form_upload_image'). // $(this).closest('form').submit(function(e) { // e.preventDefault(); // var fd = new FormData(this); // let form = $(this); // $.ajax({ // method: "POST", // processData: false, // contentType: false, // url: "<?php echo e(route('dashboard.upload_media')); ?>", // data: fd, // success: function(result) { // $(".dz-preview").fadeOut('slow'); // $(".dz-preview:hidden").remove(); // $("#image_upload").html(''); // mediaRender() // }, // error: function(result) {} // }); // }); // }); $("body").on('click', '#verification_resend', function() { $.ajax({ method: "POST", // processData: false, // contentType: false, headers: { Accept: "application/json; charset=utf-8", "Content-Type": "text/plain; charset=utf-8" }, url: "<?php echo e(route('verification.resend')); ?>", // data: fd, success: function(result) { Toastify({ text: 'Email Send Successfully', duration: 3000, close: true, className: "add-success", style: { background: "#FF8A2D", } }).showToast(); }, error: function(result) {} }); }); function mediaRender() { $.ajax({ method: "POST", // processData: false, // contentType: false, url: "<?php echo e(route('dashboard.media.render')); ?>", success: function(result) { //id v-tabs-liberary $('#v-tabs-liberary').html('') $('#v-tabs-liberary').append(result) }, error: function(result) {} }); } mediaRender() $("body").on('change', '.link_change_request', function() { // function mediaRender() { var url = $(this).val(); var uuid = $(this).data('uuid'); var before_link = $('.before-link-' + uuid).val(); var text = $('.title-' + uuid).val() if (text == '' && $(this).val() != '') { $.ajax({ method: "POST", // processData: false, // contentType: false, data: { url: url, before_link: before_link }, url: "<?php echo e(route('dashboard.getTitle')); ?>", success: function(result) { //id v-tabs-liberary $('.title-' + uuid).val(result) }, error: function(result) {} }); } // mediaRender() }) $("body").on('click', '.animation-btn', function() { let id = $(this).data('id'); // console.log("id" + id) // $(`#${id}`).modal('show'); new mdb.Modal($(`#${id}`)).show(); }) </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('dashboard.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/rwabteecom/project/resources/views/dashboard/pages/index.blade.php ENDPATH**/ ?>
SAVE
CANCEL