<?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>
        <?php
            $get_location = DB::table('add_location')->get();
        ?>
    <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>
                        <div class="form-group" style="padding-top:8%;">
                            <div class="col-md-3">
                                <label for="location">Location</label>
                            </div>
                            <div class="col-md-9">
                                
                                  <div class="inline field">
                                    <label>Select Topics</label>
                                
                                    <select name="skills" multiple="" class="label ui selection fluid dropdown">
                                      <option value="">All</option>
                                      <option value="1">Change Methodology</option>
                                      <option value="2">Cognitive Computing & AI</option>
                                      <option value="3">Connectivity & Collaboration</option>
                                      <option value="4">Culture in Action</option>
                                      <option value="5">Future of Work</option>
                                      <option value="6">HR Transformation</option>
                                      <option value="7">Human-centered Design</option>
                                      <option value="8">Machine Learning & AI</option>
                                      <option value="9">Operational Effectiveness</option>
                                      <option value="10">Operational Excellence</option>
                                      <option value="11">Organizational Change</option>
                                
                                    </select>
                                  </div>
                            </div>
                        </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
}

.ui.dropdown {
  max-width: 800px;
}

@media  only screen and (max-width: 767px) {
    .ui.selection.dropdown .menu {
/*      max-height: 8.01428571rem; /* + 1.335714285 to 9.349999995rem */
/*      max-height: 9.349999995rem; /* Adds a half */
        max-height: 16.02857142rem; /* Double size */
    }
}
@media  only screen and (min-width: 768px) {
    .ui.selection.dropdown .menu {
/*         max-height: 10.68571429rem; /* + 1.3357142863 to 12.0214285763rem */
      max-height: 12.0214285763rem;
    }
}
@media  only screen and (min-width: 992px) {
    .ui.selection.dropdown .menu {
      max-height: 16.02857143rem; /* + 1.3357142858 to 17.3642857158rem */
    }
}
@media  only screen and (min-width: 1920px) {
    .ui.selection.dropdown .menu {
        max-height: 21.37142857rem; /* + 1.3357142856 to 22.7071428556rem */
    }
}

</style>

<script>
        $('.label.ui.dropdown')
        .dropdown();

        $('.no.label.ui.dropdown')
        .dropdown({
        useLabels: false
        });

        $('.ui.button').on('click', function () {
        $('.ui.dropdown')
            .dropdown('restore defaults')
        })

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