<?php if(session()->has('admin_userid')): ?>
   
<?php else: ?> 
 <script>window.location.href="admin";</script>
<?php endif; ?>


<?php $__env->startSection('content'); ?>


<div class="container-fluid">
    <div class="row bg-title">
        <div class="col-lg-4 col-md-8 col-sm-4 col-xs-12">
            <h4 class="page-title"><i class="fa fa-plus"></i>&nbsp; Add Manage Parking Providers </h4> </div>
    </div>

    <div class="col-sm-12">
        <div class="white-box">
            <form action="add_provider_submit" method="post"  enctype="multipart/form-data" >
                <?php echo csrf_field(); ?>
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group" style="padding-top:8%;">
                            <div class="col-md-3" style="margin-top:2%;">
                                <label for="location_name">Name</label>
                            </div>
                            <div class="col-md-9">
                                <input type="text" class="form-control" name="provider_name" id="provider_name">
                            </div>
                        </div>
                        <div class="form-group" style="padding-top:8%;">
                            <div class="col-md-3" style="margin-top:2%;">
                                <label for="ratings">Rating</label>
                            </div>
                            <div class="rating col-md-9">
                                <input id="provider_ratings5" name="provider_rating" type="radio" value="5" class="radio-btn hide" />
                                <label for="provider_ratings5" >☆</label>
                                <input id="provider_ratings4" name="provider_rating" type="radio" value="4" class="radio-btn hide" />
                                <label for="provider_ratings4" >☆</label>
                                <input id="provider_ratings3" name="provider_rating" type="radio" value="3" class="radio-btn hide" />
                                <label for="provider_ratings3" >☆</label>
                                <input id="provider_ratings2" name="provider_rating" type="radio" value="2" class="radio-btn hide" />
                                <label for="provider_ratings2" >☆</label>
                                <input id="provider_ratings1" name="provider_rating" type="radio" value="1" class="radio-btn hide" />
                                <label for="provider_ratings1" >☆</label>
                                <div class="clear"></div>
                            </div>
                        </div>
                        <div class="form-group" style="padding-top:8%;">
                            <div class="col-md-3" style="margin-top:2%;">
                                <label for="description">Description</label>
                            </div>
                            <div class="col-md-9">
                                <input type="text" class="form-control" name="description" id="description">
                            </div>
                        </div>
                        <div class="form-group" style="padding-top:8%;">
                            <div class="col-md-3" style="margin-top:2%;">
                                <label for="description">Booking Process</label>
                            </div>
                            <div class="radios">
                                <div style="margin-left: 1%; padding-top:3%;">
                                    <input type="radio" id="cover" name="available" value="1">
                                    <label for="cover">Cover Cancel</label>
                                </div>
                                <div style="margin-left: 10%; padding-top:3%;">
                                    <input type="radio" id="booking" name="available" value="2">
                                    <label for="booking">Booking Cancel</label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group" style="padding-top:2%;">
                            <label for="returns">Return procedure</label>
                            <textarea class="summernote" id="summernote"  name="returns" required></textarea>
                        </div>
                        <div class="form-group" style="padding-top:0%;">
                            <label for="drop_off">Procedure</label>
                            <textarea class="summernote" id="summernote"  name="drop_off" required></textarea>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group" style="padding-top:8%;">
                            <div class="col-md-3" style="margin-top:2%;">
                                <label for="service_type">Service type</label>
                            </div>
                            <div class="col-md-9">
                                <select class="form-control" id="service_type" name="service_type">
                                    <option value="">- Select -</option>
                                    <option value="ParkingService">Parking Service</option>
                                    <option value="RidingService">Riding service</option>
                                    <option value="Park&RidingService">Park & Riding Service</option>
                                    <option value="Meet&GreetService">Meet & Greet Service</option>
                                  </select>
                            </div>
                        </div>
                        <div class="form-group" style="padding-top:8%;">
                            <div class="col-md-3" style="margin-top:2%;">
                                <label for="logo">Logo</label>
                            </div>
                            <div class="col-md-9">
                                <input type="file" class="form-control" name="logo" id="logo" accept=".jpg,.png,.gif,.jpeg">
                            </div>
                        </div>
                        <div class="form-group" style="padding-top:8%;">
                            <div class="col-md-3" style="margin-top:2%;">
                                <label for="rate">Rate</label>
                            </div>
                            <div class="col-md-9">
                                <input type="text" class="form-control" name="rate" id="rate">
                            </div>
                        </div>
                        
                        <div class="form-group" style="padding-top:21.2%;">
                            <label for="overview">Overview</label>
                            <textarea class="summernote" id="summernote"  name="overview" required></textarea>
                        </div>
                        <button type="submit" class="btn btn-primary" style="float: right; margin-right: 1%;
                        margin-top: 60%;">Submit</button>
                    </div>
                </div>
            </form>
        </div>
    </div>

</div>
<style>
.txt-center {
    text-align: center;
}
.hide {
    display: none;
}

.clear {
    float: none;
    clear: both;
}

.rating {
    width: 140px;
    unicode-bidi: bidi-override;
    direction: rtl;
    text-align: center;
    position: relative;
    font-size: 30px;
}

.rating > label {
    float: right;
    display: inline;
    padding: 0;
    margin: 0;
    position: relative;
    /* width: 1.0em; */
    cursor: pointer;
    color: #ffbe00;
}

.rating > label:hover,
.rating > label:hover ~ label,
.rating > input.radio-btn:checked ~ label {
    color: transparent;
}

.rating > label:hover:before,
.rating > label:hover ~ label:before,
.rating > input.radio-btn:checked ~ label:before,
.rating > input.radio-btn:checked ~ label:before {
    content: "\2605";
    position: absolute;
    left: 0;
    color: #ffbe00;
}

.radios {
    display: flex
}

</style>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('backend.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/chitr171/public_html/indigoparking/resources/views/backend/add-parking-provider.blade.php ENDPATH**/ ?>