ok
Direktori : /home2/selectio/www/limpiar.in.net/resources/views/frontend/partials/ |
Current File : /home2/selectio/www/limpiar.in.net/resources/views/frontend/partials/modal.blade.php |
<script> function confirm_modal(delete_url) { jQuery('#confirm-delete').modal('show', {backdrop: 'static'}); document.getElementById('delete_link').setAttribute('href' , delete_url); } </script> <div class="modal fade" id="confirm-delete" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> {{-- <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> --}} <h4 class="modal-title" id="myModalLabel">{{ translate('Confirmation')}}</h4> </div> <div class="modal-body"> <p>{{ translate('Delete confirmation message')}}</p> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary rounded-0" data-dismiss="modal">{{ translate('Cancel')}}</button> <a id="delete_link" class="btn btn-danger btn-ok rounded-0">{{ translate('Delete')}}</a> </div> </div> </div> </div> <!-- Login Modal --> @include('frontend.partials.login_modal') <!-- Bid Modal --> <div class="modal fade" id="bid_for_product" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLabel">{{ translate('Bid For Product') }} <small id="min_bid_amount"></small> </h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> </button> </div> <div class="modal-body"> <form class="form-horizontal" action="{{ route('auction_product_bids.store') }}" method="POST" enctype="multipart/form-data"> @csrf <input type="hidden" name="product_id" id="bid_product_id" value=""> <div class="form-group"> <label class="form-label"> {{translate('Place Bid Price')}} <span class="text-danger">*</span> </label> <div class="form-group"> <input type="number" step="0.01" class="form-control form-control-sm" name="amount" id="bid_amount" min="" placeholder="{{ translate('Enter Amount') }}" required> </div> </div> <div class="form-group text-right"> <button type="submit" class="btn btn-sm btn-primary transition-3d-hover mr-1">{{ translate('Submit') }}</button> </div> </form> </div> </div> </div> </div>