Sid Gifari File Manager
🏠 Root
/
home2
/
meumer25
/
painelbrasileirissimo.meumercado.app
/
storage
/
framework
/
views
/
Editing: 1878bb3a7c20b0c848e592e4dada5351813671ba.php
<?php $__env->startSection('title', translate('Update Notification')); ?> <?php $__env->startPush('css_or_js'); ?> <?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?> <div class="content container-fluid"> <!-- Page Header --> <div class="page-header"> <div class="row align-items-center"> <div class="col-sm mb-2 mb-sm-0"> <h1 class="page-header-title"><i class="tio-notifications"></i> <?php echo e(\App\CentralLogics\translate('notification')); ?> <?php echo e(\App\CentralLogics\translate('update')); ?></h1> </div> </div> </div> <!-- End Page Header --> <div class="row gx-2 gx-lg-3"> <div class="col-sm-12 col-lg-12 mb-3 mb-lg-2"> <form action="<?php echo e(route('admin.notification.update',[$notification['id']])); ?>" method="post" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="form-group"> <label class="input-label" for="exampleFormControlInput1"><?php echo e(\App\CentralLogics\translate('title')); ?></label> <input type="text" value="<?php echo e($notification['title']); ?>" name="title" class="form-control" placeholder="<?php echo e(translate('New notification')); ?>" required> </div> <div class="form-group"> <label class="input-label" for="exampleFormControlInput1"><?php echo e(\App\CentralLogics\translate('description')); ?></label> <textarea name="description" class="form-control" required><?php echo e($notification['description']); ?></textarea> </div> <div class="form-group"> <label><?php echo e(\App\CentralLogics\translate('image')); ?></label><small style="color: red">* ( <?php echo e(\App\CentralLogics\translate('ratio')); ?> 3:1 )</small> <div class="custom-file"> <input type="file" name="image" id="customFileEg1" class="custom-file-input" accept=".jpg, .png, .jpeg, .gif, .bmp, .tif, .tiff|image/*"> <label class="custom-file-label" for="customFileEg1"><?php echo e(\App\CentralLogics\translate('choose')); ?> <?php echo e(\App\CentralLogics\translate('file')); ?></label> </div> <hr> <center> <img style="width: 30%;border: 1px solid; border-radius: 10px;" id="viewer" src="<?php echo e(asset('storage/app/public/notification')); ?>/<?php echo e($notification['image']); ?>" alt="image"/> </center> </div> <hr> <button type="submit" class="btn btn-primary"><?php echo e(\App\CentralLogics\translate('submit')); ?></button> </form> </div> <!-- End Table --> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('script_2'); ?> <script> function readURL(input) { if (input.files && input.files[0]) { var reader = new FileReader(); reader.onload = function (e) { $('#viewer').attr('src', e.target.result); } reader.readAsDataURL(input.files[0]); } } $("#customFileEg1").change(function () { readURL(this); }); </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layouts.admin.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/meumer25/api.meumercado.app/resources/views/admin-views/notification/edit.blade.php ENDPATH**/ ?>
Save
Cancel