<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<div class="content-wrapper">
            <!-- Main content -->
	<section class="content pt-3">
		<div class="container-fluid">
			<div class="row">
				<div class="col-md-12">
					<div class="card card-outline card-primary">
						<div class="card-header">
							<div class="d-flex align-items-center">
								
								<div>
									<h3 class="card-title">Uplod Holidays</h3>
								</div>
							</div>
						</div>
						<form class="upload_form" id="upload_form" method="post" action="<?php echo base_url();?>setting/import_excel" enctype="multipart/form-data">
						 <?php if($this->session->flashdata('message')): ?>
							<p style="color:green"><?= $this->session->flashdata('message') ?></p>
						<?php elseif($this->session->flashdata('message')): ?>
							<p style="color:red"><?= $this->session->flashdata('message') ?></p>
						<?php endif; ?>
						<div class="card-body">
							<div class="row">
								<div class="col-md-8">
									<div class="form-group row">
										<label class="col-md-6 col-form-label">Upload Holiday Files</label>
										<div class="col-md-6">
											<input type="file" name="holiday_file" accept=".xlsx, .xls" required /><br/><br/>
										</div>
									</div>
								</div>
								
								
								<div class="col-md-12">
									<button class="btn btn-primary">Upload File</button>
									<a class="btn btn-danger" href="<?php echo site_url();?>setting/list">Cancel</a>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div><!-- /.container-fluid -->
	</section>
	<!-- /.content -->
</div>