<div id="idle-timeout-dialog" data-backdrop="static" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title">Your session is expiring soon</h4>
				<button type="button" class="close keepLiveCloseBtn" data-dismiss="modal" aria-hidden="true">×</button>
			</div>
			<div class="modal-body">
				<p>
					<i class="fa fa-warning font-red"></i> You session will be locked in
					<span id="idle-timeout-counter"></span> seconds.
				</p>
				<p> Do you want to continue your session? </p>
			</div>
			<div class="modal-footer text-center">
				<button id="idle-timeout-dialog-keepalive" type="button" class="btn btn-success keepLiveCloseBtn" data-dismiss="modal">Yes, Keep Working</button>
			</div>
		</div>
	</div>
</div>
</div>

<script src="<?php echo base_url(); ?>assets/backend/plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap tether Core JavaScript -->
<script src="<?php echo base_url(); ?>assets/backend/plugins/bootstrap/js/popper.min.js"></script>
<script src="<?php echo base_url(); ?>assets/backend/plugins/bootstrap/js/bootstrap.min.js"></script>
<!-- slimscrollbar scrollbar JavaScript -->
<script src="<?php echo base_url(); ?>assets/backend/js/jquery.slimscroll.js"></script>
<!--Wave Effects -->
<script src="<?php echo base_url(); ?>assets/backend/js/waves.js"></script>
<!--Menu sidebar -->
<script src="<?php echo base_url(); ?>assets/backend/js/sidebarmenu.js"></script>
<script src="<?php echo base_url(); ?>assets/backend/plugins/select2/dist/js/select2.full.min.js" type="text/javascript"></script>
<!--stickey kit -->
<script src="<?php echo base_url(); ?>assets/backend/plugins/sticky-kit-master/dist/sticky-kit.min.js"></script>
<script src="<?php echo base_url(); ?>assets/backend/plugins/sparkline/jquery.sparkline.min.js"></script>
<script src="<?php echo base_url(); ?>assets/backend/plugins/switchery/dist/switchery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/summernote@0.8.18/dist/summernote.min.js"></script>
<!--Custom JavaScript -->
<script src="<?php echo base_url(); ?>assets/backend/js/custom.min.js"></script>
<!--Sweetalertjs -->
<script src="<?php echo base_url(); ?>assets/backend/plugins/sweetalert/sweetalert.min.js"></script>
<!-- This is data table -->
<script src="<?php echo base_url(); ?>assets/backend/plugins/datatables/jquery.dataTables.min.js"></script>
<!-- start - This is for export functionality only -->
<script src="https://cdn.datatables.net/buttons/1.2.2/js/dataTables.buttons.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.2.2/js/buttons.flash.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/2.5.0/jszip.min.js"></script>
<!-- <script src="https://cdn.rawgit.com/bpampuch/pdfmake/0.1.18/build/pdfmake.min.js"></script>
	<script src="https://cdn.rawgit.com/bpampuch/pdfmake/0.1.18/build/vfs_fonts.js"></script> -->
<script src="https://cdn.datatables.net/buttons/1.2.2/js/buttons.html5.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.2.2/js/buttons.print.min.js"></script>
<!-- end - This is for export functionality only -->
<!-- ============================================================== -->


<!-- Style switcher -->
<!-- ============================================================== -->

<!--<script src="<?php /*echo base_url(); */?>assets/backend/plugins/styleswitcher/jQuery.style.switcher.js"></script>-->
<script src="<?php echo base_url() ?>assets/backend/js/croppie.js"></script>
<script src="<?php echo base_url(); ?>assets/backend/js/jquery.validate.min.js"></script>
<script src="<?php echo base_url(); ?>assets/backend/js/jquery-additional-methods.js"></script>
<script src="<?php echo base_url();?>assets/backend/plugins/taginput/bootstrap-tagsinput.js"></script>
<script src="<?php echo base_url(); ?>assets/backend/plugins/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="https://cdn.ckeditor.com/4.16.0/standard/ckeditor.js"></script>

<script>
	$('.datepicker').datepicker({
		format: 'dd/mm/yyyy',
		todayHighlight: 'TRUE',
		autoclose: true,
	}).on('changeDate', function(ev) {
		$(this).datepicker('hide');
	});

	$(".select2").select2();
	$('.tag').tagsinput({
		trimValue: true,
		confirmKeys: [13, 44]
	});
</script>

<?php echo $this->layouts->print_includes(); ?>
