<div class="container-fluid">
	<!-- ============================================================== -->
	<!-- Start Page Content -->
	<!-- ============================================================== -->
	<div class="row ">
		<div class="col-12">
			<div class="card card-outline-info">
				<div class="card-header">
					<h6 class="m-b-0 text-white">Team</h6>
				</div>

				<div class="card-body">
					<button type="button" class="btn btn-info open" data-toggle="collapse" data-target="#add">Add New</button>
					<div id="add" class="collapse">
						<div class="row justify-content-center">
							<div class="col col-md-6">
								<form id="addForm" method="post">
									<div class="form-group">
										<label class="control-label">Name</label>
										<input type="text" name="name" class="form-control" autocomplete="off" placeholder="Type full name">
									</div>
									<div class="form-group">
										<label class="control-label">Designation</label>
										<input type="text" name="designation" class="form-control" autocomplete="off" placeholder="Type designation">
									</div>
									<div class="form-group">
										<label class="control-label">Serial</label>
										<select class="form-control" name="serial">
											<option value="">choose an option</option>
											<option value="1">1</option>
											<option value="2">2</option>
											<option value="3">3</option>
											<option value="4">4</option>
											<option value="5">5</option>
											<option value="6">6</option>
											<option value="7">7</option>
											<option value="8">8</option>
											<option value="9">9</option>
											<option value="10">10</option>
											<option value="11">11</option>
											<option value="12">12</option>
											<option value="13">13</option>
											<option value="14">14</option>
											<option value="15">15</option>
											<option value="16">16</option>
											<option value="17">17</option>
											<option value="18">18</option>
											<option value="19">19</option>
											<option value="20">20</option>
											<option value="21">21</option>
											<option value="22">22</option>
											<option value="23">23</option>
											<option value="24">24</option>
											<option value="25">25</option>
											<option value="26">26</option>
											<option value="27">27</option>
											<option value="28">28</option>
											<option value="29">29</option>
											<option value="30">30</option>
											<option value="31">31</option>
											<option value="32">32</option>
											<option value="33">33</option>
											<option value="34">34</option>
											<option value="35">35</option>
											<option value="36">36</option>
											<option value="37">37</option>
											<option value="38">38</option>
											<option value="39">39</option>
											<option value="40">40</option>
										</select>
									</div>

									<?php
									$csrf = array(
										'name' => $this->security->get_csrf_token_name(),
										'hash' => $this->security->get_csrf_hash()
									);
									?>
									<input type="hidden" name="<?= $csrf['name']; ?>" id="token_key" value="<?= $csrf['hash']; ?>" class="form-control login_style" readonly>


									<div class="submit-btn-group text-xs-right">
										<button type="submit" class="btn btn-info submit_button">Submit</button>
										<button type="reset" class="btn btn-inverse reset_button">Cancel</button>
									</div>
								</form>
							</div>
						</div>
					</div>

					<div class="table-responsive">
						<br>
						<table id="teamTable" class="table table-bordered table-striped">
							<thead>
							<tr>
								<th>#</th>
								<th>Name</th>
								<th>Designation</th>
								<th>Serial</th>
								<th width="10%">Status</th>
								<th width="10%">Publish</th>
								<th width="10%">Action</th>
							</tr>
							</thead>
							<tbody>

							</tbody>
						</table>
					</div>


					<div class="modal fade" id="full_width_modal_parent" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel1" data-backdrop="static" data-keyboard="false">
						<div class="modal-dialog modal-lg full_width_modal" role="document">
							<div class="modal-content full_width_modal_content">
								<div class="modal-header">
									<h4 class="modal-title" id="exampleModalLabel1">View Team</h4>
									<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
								</div>
								<div class="modal-body">
									<div class="row">
										<div class="col-md-6">
											<!-- <form id="updateLogo"> -->
											<div class="form-group">
												<label>Picture</label>
												<input type="file" class="form-control" id="upload" accept="image/*">
											</div>
											<div id="upload-demo" style="width:100%;margin: 0 auto;background: #e6efec;padding-top: 10px;">
											</div>
											<div class="form-group">
												<button type="button" class="btn btn-info upload-result">Add Picture</button>
											</div>
											<!-- </form> -->
										</div>
										<div class="col-md-6">
											<div id="modal_image"></div>
											<form id="updateForm" method="post">
												<div class="form-group">
													<label class="control-label">Name</label>
													<input type="text" name="name" id="name" class="form-control" autocomplete="off" placeholder="Type full name">
												</div>
												<div class="form-group">
													<label class="control-label">Designation</label>
													<input type="text" name="designation" id="designation" class="form-control" autocomplete="off" placeholder="Type designation">
												</div>
												<div class="form-group">
													<label class="control-label">Serial</label>
													<select class="form-control" name="serial" id="serial">
														<option value="">choose an option</option>
														<option value="1">1</option>
														<option value="2">2</option>
														<option value="3">3</option>
														<option value="4">4</option>
														<option value="5">5</option>
														<option value="6">6</option>
														<option value="7">7</option>
														<option value="8">8</option>
														<option value="9">9</option>
														<option value="10">10</option>
														<option value="11">11</option>
														<option value="12">12</option>
														<option value="13">13</option>
														<option value="14">14</option>
														<option value="15">15</option>
														<option value="16">16</option>
														<option value="17">17</option>
														<option value="18">18</option>
														<option value="19">19</option>
														<option value="20">20</option>
														<option value="21">21</option>
														<option value="22">22</option>
														<option value="23">23</option>
														<option value="24">24</option>
														<option value="25">25</option>
														<option value="26">26</option>
														<option value="27">27</option>
														<option value="28">28</option>
														<option value="29">29</option>
														<option value="30">30</option>
														<option value="31">31</option>
														<option value="32">32</option>
														<option value="33">33</option>
														<option value="34">34</option>
														<option value="35">35</option>
														<option value="36">36</option>
														<option value="37">37</option>
														<option value="38">38</option>
														<option value="39">39</option>
														<option value="40">40</option>
													</select>
												</div>
												<div class="form-group">
													<label class="control-label">Status</label>
													<select class="form-control" name="status" id="modal_status">
														<option value="">-select a status-</option>
														<option value="Active">Active</option>
														<option value="De-Active">De-Active</option>
													</select>
												</div>
												<?php
												$csrf = array(
													'name' => $this->security->get_csrf_token_name(),
													'hash' => $this->security->get_csrf_hash()
												);
												?>
												<input type="hidden" name="<?= $csrf['name']; ?>" value="<?= $csrf['hash']; ?>" class="form-control login_style" readonly>
												<input type="hidden" name="team_id" id="modal_team_id" readonly>

												<div class="form-group">
													<button type="submit" class="btn btn-info update_button_2">Update</button> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
												</div>
											</form>
										</div>
									</div>
									<input type="hidden" id="modal_team_id_picture" name="team_id" readonly>

								</div>
								<div class="modal-footer">
									<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
								</div>
							</div>

						</div>
					</div>
				</div>
			</div>
		</div>
		<!-- ============================================================== -->
	</div>

</div>
