@extends('BaseSistemaWeb') @section('CSS') {{ HTML::style('bootstrap-select/css/bootstrap-select.min.css') }} {{ HTML::style('DataTables/dataTables.bootstrap.min.css') }} {{ HTML::style('DataTables/responsive.dataTables.min.css') }} @stop @section('Contenido')
Inteligencia Artificial
@if (Session::has('message'))
{{ Session::get('message') }}
@endif
Elementos de Estrategias
Nombre
Tipo
Contenido generado
Fecha
{{ HTML::linkRoute('SysWebIAEstrategiasGenerar', 'Generar', array(), array('class' => 'btn btn-primary')) }}
@stop @section('JS') {{ HTML::script('bootstrap-select/js/bootstrap-select.min.js') }} {{ HTML::script('bootstrap-select/js/i18n/defaults-es_CL.min.js') }} {{ HTML::script('DataTables/jquery.dataTables.min.js') }} {{ HTML::script('DataTables/dataTables.bootstrap.min.js') }} {{ HTML::script('DataTables/dataTables.responsive.min.js') }} @stop @section('JSOr') var tabla = $("#tblIAMktYVentas").DataTable({ "processing": true, "serverSide": true, "pageLength": 10, "ordering": true, "searching": true, "ajax": "{{ URL::route('SysWebIAEstrategias') }}", preDrawCallback: function (settings) { $.isLoading("hide"); }, columns: [ {data: "identificador", name: "identificador", "searchable": true}, {data: "nombre", name: "nombre", "searchable": false}, {data: "contenidoGenerado", name: "contenidoGenerado", "searchable": false, "orderable": false}, {data: "fechaGenerado", name: "fechaGenerado", "searchable": false} ], "language": { "url": "{{ asset('DataTables/Spanish.json') }}" }, "fnDrawCallback": function( oSettings ) { $(".tooltips").tooltip(); $(".table-responsive").find("[title]").tooltip(); }, "order": [[ 2, "desc" ]], autoWidth: false, responsive: { "details": { "type": "column", "target": 0 } }, //initComplete: function(){ // var input = $(".dataTables_filter input").unbind(), // self = this.api(), // $searchButton = $('
').html('
').click(function(){ // self.search(input.val().trim()).draw(); // }), // $clearButton = $('
').html('
').click(function(){ // input.val(''); // $searchButton.click(); // }); // $(".dataTables_filter").append($searchButton, $clearButton); // $("body").tooltip({selector: "[data-toggle='tooltip']"}); //} }).on("processing.dt", function(e, settings, processing) { if (processing) { $.isLoading(); } else{ $.isLoading("hide"); window.scrollTo(0, 0); } }); @stop