Se crean las especificaciones de los documentos a requerir por nivel, a su vez permitir al alumno subirlos
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
<?php $__env->startSection('head'); ?>
|
||||
<?php echo $__env->make('layouts._partials.tablaStyle', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
|
||||
<?php $__env->stopSection(); ?>
|
||||
<?php $__env->startSection('title',"Inicio"); ?>
|
||||
|
||||
<?php $__env->startSection('content'); ?>
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="card shadow mb-4">
|
||||
<div class="card-header py-3">
|
||||
<div class="d-sm-flex align-items-center justify-content-between">
|
||||
<h6 class="m-0 font-weight-bold text-primary">Documentación</h6>
|
||||
<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('documentoTipo.create')): ?>
|
||||
<a href="<?php echo e(route('documentotipo.create')); ?>" class="d-sm-inline-block btn btn-sm btn-primary shadow-sm"><i class="fas fa-download fa-sm text-white-50"></i> Crear documentación</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<div class="container-fluid">
|
||||
<table id="tcont" class="table table-striped table-bordered nowrap table-hover" style="width:100%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<th>Nombre</th>
|
||||
<th>row</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__empty_1 = true; $__currentLoopData = $documentotipos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
|
||||
<tr style="width:100%">
|
||||
<td><?php echo e($row->id); ?></td>
|
||||
<td><a href="<?php echo e(route('documentotipo.show',$row->id)); ?>"><?php echo e($row->name); ?></a></td>
|
||||
<td class="row mx-auto">
|
||||
<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('documentoTipo.edit')): ?>
|
||||
<div class="col-sm-6 col-md-6"><a class="btn btn-primary" href="<?php echo e(route('documentotipo.edit',$row->id)); ?>">Edit</a></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('documentoTipo.destroy')): ?>
|
||||
<div class="col-sm-6 col-md-6">
|
||||
<form class="delete-form" action="<?php echo e(route('documentotipo.destroy',$row->id)); ?>" method="POST">
|
||||
<?php echo csrf_field(); ?>
|
||||
<?php echo method_field('DELETE'); ?>
|
||||
<input type="submit" value="DELETE" class="btn btn-danger">
|
||||
</form>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
|
||||
<p>Sin documentación.</p>
|
||||
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
|
||||
<?php $__env->startSection('scripts'); ?>
|
||||
<?php echo $__env->make('layouts._partials.tablaScript', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
|
||||
<?php echo $__env->make('layouts._partials.delete', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php echo $__env->make('layouts.landing', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\proyectos\primeros\sistemaEducativo\resources\views/documento/index.blade.php ENDPATH**/ ?>
|
||||
Reference in New Issue
Block a user