<div class="md-padding" style="width: 100%; padding: 3px 0px 0px 0px;"
	id="popupContainer" ng-controller="reportsController">
	<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;">Login Reports</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">
					<input type="text" ng-model="searchId" id="searchId"
						placeholder="Employee ID" class="form-control" min-length="5"
						ng-blur="validateEmpId()" />
				</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:120px;background: cadetblue;"
							ng-click="generateReport()"> <i
							class="fa fa-file-pdf-o fa-2x"
							style="margin-top: 5px; font-size: 1.5em; float: left"></i>
						Generate</md-button></label>
				</div>
			</div>
		</div>
		<div class="form-group">
			<div class="form-inline col-lg-12">
				<div class="wrapper col-lg-12" id="pdfReportPreview"
					style="height: 415px; background-color: #888; overflow: scroll;">
					<p id="reportMsg"
						style="color: #fff; font-size: 1.35em; opacity: 0.5;text-align:center;vertical-align:middle;position:relative;top:50%;">
						{{reportMsg}}</p>
				</div> 
			</div>
		</div>
	</div>
</div>
