File "index.blade.php"
Full path: /home/qooetu/costes.qooetu.com/Modules/Reseller/Resources/views/users/index.blade.php
File
size: 2.91 B (2.91 KB bytes)
MIME-type: text/html
Charset: utf-8
Download Open Edit Advanced Editor &nnbsp; Back
@extends('layout.main')
@section('breadcrumb')
<ol class="breadcrumb pull-right">
<li><a href="<?=url('/home')?>"><span class="glyphicon glyphicon-home"></span> Home</a></li>
<li><a href="<?=url('/reseller/user/viewuser')?>">User Management</a></li>
<li><a href="<?=url('/reseller/user/index')?>">Users</a></li>
<li class="active">Index</li>
</ol>
@stop
@section('content')
<div class="row">
<div class="col-lg-12">
<div class="panel panel-info" data-sortable-id="index-1">
<div class="panel-heading">
<div class="panel-heading-btn">
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-repeat"></i></a>
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
</div>
<h4 class="panel-title">System Users</h4>
</div>
<div class="panel-body">
<div class="table-responsive">
<table id="user-datatable" class="table table-hover table-bordered" >
<thead>
<tr class="info">
<th>Name</th>
<th>Email</th>
<th>Telephone</th>
<th>Role</th>
<th>Status</th>
<th>Action</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
@stop
@push('scripts')
<script>
$(document).ready(function() {
$('#user-datatable').DataTable({
processing: true,
serverSide: true,
ajax: '<?=url("reseller/users/fetch_users")?>',
columns: [
//{data: 'id', name: 'users.id'},
{data: 'name', name: 'users.name'},
{data: 'email', name: 'users.email'},
{data: 'phone', name: 'users.phone'},
{data: 'display_name', name: 'roles.display_name'},
{data: 'status', name: 'users.status'},
//{data: 'branch_name', name: 'branches.name'},
{data: 'action', name: 'users.updated_at',searchable:false},
],
});
});
</script>
@endpush