<?php
session_start();
include("../../php_crud/my_class.php");
$obj = new my_class();
?>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"></script>

<script src="module/mobiledatalog/js/well_raw_data.js" type="text/javascript"></script>

<div id="cover-spin"></div>
<div class="table-header"><i class="fas fa-th-list"></i> Well Raw Data Log</div>
<div class="row-fluid">
	<table border="0" style="width: 100%;">
		<tr>
			<td style="width: 20%;">&nbsp;&nbsp;</td>
			<td style="width: 20%;">
				<div class="control-group">
					<label class="control-label" for="form-field-1"><b>From Date<font color="#FF0000"></font></b></label>
					<div class="controls">
						<div class="row-fluid input-prepend" style="width: 80% !important;">
							<span class="add-on">
								<i class="icon-calendar"></i>
							</span>
							<input id="from_date" name="from_date" class="date-picker" type="text" data-date-format="dd-mm-yyyy" placeholder="dd-mm-yyyy" />
						</div>
					</div> 
				</div>
			</td>
			<td style="width: 20%;">
				<div class="control-group">
					<label class="control-label" for="form-field-1"><b>To Date<font color="#FF0000"></font></b></label>
					<div class="controls">
						<div class="row-fluid input-prepend" style="width: 80% !important;">
							<span class="add-on">
								<i class="icon-calendar"></i>
							</span>
							<input id="to_date" name="to_date" class="date-picker" type="text" data-date-format="dd-mm-yyyy" placeholder="dd-mm-yyyy"/>
						</div>
					</div> 
				</div>
			</td>
			<td style="width: 20%; padding-left: 15px; padding-top: 16px;">
				<div class="control-group">
					<div class="controls">
						<button class="btn btn-small btn-success" type="button" onclick="load_well_raw_data_log()">
							<i class="icon-search"></i> Search
						</button>
					</div> 
				</div>
			</td>
			<td style="width: 20%;">&nbsp;&nbsp;</td>
		</tr>
	</table>
</div>

<div style="margin-top: 10px;" id="well_raw_data_log_holder"></div>

<script type="text/javascript">
	load_well_raw_data_log();
	$('.date-picker').datepicker().next().on(ace.click_event, function(){
	 $(this).prev().focus();
	
	});
	$(".date-picker").attr("autocomplete", "off");
	
</script>