Viewing file: 9479489d3ce6411fd174031bd2e2a262.php (4.1 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('title'); ?> <?php echo e(trans('customer.developer')); ?> <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-css'); ?> <style> .c-pointer { cursor: pointer; } </style>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?> <!-- Main content --> <section class="content"> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-header"> <h2 class="card-title"><?php echo e(trans('customer.developer')); ?></h2> <div class="float-right">
</div> </div> <!-- /.card-header --> <div class="card-body"> <div class="row"> <div class="col-lg-12 cpl-md-12"> <a target="_blank" href="https://documenter.getpostman.com/view/15947626/UzJLPGYF" class="btn btn-primary float-right"><?php echo e(trans('API Documentation')); ?></a> </div> <div class="col-md-6 mx-auto"> <form action="<?php echo e(route('customer.authorization.token.store')); ?>" method="post" id="apiForm"> <?php echo csrf_field(); ?> <div class="form-group"> <label for="">Access Key</label> <div class="input-group date" id="reservationdatetime" data-target-input="nearest"> <input class="form-control" type="text" value="<?php echo e(isset($authorization_token->access_token)?$authorization_token->access_token:''); ?>" id="accessKey"> <div class="input-group-append" data-target="#reservationdatetime" data-toggle="datetimepicker"> <div class="input-group-text"> <i onclick="myFunction()" onmouseout="outFunc()" class="fa fa-copy c-pointer"></i> <i class="fas fa-sync-alt ml-3 c-pointer" id="refresh"></i> </div> </div> </div> </div>
</form> </div> </div> </div> </div> <!-- /.card-body --> </div> <!-- /.card --> </div> <!-- /.col --> </div> <!-- /.row --> </section> <!-- /.content --> <?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-scripts'); ?> <script> $(document).on('click', '#refresh', function (e){ $('#apiForm').submit(); }) function myFunction() { var copyText = document.getElementById("accessKey"); copyText.select(); copyText.setSelectionRange(0, 99999); navigator.clipboard.writeText(copyText.value);
var tooltip = document.getElementById("keyToolTip"); tooltip.innerHTML = "Copied: " + copyText.value; }
function outFunc() { var tooltip = document.getElementById("keyToolTip"); tooltip.innerHTML = "Copy to clipboard"; } </script> <?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.customer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/picotech/domains/sender.picotech.app/public_html/resources/views/customer/api/index.blade.php ENDPATH**/ ?>
|