Viewing file: e3e4e3603617f7a9f84b0d5aa83d07d114ebcdd6.php (3.84 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> Page <?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 app('translator')->get('admin.list'); ?></h2>
<div class="float-right">
<a class="btn btn-primary" href="<?php echo e(route('admin.page.create')); ?>"><?php echo app('translator')->get('admin.new_page'); ?></a>
</div>
</div>
<!-- /.card-header -->
<div class="card-body table-body">
<table id="pages" class="table table-striped table-bordered dt-responsive nowrap">
<thead>
<tr>
<th><?php echo app('translator')->get('admin.name'); ?></th>
<th><?php echo app('translator')->get('admin.title'); ?></th>
<th><?php echo app('translator')->get('admin.description'); ?></th>
<th><?php echo app('translator')->get('admin.position'); ?></th>
<th><?php echo app('translator')->get('admin.status'); ?></th>
<th><?php echo app('translator')->get('admin.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 src="<?php echo e(asset('js/readmore.min.js')); ?>"></script>
<script>
"use strict";
$('#pages').DataTable({
processing: true,
serverSide: true,
responsive:true,
ajax:'<?php echo e(route('admin.page.get.all')); ?>',
columns: [
{ "data": "name" },
{ "data": "title" },
{ "data": "description" },
{ "data": "position" },
{ "data": "status" },
{ "data": "action" },
],
fnInitComplete: function(oSettings, json) {
$(".show-more").css('overflow', 'hidden').readmore({collapsedHeight: 20,moreLink: '<a href="#">More</a>',lessLink: '<a href="#">Less</a>'});
}
});
</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/gateway.picotech.app/public_html/resources/views/admin/createPage/index.blade.php ENDPATH**/ ?>
|