@extends('usuarios.funcionarios.master.layout2')
{{-- @extends('usuarios.funcionarios.admin.menu') --}}
{{-- @extends('usuarios.funcionarios.usuario.menu') --}}
<meta name="csrf-token" content="{{ csrf_token() }}">

@section('conteudo')
<script src="{{asset('js/jquery.dataTables.min.js') }}"></script>

  <div class="container-fluid">
    <br>
    <br>
    <div class="row">

        <nav class="col-12 table-responsive">
            <table class="table table-striped table-hover" id="table">
                <thead>

                    <tr class="danger">
                     <th>Id</th>
                      <th>SO</th>
                      <th>Versão</th>
                      <th>Browser</th>
                      <th>Versão do browser</th>
                      {{-- <th>Mais</th> --}}

                  </tr>

               </thead>
                <tfoot></tfoot>
            </table>
        </nav>


     <br>
    </div>

  </div>

<script type="text/javascript">
    $(function() {

        $('#table').DataTable({

        processing: false,
        serverSide: false,
        ajax: '{{ url('showusers') }}',
        columns: [
                { data: 'id', name: 'id' },
                { data: 'plataform', name: 'plataform' },
                { data: 'versaoPlataform', name: 'versaoPlataform' },
                { data: 'browser', name: 'browser' },
                { data: 'versaoBrowser', name: 'versaoBrowser' },

                ],


        });
    });
  </script>
@endsection
