Edit File: 8458071d329eab46bfceca38836d495fc90f3d10.php
<?php $__env->startSection('css'); ?> <style> .permissionCard{ border: 0; margin-bottom: 13px; } .text-white { color: #ffff !important; } .role-title{ background: #2d7679; padding: 12px; border-radius: 7px; /* margin-bottom: 10px; */ } .list-unstyled{ padding: 10px; height: 300px; /* scroll-behavior: smooth; */ overflow: auto; } .selectP{ margin-right: 10px; margin-top: 11px; } </style> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <section id="multiple-column-form"> <div class="row match-height"> <div class="col-12"> <div class="card"> <div class="card-header"> <h4 class="card-title"><?php echo e(awtTrans('اضافه صلاحية ')); ?></h4> </div> <div class="card-content"> <div class="card-body"> <form action="<?php echo e(route('admin.roles.update',$role->id)); ?>" method="post"> <?php echo method_field('put'); ?> <?php echo csrf_field(); ?> <div class="container mt-2"> <div style="display: flex; flex-direction: row-reverse;"> <p style="margin-right: 10px;"><?php echo e(awtTrans('تحديد الكل')); ?></p> <input type="checkbox" id="checkedAll"> </div> </div> <div class="container mt-2"> <div class="row"> <div class="col-sm-6"> <div class="form-group"> <label><?php echo e(awtTrans('الاسم بالعربيه')); ?></label> <input type="text" name="name_ar" class="form-control" value="<?php echo e($role->getTranslations('name')['ar']); ?>" placeholder="Enter ..." required> </div> </div> <div class="col-sm-6"> <div class="form-group"> <label><?php echo e(awtTrans('الاسم بالانجليزيه')); ?></label> <input type="text" name="name_en" class="form-control" value="<?php echo e($role->getTranslations('name')['en']); ?>" placeholder="Enter ..." required> </div> </div> </div> </div> <div class="container mt-2"> <div class="row"> <?php echo $html; ?> </div> </div> <div class="col-12 d-flex justify-content-center mt-3"> <button type="submit" class="btn btn-primary mr-1 mb-1 submit_button"><?php echo e(awtTrans('تعديل')); ?></button> <a href="<?php echo e(url()->previous()); ?>" type="reset" class="btn btn-outline-warning mr-1 mb-1"><?php echo e(awtTrans(' رجوع ')); ?></a> </div> </form> </div> </div> </div> </div> </div> </section> <?php $__env->stopSection(); ?> <?php $__env->startSection('js'); ?> <script> $(function () { $('.roles-parent').change(function () { var childClass = '.' + $(this).attr('id'); if (this.checked) { $(childClass).prop("checked", true); } else { $(childClass).prop("checked", false); } }); }); $("#checkedAll").change(function () { if (this.checked) { $("input[type=checkbox]").each(function () { this.checked = true }) } else { $("input[type=checkbox]").each(function () { this.checked = false; }) } }); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('admin.layout.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/wwineerc/public_html/resources/views/admin/roles/edit.blade.php ENDPATH**/ ?>
Back to File Manager