File: /var/www/vhost/disk-apps/alq-cali.bikenow.co/resources/views/sizing/sizing.blade.php
@extends('modules.head') @section('contenido')
<div class="box-header">
<a class="auxiliar-black" href="{{url('/sizing/add')}}"> <button class="btn btnAdd pull-right">
<i class="fa fa-plus"></i> {{ Lang::get('messages.screen_sizing_tag1')}}</button></a>
</div>
<!-- LISTADO Productos-->
<div class="box">
<div class="box-header">
<h3 class="box-title">{{ Lang::get('messages.screen_sizing_tag2')}} </h3>
</div>
<!-- /.box-header -->
<div class="box-body table-responsive ">
<table id="example2" class="table table-bordered table-hover dataTable" role="grid" aria-describedby="example2_info">
<thead>
<tr role="row">
<th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Browser: activate to sort column ascending">{{ Lang::get('messages.screen_sizing_tag3')}}</th>
<th class="sorting" tabindex="0" aria-controls="example2" rowspan="1" colspan="1" aria-label="Browser: activate to sort column ascending">{{ Lang::get('messages.screen_sizing_tag4')}}</th>
<th>{{ Lang::get('messages.screen_sizing_tag5')}}</th>
</tr>
</thead>
</table>
</div>
<!-- /.box-body -->
</div>
<script src="{{ asset('js/jQuery/jquery-2.2.3.min.js') }}"></script>
<script src="{{ asset('js/sizing.js') . '?v=' . time() }}"></script>
<script src="{{ asset('js/bootstrap/js/bootstrap.min.js') }}"></script>
<script type="text/javascript">
$(document).ready(function() {
_table = $('#example2').DataTable({
'paging': true,
'lengthChange': true,
'searching': true,
'ordering': false,
'info': true,
'autoWidth': true,
responsive: true,
processing: true,
serverSide: true,
language: {
url: window.DATATABLES_LANGUAGE_URL,
},
ajax: "{{ route('sizing.table') }}",
columns: [{
data: 'name',
name: 'name'
},
{
data: 'abbreviation',
name: 'abbreviation'
},
{
data: 'actions',
name: 'actions'
},
]
});
var info = '<i class="fa fa-info-circle" id="btn-info-busqueda"></i><div class="dropdown-menu" id="menuBusqueda" style="left: 50%; padding: 5px; background-color: #f9fb8f;"><p data-toggle="modal">Busqueda por Nit, Nombre, Teléfono</p></div>';
$('#example2_filter').append(info);
$('#btn-info-busqueda').on('click', function() {
$('#menuBusqueda').toggle();
});
});
</script>
@endsection