<?php $__env->startSection('content'); ?>
  <div class="card mb-3 mt-4">
    <div class="container-fluid">
        <div class="card-header titulo-eliminar">
            <div class="title">
                <i class="fas fa-users-cog"></i> <strong>Perfil</strong>
            </div>
            <strong class="text-muted">Desarrollador</strong>
        </div>
        <div class="card-body">
            <form action="updateDesarrollador/<?php echo e(Auth::user()->id); ?>"  class="form-inline mt-2" method="post" id="form-datos">
                <?php echo e(csrf_field()); ?>

                <div class="container">
                    <div class="image-profile-container">
                        <div class="card col-md-4" style="">
                            <img id="image-profile-img" class="card-img-top" src="<?php echo e(Auth::user()->getPicture()); ?>" alt="Card image cap">
                            <div class="card-body">
                                <input id="img-file" class="image-profile-input" type="file" onchange="cargarIMG(this.files[0])" accept="image/jpeg">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="form-group mt-2">
                    <label for="inputPassword6" class="form-label-title">Old Password:</label>
                    <input type="password" id="password" name="password" class="form-control mx-sm-3"  disabled>
                </div>
                <div class="form-group mt-2">
                    <label for="inputPassword6" class="form-label-title">New Password:</label>
                    <input type="password" id="password" name="password" class="form-control mx-sm-3" placeholder="7-20 caracters" disabled>
                </div><hr>
                <div class="buttons-container">
                    <button type="button" id="button-editar" onclick="editar()" class="btn btn-info btn-sm">Editar</button>
                    <button type="submit" class="btn btn-primary btn-sm">Guardar</button>
                </div>
            </form>
        </div>
        <div class="card-footer small text-muted">Updated yesterday at 11:59 PM</div>
    </div>
  </div>
  
  <div class="card mb-3">
        <div class="card-header">
        <i class="fas fa-ruler"></i> Aplicaciones del desarrollador
        </div>
        <div class="card-body">
            <div class="container">
                <div class="row">
                    <?php if( $apps == '[]'): ?>
                        <small>Este desarrollador no tiene requerimientos</small>
                    <?php endif; ?>
                    <?php $__currentLoopData = $apps; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $app): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <a href="../aplicacion/<?php echo e($app->app_id); ?>" class="col-md-4 list-group-item list-group-item-action flex-column align-items-start">
                            <div class="d-flex w-100 justify-content-between">
                            <h5 class="mb-1"><?php echo e($app->app_name); ?></h5>
                            </div>
                        </a>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
        </div>
    </div>
  <div class="card mb-3">
        <div class="card-header">
        <i class="fas fa-ruler"></i> Requerimientos del desarrollador
        </div>
        <div class="card-body">
            <div class="container">
                <div class="row">
                    <?php if( $requerimientos_desarrollador == '[]'): ?>
                        <small>Este desarrollador no tiene requerimientos</small>
                    <?php endif; ?>
                    <?php $__currentLoopData = $requerimientos_desarrollador; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $requerimiento): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <a href="../requerimiento/<?php echo e($requerimiento->requerimiento_id); ?>" class="col-md-4 list-group-item list-group-item-action flex-column align-items-start">
                            <div class="d-flex w-100 justify-content-between">
                            <h5 class="mb-1"><?php echo e($requerimiento->requerimiento_titulo); ?></h5>
                            </div>
                            <p class="mb-1"><?php echo e($requerimiento->requerimiento_descripcion); ?>.</p>
                            <small class="text-muted"><?php echo e($requerimiento->updated_at); ?></small>
                        </a>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
        </div>
    </div>
	<link  media="all" rel="stylesheet" type="text/css" href="<?php echo e(asset('css/desarrollador.css')); ?>">
	<link  media="all" rel="stylesheet" type="text/css" href="<?php echo e(asset('css/cliente.css')); ?>">
	<link  media="all" rel="stylesheet" type="text/css" href="<?php echo e(asset('css/general.css')); ?>">
    <script  src="<?php echo e(asset('js/admin.js')); ?>"> </script>  
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.dashboard', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>