<!--Import file modal start--> 

<div class="modal fade" id="importFile" tabindex="-1" role="dialog" aria-labelledby="importFile" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header" style="padding: 20px;">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="myModalLabel">File Import</h4>
            </div>
            <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">

                <div class="table-responsive col-sm-12">
                    <div class="form-group col-sm-9" >
                            <span for="user_info_file" style="float:left;font-size: 18px">Select CSV File</span><br><br>
                            <script>
                                $(":file").filestyle({icon: false});</script>
                            <input type="file" 
                                   class="filestyle"
                                   id="import_file_name"
                                   name="import_file_name"
                                   onchange="getImportFile(this)"
                                   data-icon="false" >
                        </div>
                        <div class="col-sm-12" id="import_file_error" style="margin-top: -10px; color:red"><?php echo form_error('import_file_name'); ?></div>
                        <div class="checkbox col-sm-8 col-sm-offset-2" >
                            <button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>  &nbsp;&nbsp;&nbsp;
                            <button type="button"
                                    onclick="return importFile(import_file_name.value)"
                                    class="btn btn-success">Submit
                            </button>
                        </div>
                </div>
            </div>
            <div class="modal-footer">
                <!--<button type="button" class="btn btn-primary">Save changes</button>-->
            </div>
        </div>
    </div>
</div>

<!--Import file modal end-->