<div class="md-padding" style="width: 100%; padding: 3px 0px 0px 0px;"
	id="popupContainer" ng-controller="employeesController"
	ng-init="setPageDefaults();getEmployeeDetailsForAutocomplete();">
	<div class="container-fluid mainDivHeaderClass">
		<div class="row">
			<div class="col-lg-12">
				<p align="center" class="col-xs-11"
					style="vertical-align: middle; font-weight: bold; font-size: 30px;">Employees
					Login Details</p>
				<p align="right" class="col-xs-1"
					style="vertical-align: middle; font-weight: bold; font-size: 1.5em; margin-top: 8px; cursor: pointer;">
					<i class="fa fa-refresh" aria-hidden="true"
						ng-click="refreshPage()"></i>
				</p>
			</div>
			<div class="clearfix"></div>
		</div>
	</div>
	<br />
	<div class="form-horizontal">
		<div class="form-group">
			<div class="form-inline col-lg-12" style="margin-left: 3%;">
				<div class="form-group col-lg-2 col-md-4 col-sm-6 col-xs-12"
					style="width: 23%;">
					<input type="text" ng-model="searchId" id="searchId"
						placeholder="Employee ID/Name/Email ID" class="form-control" min-length="5" ng-keyup="autoComplete(searchId);" ng-blur="hideUlComponent()"/>
					<ul class="list-group autoComplete-dropdown" ng-model="hidethis" ng-hide="hidethis">
						<li class="list-group-item" ng-repeat="employeeData in filterEmployees" ng-click="fillTextbox(employeeData);">{{employeeData}}</li>
					</ul>	
				</div>
				<div class="form-group col-lg-1"></div>
				<div class="form-group col-lg-4">
					<label class="" for="fromDate">From Date: <md-datepicker
							ng-model="fromDate" md-placeholder="Enter date"
							md-min-date="minDate" md-max-date="maxDate"
							onkeydown="return false"
							ng-change="validateDates(fromDate, 'FromDate')"></md-datepicker></label>
				</div>
				<div class="form-group col-lg-4">
					<label class="" for="toDate">To Date: <md-datepicker
							ng-model="toDate" md-placeholder="Enter date"
							md-min-date="minDate" md-max-date="maxDate"
							onkeydown="return false"
							ng-change="validateDates(toDate, 'ToDate')"></md-datepicker></label>
				</div>
				<div class="form-group col-lg-1">
					<label class="" for="submitBtn"><md-button
							class="md-raised md-primary"
							style="width:100px;background: cadetblue;"
							ng-click="getEmployeeData('click');"> <i
							class="fa fa-search fa-2x"
							style="margin-top: 5px; font-size: 1.5em; float: left"></i>
						Search</md-button></label>
				</div>
			</div>
		</div>
		<div class="form-group">
			<div class="form-inline col-lg-12" ng-show="isVisible"
				style="margin-left: 3%;">
				<label class="control-label" for="avgHrs"> Average Login
					hours:&nbsp;&nbsp; </label>{{avgLoginHrs}}
			</div>
		</div>
		<div class="form-group">
			<div class="form-inline col-lg-12">
				<div id="gridTest" ui-grid="gridOptions" ui-grid-pagination
					class="grid" style="width: 99%; height: 362px; margin-left: 5px;">
					<div class="watermark" ng-show="!gridOptions.data.length">Search
						by Employee ID/Name/Email ID</div>
				</div>
			</div>
		</div>
	</div>
</div>
