Viewing file: 0c5b9d45ef1afaf1f477d81670aacb5b.php (3.73 KB) -rwxrwxrwx Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> <?php echo e(trans('admin.notices')); ?> <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-css'); ?> <link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-bs4/css/dataTables.bootstrap4.min.css')); ?>"> <link rel="stylesheet" href="<?php echo e(asset('plugins/datatables-responsive/css/responsive.bootstrap4.min.css')); ?>"> <?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?> <!-- Main content --> <section class="content"> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-header"> <h2 class="card-title"><?php echo e(trans('admin.notices')); ?>
<i data-toggle="tooltip" data-placement="right" class="fa fa-question-circle alert-tooltip" title="Admin can create notice for users according to user type or for all system users. So that whenever any user login their account a notice board will popup."></i> </h2> <div class="float-right"> <a class="btn btn-primary" href="<?php echo e(route('admin.notice.create')); ?>"><?php echo app('translator')->get('admin.form.button.new'); ?></a> </div> </div> <!-- /.card-header --> <div class="card-body table-body"> <table id="plans" class="table table-striped table-bordered dt-responsive nowrap"> <thead> <tr> <th><?php echo app('translator')->get('admin.table.title'); ?></th> <th><?php echo e(trans('admin.table.description')); ?></th> <th><?php echo e(trans('customer.type')); ?></th> <th><?php echo app('translator')->get('admin.table.status'); ?></th> <th><?php echo app('translator')->get('admin.table.action'); ?></th> </tr> </thead>
</table> </div> <!-- /.card-body --> </div> <!-- /.card --> </div> <!-- /.col --> </div> <!-- /.row --> </section> <!-- /.content --> <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-scripts'); ?> <script src="<?php echo e(asset('plugins/datatables/jquery.dataTables.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/datatables-bs4/js/dataTables.bootstrap4.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/datatables-responsive/js/dataTables.responsive.min.js')); ?>"></script> <script src="<?php echo e(asset('plugins/datatables-responsive/js/responsive.bootstrap4.min.js')); ?>"></script>
<script> "use strict"; $('#plans').DataTable({ processing: true, serverSide: true, responsive:true, ajax:'<?php echo e(route('admin.get.all.notice')); ?>', columns: [ { "data": "title" }, { "data": "description" }, { "data": "for" }, { "data": "status" }, { "data": "action" }, ] }); </script> <?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/test.sms.picotech.app/public_html/resources/views/admin/notice/index.blade.php ENDPATH**/ ?>
|