You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
3.1 KiB

@extends('layouts.app')
@extends('layouts.head')
@extends('layouts.preloader')
@extends('layouts.scripts')
@extends('layouts.topbar')
@extends('layouts.lefsidebar')
{{-- {{dd($roles)}} --}}
@section('content')
<div id="add-group" class="modal fade in" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
@include('grupos.forms.nuevo')
</div>
<div id="edit-gruop" class="modal fade in" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
@include('grupos.forms.editar')
</div>
<div id="detalle-group" class="modal fade in" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
@include('grupos.forms.detalle')
</div>
<div id="add-users" class="modal fade in" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
@include('grupos.forms.addusers')
</div>
<div id="main-wrapper">
<div class="page-wrapper">
<div class="page-breadcrumb border-bottom">
<div class="row">
<div class="col-lg-3 col-md-4 col-xs-12 justify-content-start d-flex align-items-center">
<h5 class="font-weight-medium text-uppercase mb-0">Grupos de Trabajo</h5>
</div>
<div class="col-lg-9 col-md-8 col-xs-12 d-flex justify-content-start justify-content-md-end align-self-center" >
<nav aria-label="breadcrumb" class="mt-2">
<ol class="breadcrumb mb-0 p-0">
<li class="breadcrumb-item"><a >Administración</a></li>
<li class="breadcrumb-item active" aria-current="page">Grupos de Trabajo</li>
</ol>
</nav>
@if ( Auth::user()->fk_id_roles == 1 || Auth::user()->fk_id_roles == 2 || Auth::user()->fk_id_roles == 3 )
<button id="agregar_grupo"class="btn btn-success text-white ms-3 d-none d-md-block" data-bs-toggle="modal" data-bs-target="#add-group"><i class="mdi mdi-account-plus"></i> Nuevo Grupo </button>
@endif
</div>
</div>
</div>
<div class="page-content container-fluid">
<!-- ============================================================== -->
<!-- Start Page Content -->
<!-- ============================================================== -->
<div class="card">
<div class="row no-gutters">
<div class="col-lg-12 col-md-8">
<div class="card-body">
<div class="row mb-4">
<div class="col-md-12">
<h3 class="font-weight-medium">
Usuarios / Grupos
</h3>
</div>
<div class="d-flex justify-content-end">
</div>
</div>
<div class="table-responsive">
<table id="grupos" class="table table-striped table-bordered display" style="width:100%">
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@endsection
@section('script')
<script src="js/administracion/grupo_trabajo.js"></script>
@endsection